Forward to multiple email address

Johan Hendriks Johan at double-l.nl
Wed Sep 5 10:01:06 IST 2012


>Hey there,

>I would like to have a MailScanner instance to forward, to more than one email address, for example, if a spam is detected for xyz at domain.com then forward to >spam at domain.com, if a spam is detected for abc at otherdomain.pe, then forward to spam at otherdomain.pe

>I was reading the documentation, and it says it forwards only to one email address, let me know if you have some tricks for it please,

>Thanks in advance,

Set the following in MailScanner.conf
Spam Actions = /usr/local/etc/MailScanner/rules/spam.actions.rules

I use the following in /usr/local/etc/MailScanner/rules/spam.actions.rules

FromOrTo: domain1.nl     delete forward spam at domain1.nl
FromOrTo: otherdomain.nl delete forward spam at otherdomain.nl
FromOrTo: yourdomain.com delete forward spam at yourdomain.com
FromOrTo:    default     delete forward myspam at mydomain.com

regards
Johan Hendriks
Neuteboom Automatisering


More information about the MailScanner mailing list