Joe Stump schrieb am Thu, Nov 22, 2001 at 12:43:47PM -0500:
* I'm banging my head against the table trying to get Cyrus working nicely
* with procmail. Here is my EXTREMELY simple procmailrc ...
* 
* LOGFILE=/tmp/procmaillog
* DEFAULT=$1
* 
* :0c
* | /usr/cyrus/bin/deliver "$1"
* 
* $1 is passed to procmail from my .qmail file using the -a option for procmail.
* The problem is that it TOTALLY ignores the pipe and puts it into the folder $1
* on the directory of my procmailrc. Here is my log:
* 
* From [EMAIL PROTECTED] Thu Nov 22 17:37:59 2001
*  Subject: foo
*   Folder: sales_jerum_com                                                   473
* 
* $1 == sales_jerum_com
* 
* Any ideas?

Mmmh, why do you use $1 and $DEFAULT (aren't they folder names)?  You want 
to deliver to a *user*, not a folder...

Anyway, I utilise procmail like this and it works nicely:

:0
| /usr/cyrus/bin/deliver -e -a $LOGNAME $LOGNAME

System is a RH7x, Cyrus is 2.0.x with Sendmail as MTA.


Regards,

- Birger

Reply via email to