PDA

View Full Version : spamassassin redirect to mail account


boilerchicken
2nd November 2007, 16:27
Hi,

I am running ispconfig version 2.2.18 and am trying to reconfigure spam assassin to redirect spam to an email address i.e. spam@domain.local.

I have setup a mailbox called spam@domain.local and looked in the spamassassin.rc file and can not see anyway of doing this.

I am running centos 5 (howto forge perfect setup) and have Maildir support enabled with ispconfig.

Thanks

till
3rd November 2007, 18:54
You can redirect mails to any account or folder with procmail Here is a large list of procmail recipes:

http://lipas.uwasa.fi/~ts/info/proctips.html

boilerchicken
5th November 2007, 15:46
Thanks for the info.

Managed to get it working by changing the line /dev/null in .procmail.master to !spam@domain.name

Thanks