Chaminda Indrajith wrote:
Dear All,

I need to put the SPAM mails into users' Junk Mail folder. How can we do it in Postfix?

Mails are stored in Maildir format in the user's home directory. Junk mail folder is inside the Maildir as ".Junk". Amavisd-new tags the spam mails as "[SPAM]"
1. install procmail
2. configure postfix to use procmail as your local delivery agent
3. configure procmail to route spam to the junk folder - can be configured system wide and/or per-user

http://en.wikipedia.org/wiki/Procmail is as good a place as any to start for more info
google procmail to find lots of how-to.s


In theory, there is no difference between theory and practice.
In<fnord>  practice, there is.   .... Yogi Berra


Reply via email to