|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Postfix+cyrus+procmail problem
From: Kai Fürstenberg (postfix
fuerstenberg.ws)
Date: Fri Sep 01 2006 - 05:33:36 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Vasile C wrote:
> Hello,
>
> I`m trying to set up a mail server using postfix , cyrus-imap and procmail .
> Everything works fine without procmail ... I have mnade the following
> configuration :
>
> /usr/local/etc/procmailrc :
>
> LOGFILE=/var/log/procmail
> VERBOSE=yes
> HOME=$USER
>
> :0fiw
> |spamc
> :0:
> * ^X-Spam-Level:\*\*\*\*\*\*\*\*\*\*\*\*
> /dev/null
>
> :0w
> |/usr/local/cyrus/bin/deliver -e $USER -m user/$USER
>
try this:
:0w
|/usr/local/cyrus/bin/deliver -e $USER -m user.$USER
BTW: What's the -e option for? I don't have any -e option in my cyrus
deliver command. Are you sure you don't want to use the -a option?
> /usr/local/postfix/master.cf:
>
> procmail unix - n n - - pipe
> user=cyrus argv=/usr/local/bin/procmail -m /usr/local/etc/procmailrc
> USER=${user} EXTENSION=${extension}
>
> /usr/local/etc/postfix/main.cf:
>
> mailbox_command = /usr/local/bin/procmail -a "$EXTENSION"
>
You don't need to specify this ^^^^.
> mailbox_transport = procmail
>
> But when I try to send an email I get this error:
>
> Executing "/usr/local/cyrus/bin/deliver,-e,-m,user/" procmail: Program
> failure (65) of "/usr/local/cyrus/bin/deliver" procmail:
> Assigning "LASTFOLDER=/usr/local/cyrus/bin/deliver -e -m user/" Subject:
> Undelivered Mail Returned to Sender Folder: **Bounced** 3366 )
> Sep 1 08:36:42 newbsd postfix/qmgr[1814]: E74D16D792: removed
>
Regards
Kai
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]