procmail
[Top] [All Lists]

Re: procmail and cyrus

2004-04-20 14:15:33
I know some things are different between versions 1 and 2, but this is
how things are setup on my box with no problems:

DELIVER="/usr/sbin/cyrdeliver"

#Remove "From " header and preserve in custom header to enable cyrus delivery
:0 fhw
* ^From \/.*
| $FORMAIL -I "From " -A "X-Viluppo-From: $MATCH"

# Test for existance of user rules and deliver if not existant
:0 w
* ? test ! -e $HOME/.procmailrc
| $DELIVER $LOGNAME

And just for completeness: 

ls -l /usr/sbin/cyrdeliver
-rwsr-sr-x    1 cyrus    mail       210440 Dec 21  2002  /usr/sbin/cyrdeliver*

any sorting that is done in my personal filters is just acomplished by

:0 w
* <rule>
| $DELIVER -m <folder> $LOGNAME

I belive the one of the bigger differences in Cyrus-2 is that it is no
longer necessary to remove the "From " header, but it's probably worth
a try.

-- 
Till Later, Jake <karrde+procmail(_at_)viluppo(_dot_)net>
-----------------------------------------------
Direct replys are likley to be flagged as spam.
Drop the +addy if you need to reply direct.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>