Ignore outbound mail

Julian Field mailscanner at ecs.soton.ac.uk
Mon Dec 15 09:27:45 GMT 2003


At 09:12 15/12/2003, you wrote:
>I know I've asked this in the distant past, at which point I don't think
>it was possible. However, I'd still very much like to have MailScanner
>completely ignore mail generated on localhost. The machine doesn't
>accept mail from users, but I do have a large daily mailing that goes
>out every night, and the mailing takes far too long and causes MS/SA to
>use far too many resources.
>
>I was planning on moving all mail clients off to another machine so I
>could run without MS on this server, but it just isn't practical. So I'd
>like to revisit this if I may.
>
>Van
>
>Currently running MailScanner 4.23-11, but I suppose I could upgrade
>easily enough if that would help.

Yet another ruleset application.

In MailScanner.conf set this:

Virus Scanning = /etc/MailScanner/rules/not.localhost.rules
Spam Checks = /etc/MailScanner/rules/not.localhost.rules

and then in /etc/MailScanner/rules/not.localhost.rules put this:

From:   127.0.0.1       no
From:   10.11.12.13     no
FromOrTo:       default         yes

(where the IP address of the server is 10.11.12.13).

Simple as that.

We should start collecting these together into a lovely great library of
example ruleset applications. Another job for a part-time FAQ
maintainer/author perhaps? Any offers? It would really help and requires no
great programming knowledge or anything like that.

Thanks folks!
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list