On 1-May-2009, at 11:23, jason_quick wrote:
I have been trying to find a way to automatically move messages that
have
been tagged as spam by SA to my virtual users' .Junk folder.
I use procmail to do this on the server.
I need this to
happen server-side because my users use IMAP, and most email clients
don't
allow filtering rules to deposit mail into an IMAP folder.
What? I don't think I've ever used a client that didn't allow
filtering messages to an IMAP folder.
My MTA is
Postfix, and it will not allow me to call procmail for virtual
accounts
Works for me.
/etc/postfix/main.cf
virtual_transport = procmail
/etc/postfix/master.cf
procmail unix - n n - - pipe
-o flags=uhFORD user=vpopmail argv=/usr/local/bin/procmail -t -m
USER=${recipient} EXTENSION=${extension} /usr/local/etc/
procmailrc.common
--
Against stupidity the gods themselves contend in vain.