Spamassassin rules based on IP

Gottschalk, David dgottsc at
Tue Apr 15 13:06:45 IST 2008

I'm not sure I'm following you.

Are you saying create spamassassin rules that filter based on IP?

David Gottschalk
UTS Email Team
david.gottschalk at

-----Original Message-----
From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Hugo van der Kooij
Sent: Tuesday, April 15, 2008 1:27 AM
To: MailScanner discussion
Subject: Re: Spamassassin rules based on IP

Hash: SHA1

Gottschalk, David wrote:
| Hi All,
|         Does anyone know if it is possible to have MailScanner use
different spamassassin rules based on IP? For example, I'd like one IP
subnet to use certain .cf files, and another use different .cf files.
I'd searched, but can't seem to find a method to do this.

You got to do this the other way around. You have 1 config with rules
files and for (almost) each decision you can use a rule file and decide
differently based on Sender IP, Sender and/or Recipient.


- --
hvdkooij at     

        A: Yes.
        >Q: Are you sure?
        >>A: Because it reverses the logical flow of conversation.
        >>>Q: Why is top posting frowned upon?

Bored? Click on and rate those images.

Version: GnuPG v1.4.7 (GNU/Linux)

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website!

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.  If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).

More information about the MailScanner mailing list