
Originally Posted by
sk_kgs
Hi All,
I configured postfix , Dovecot with spammassassin. Everything is working fine.
I need all spam tagged mails has to move a particular mail id,,
Please give a idea, Anyone did before ?
Thanks in Advance
Sivakumar
Configure Sieve with dovecot, then make a file in users folder (depends on what folder format you are using e.g .Maildir etc)
touch /home/obama/.dovecot.sieve
vi /etc/obama/.dovecot.sieve and paste the following rule.
Code:
if header :contains "Subject" "***SPAM***" {
redirect "barakobama@whitehouse.com";
}
This rule will redirect all spams to barak Obama at white house 
for more information about sieve visit http://tools.ietf.org/html/rfc3028
Bookmarks