Koozali.org: home of the SME Server

Disable scanning outgoing email?

penguinzrool

Disable scanning outgoing email?
« on: December 19, 2006, 11:34:02 PM »
Hi guys,

After upgrading to SME 7 I've been having problems with emails timing uot when sending large attachments. On SME 6 + contribs there was an option to disable virus scanning of outgoing email, but I can't find such an option in SME 7 - any ideas?

Thanks,
Chris.

penguinzrool

Disable scanning outgoing email?
« Reply #1 on: December 28, 2006, 01:22:43 PM »
D'oh, was worrying that what sounds simple in practise might not actually be do-able! Is the email system in SME 7 so different that the same command that the disable outgoing scanning option in SME 6 doesn't work any more?

Looks like a server upgrade might be on the cards!

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Disable virus scanning of outbound mail
« Reply #2 on: December 28, 2006, 11:55:12 PM »
Quote from: "penguinzrool"
Hi guys,

After upgrading to SME 7 I've been having problems with emails timing uot when sending large attachments. On SME 6 + contribs there was an option to disable virus scanning of outgoing email, but I can't find such an option in SME 7 - any ideas?


I strongly advise against disabling outbound virus scanning. Otherwise a virus on an internal machine will spread outside your network.

Quote from: "penguinzrool"
D'oh, was worrying that what sounds simple in practise might not actually be do-able! Is the email system in SME 7 so different that the same command that the disable outgoing scanning option in SME 6 doesn't work any more?


Yes, the front-end to the mail system in SME7 is very different from SME6+contribs. SME7.0 used the same configuration on internal and external connections and spam scanning is a real time sink, probably even more than virus scanning in most cases.

SME7.1 allows you to change the options for internal and external mail - see bug 1893. Spam scanning is disabled by default for internal connections, but virus scanning is enabled (if enabled in the panel).
............

penguinzrool

Disable scanning outgoing email?
« Reply #3 on: December 29, 2006, 04:40:56 AM »
Thanks for the reply! I'm aware that disabling outgoing scanning does have its disadvantages, but I do have antivirus software on all of the network computers as well. The problem is that with the current setup it is impossible to send attachments larger than about 4MB as the SMTP connection times out.

From what you've said, though, would it be relatively straightforward to disable outgoing spam scanning on SME 7.0? Anything that reduces the processor drain must be a good thing!

Cheers,
Chris.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Disable scanning outgoing email?
« Reply #4 on: December 29, 2006, 06:01:20 AM »
Quote from: "penguinzrool"
Thanks for the reply! I'm aware that disabling outgoing scanning does have its disadvantages, but I do have antivirus software on all of the network computers as well. The problem is that with the current setup it is impossible to send attachments larger than about 4MB as the SMTP connection times out.


Do you have pattern scanning enabled? If so, and you haven't applied the available updates, you will see this problem.

Quote from: "penguinzrool"

From what you've said, though, would it be relatively straightforward to disable outgoing spam scanning on SME 7.0?


No, it's not straight-forward with 7.0, but is easy/done for you in 7.1
............

penguinzrool

Disable scanning outgoing email?
« Reply #5 on: December 29, 2006, 02:17:14 PM »
Pattern scanning? I'm afraid I haven't even heard of that, let alone know whether it's enabled or not!

The server is up to the date with all of the packages released through yum, though, so if there was a bug in an earlier version it should have been ironed out. That said, Clam is complaining that it is currently version 0.88.6 and not 0.88.7 - would this update solve the problem?

Many thanks,
Chris.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Disable scanning outgoing email?
« Reply #6 on: December 29, 2006, 10:10:37 PM »
Quote from: "penguinzrool"
Pattern scanning? I'm afraid I haven't even heard of that, let alone know whether it's enabled or not!

Sorry - "Executable content blocking" - it's called "pattern scanning" under the covers.

Quote from: "penguinzrool"

The server is up to the date with all of the packages released through yum, though, so if there was a bug in an earlier version it should have been ironed out.

Good.

Quote from: "penguinzrool"

That said, Clam is complaining that it is currently version 0.88.6 and not 0.88.7 - would this update solve the problem?

0.88.7 is included in SME7.1

Maybe you're just out of CPU or RAM for the workload.
............

penguinzrool

Disable scanning outgoing email?
« Reply #7 on: December 30, 2006, 02:48:43 AM »
Thanks again for the replies. I did think that the content scanning might be increasing the workload so have disabled it and the machine does seem a little more responsive.

The specs are very modest - its a 500MHz VIA C3 processor with 512MB of RAM doing software RAID which won't help. The upside to the low power chip though is that the server uses little energy and is near silent.

From what you've said I'll investigate upgrading to SME 7.1, at least then I can disable outgoing antispam, and a new version of Clam is always a good thing.

Thanks for all the help!
Chris.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Disable scanning outgoing email?
« Reply #8 on: December 30, 2006, 10:07:17 AM »
Quote from: "penguinzrool"
Thanks again for the replies. I did think that the content scanning might be increasing the workload so have disabled it and the machine does seem a little more responsive.


I don't think you'll notice pattern scanning on most machines, and it blocks a lot of junk from even hitting the virus scanner. See comment #23 here:

http://bugs.contribs.org/show_bug.cgi?id=1532

The updated code was included in 7.0 final.

Quote from: "penguinzrool"

The specs are very modest - its a 500MHz VIA C3 processor with 512MB of RAM doing software RAID which won't help. The upside to the low power chip though is that the server uses little energy and is near silent.


Yep, though it confirms my suspicion that the box is underpowered for the workload.

Quote from: "penguinzrool"

From what you've said I'll investigate upgrading to SME 7.1, at least then I can disable outgoing antispam, and a new version of Clam is always a good thing.

Thanks for all the help!

No worries.
............

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Disable scanning outgoing email?
« Reply #9 on: December 30, 2006, 11:24:03 AM »
Quote from: "penguinzrool"
disable outgoing antispam,


After doing a yum update using smeupdates-testing on a 7.0 final box I'm unable to find how to disable out-going antispam.

Where should I be looking ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Disable scanning outgoing email?
« Reply #10 on: December 30, 2006, 12:02:59 PM »
Quote from: "william_syd"
Quote from: "penguinzrool"
disable outgoing antispam,


After doing a yum update using smeupdates-testing on a 7.0 final box I'm unable to find how to disable out-going antispam.

Where should I be looking ?


Compare /var/service/qpsmtpd/config/peers/0 and peers/local. The first is used for external connections and the second for local network connections, including webmail. You'll see that spamassassin is automatically disabled for local connections.

See bug 1893 for more details.
............