Discussion:
Preventing outgoing mail from being scanned for spam
Jason Williams
2006-01-13 03:24:07 UTC
Permalink
Hello everyone.

I'm currently trying to find out how to stop mailscanner from scanning
outbound mail for spam. Here is my setup:

Using MS on our Company DMZ, acting as a mail gateway. Doing all the goodie
tricks; spam checking, virus checking. It then forwards all the mail to our
internal Lotus Domino server. Testing so far, everything works great.

Now, when email is sent from Lotus Notes client, it goes from the client,
to the domino server, back out through the mail gateway. I want to have
outbound mail scanned for viruses, but not spam.

Is it possible to setup a rule of some sort to stop outbound spam scanning,
but still leave it enabled for incoming?

Server specs:

FreeBSD 4.9
MS 4.28
Sendmail 8.12.11
Clamav 0.67

I appreciate the help.

Jason
Ugo Bellavance
2006-01-13 03:24:07 UTC
Permalink
-----Message d'origine-----
Envoy? : 30 mars, 2004 14:54
Objet : Preventing outgoing mail from being scanned for spam
Hello everyone.
I'm currently trying to find out how to stop mailscanner from scanning
Using MS on our Company DMZ, acting as a mail gateway. Doing
all the goodie
tricks; spam checking, virus checking. It then forwards all
the mail to our
internal Lotus Domino server. Testing so far, everything works great.
Now, when email is sent from Lotus Notes client, it goes from
the client,
to the domino server, back out through the mail gateway. I
want to have
outbound mail scanned for viruses, but not spam.
Is it possible to setup a rule of some sort to stop outbound
spam scanning,
but still leave it enabled for incoming?
Yes.

Please read the documentation in /etc/MailScanner/rules/* and

http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/230.html
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/207.html
FreeBSD 4.9
MS 4.28
Sendmail 8.12.11
Clamav 0.67
I appreciate the help.
Jason
Peter Bonivart
2006-01-13 03:24:07 UTC
Permalink
Post by Jason Williams
Hello everyone.
I'm currently trying to find out how to stop mailscanner from scanning
Using MS on our Company DMZ, acting as a mail gateway. Doing all the goodie
tricks; spam checking, virus checking. It then forwards all the mail to our
internal Lotus Domino server. Testing so far, everything works great.
Now, when email is sent from Lotus Notes client, it goes from the client,
to the domino server, back out through the mail gateway. I want to have
outbound mail scanned for viruses, but not spam.
Is it possible to setup a rule of some sort to stop outbound spam scanning,
but still leave it enabled for incoming?
I don't use it myself but you should be able to use a ruleset for "Spam
Checks" where you list your Domino servers IP address as no and default
as yes. Check the archives, this has been discussed before I think.

--
/Peter Bonivart

--Unix lovers do it in the Sun

Sun Fire V210, Solaris 9, Sendmail 8.12.10, MailScanner 4.25-14,
SpamAssassin 2.63 + DCC 1.2.30, ClamAV 0.67 + GMP 4.1.2, MailStats 0.25
Pete
2006-01-13 03:24:07 UTC
Permalink
Post by Peter Bonivart
Post by Jason Williams
Hello everyone.
I'm currently trying to find out how to stop mailscanner from scanning
Using MS on our Company DMZ, acting as a mail gateway. Doing all the goodie
tricks; spam checking, virus checking. It then forwards all the mail to our
internal Lotus Domino server. Testing so far, everything works great.
Now, when email is sent from Lotus Notes client, it goes from the client,
to the domino server, back out through the mail gateway. I want to have
outbound mail scanned for viruses, but not spam.
Is it possible to setup a rule of some sort to stop outbound spam scanning,
but still leave it enabled for incoming?
I don't use it myself but you should be able to use a ruleset for "Spam
Checks" where you list your Domino servers IP address as no and default
as yes. Check the archives, this has been discussed before I think.
--
Yeah just change the line Spam Checks = yes to Spam Checks =
/etc/MailScanner/rules/spam.rules
Then in side spam.rules have (the spaces are TABS not spaces) The IPs
should be the orinating Domino mails server/s

From: 128.99.99.12 no
From: 203.99.98.15 no
From: 203.99.98.20 no
FromOrTo: default yes

Loading...