[Mimedefang] Filter viruses but not spam using relay check?

David F. Skoll dfs at roaringpenguin.com
Tue Dec 24 12:44:00 EST 2002


On Tue, 24 Dec 2002, John Barton wrote:

> I would like to filter all incoming mail for viruses and spam, and would
> not like to filter outgoing email for spam, but I still want to check it
> for viruses. Is there a way to scan for viruses, then check the ip and
> ACCEPT_AND_NO_MORE_FILTERING based on the relay IP?

No.  You have to make that decision just before you call the spam_assassin
functions.  In other words, if you want to examine the message body, you
cannot use ACCEPT_AND_NO_MORE_FILTERING.  Just skip the spam check in
filter_end.

--
David.



More information about the MIMEDefang mailing list