OSEC

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: Andrzej Adam Filip (anfixl.wp.pl)
Date: Fri Sep 01 2006 - 05:22:19 CDT


Vasile C <v.cristescugmail.com> writes:

> 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
>
> /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"
> 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
>
> Any ideas ?

Is anything reported by (cyrus-)deliver in the log file?
Most likley the log file entries will provide more hints.

--
[pl2en: Andrew] Andrzej Adam Filip : anfipriv.onet.pl : anfixl.wp.pl