Hi, I don't know if there is a perfect way, but here is way that works well for me.
Well assuming sendmail, ------------------------------- to your sendmail.mc file: add: FEATURE(local_procmail) remove: MAILER(cyrusv2) ------------------------------- to your global procmailrc script: LOGFILE=/var/log/procmail.log VERBOSE=1 DROPPRIVS=no INCLUDERC=/home/$LOGNAME/.procmailrc # include :0fw | /usr/local/cyrus/bin/pcd.sh $LOGNAME # execute deliver pcd.sh: #!/bin/sh LOGNAME=$1 /usr/local/bin/formail -I"From " | /usr/local/cyrus/bin/deliver \ -a $LOGNAME -m user.$LOGNAME *make sure to make chmod a+x pcd.sh you can also add other filters after the formail, such as spamassassin :) ------------------------------- install the new cf and restart sendmail. send out a couple test mails to make sure it works. good luck, -Hussain On Fri, 30 Jan 2004, Denis V. Suhanov wrote: > Date: Fri, 30 Jan 2004 10:24:29 -0800 > From: Denis V. Suhanov <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Cyrus and procmail > > Hello everyone, > > Is there a "right" way to set up procmail to work with Cyrus? If there > isn't, can I at least have some default procmail script for all of the > users and specialized ones for those who have their local accounts? > > Thanks a lot. > > -- > Best regards, > Denis mailto:[EMAIL PROTECTED] >