Loading ...
Sorry, an error occurred while loading the content.

204574Re: Postfix+cyrus+procmail problem

Expand Messages
  • Kai F├╝rstenberg
    Sep 1, 2006
    • 0 Attachment
      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
    • Show all 3 messages in this topic