Spam Actions

Joost Waversveld joost at WAVERSVELD.NL
Tue Aug 23 20:17:45 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

----- Bericht van vachanta at GMAIL.COM ---------
    Datum: Tue, 23 Aug 2005 19:32:34 +0100
      Van: Venkata Achanta <vachanta at GMAIL.COM>
Antwoorden aan:MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
Onderwerp: Spam Actions
      Aan: MAILSCANNER at JISCMAIL.AC.UK


> Hello List,
>
>   I currently have a MailScanner box which is a MX host (which delivers to
> exchange) for 3 domains say abc.com def.com ghi.com and my spam actions are
> set to "forward spam at abc.com".
>
> Currently all the spam for the three domains is hitting a single
> mailbox.Now I want these spam e-mails to be routed to 3 different mailboxes
> on the exchange based on the source/destination domain.
>
> The mailscanner manual says this can be file name of a rule set.
>
> I wanted to check if this is the correct way to do it.
>
> In MailScanner.conf
>
> spam actions = %rules-dir%/spamactions.rules
>
> spamactions.rules file will contain the following
>
> FromOrTo: *@abc.com forward spam at abc.com
> FromOrTo: *@def.com forward spam at def.com
> FromOrTo: *@ghi.com forward spam at ghi.com
>
> Is this the way to do it ?
>
> Thanks much,
> Venkata Achanta
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>


----- Einde bericht van vachanta at GMAIL.COM -----

Yes, that would the way to do it....

Perhaps it is an idea to also define an default action by adding

FromOrTo:       default                         store

to the file... just to be sure.....


Perhaps there is an way to do this with some kind of regular expression, but
that I don't know. Maybe someone else knows?

Joost Waversveld

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list