Dear all Ok, I've got pretty much everything working the way it should using Sendmail+procmail+courier-imap
In order to make sure that be default everything will be delivered to a maildir, in /usr/local/etc/procmailrc I have put the following: SHELL=/bin/sh CHMAILDIR=/data/mail-courier/$LOGNAME/ DROPPRIVS=yes :0c /data/mail-courier/$LOGNAME/ I used :0c as otherwise the user procmailrc will not have the chance to be run. Now, I'd like to run some custom procmail command for each user, for example to automatically move in a special folder all email marked as spam by spamassassin. As an example, in ~/.procmailrc I would then have :0 * ^X-Spam-Status: Yes $CHMAILDIR/.Probably-Spam/ The problem is that the mail tagged as spam will be delivered both in the INBOX (due to the system-wide procmailrc) *and* in the Probably-Spam directory. What should I do so in only ends up in Probably-Spam and not in the INBOX as well? Best regards and thank you in advance for your answers Jean-Yves ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
