Page 1 of 1

How do I stop spamd from checking outgoing messages

Posted: Fri Jan 20, 2006 3:27 pm
by ah4279
I am wondering if there is a way to stop spamd from processing a message if it was originated inside my network. I thought the "-i 192.168.0.0/24" flag to spamass-milter would take care of it but it appears from my /var/log/maillog that all messages are from "127.0.0.1" no matter where they are coming from.

Does anyone have any thoughts on how to only scan incoming messages for spam?

spamd

Posted: Fri Jan 20, 2006 7:01 pm
by isyseng
Good Question.. I would like to know that as well.

Thanks,

Posted: Fri Jan 20, 2006 8:29 pm
by ScalixSupport
Hi. First, go into /etc/mail and copy sendmail.cf to something like sendmail.nosa.cf:

Code: Select all

cd /etc/mail
cp sendmail.cf sendmail.nosa.cf

Next, edit sendmail.nosa.cf and remove all of the Spamassassin milter lines that were added from Tech Note. Now, go into /var/opt/scalix/sys and edit the file unix.mapper and change the line that starts with "transport-service =" to:

Code: Select all

transport-service = /usr/sbin/sendmail -bs -C /etc/mail/sendmail.nosa.cf


which tells Scalix to hand the message off to sendmail using the sendmail.nosa.cf file (the one with No Spamassassin info) rather than the sendmail.cf file.

Thanks,
Rachel

Posted: Sun Jan 22, 2006 10:36 am
by ah4279
That's the ticket! Thanks for the assistance