----------  Message transmis  ----------

Subject: Re: Postfix/Procmail/Cyrus-Imap
Date: Wed, 3 Apr 2002 11:22:26 +0200
From: abarthel <[EMAIL PROTECTED]>
To: Thomas Schramm <[EMAIL PROTECTED]>

Le Mardi 2 Avril 2002 19:52, vous avez écrit :
> Alain Barthélemy wrote:
>
>  [..Procmail..]
>
> > With Postfix
> > The mail must be first processed by Procmail. Thus I suppose I
> > uncomment the following line in /etc/postfix/main.cf:
> > mailbox_command = /usr/bin/procmail
>
> Should be ignored if you set in master.cf for example:
> cyrus blabla
>  flags=R user=cyrus argv=/path/to/procmail -p /path/to/.procmailrc
>
> > Then the mail is transferred to Cyrus for delivery
> > mailbox_transport = cyrus
>
> User cyrus gets the mail, yes. See above.
>
> > Is it enough? Nothing else to do? Except creating .procmailrc of
> > course.
>
> Maybe some funny permission problems with lmtp, but that's easy, if the
> rest of the stuff is working. :) Or your first testmails are going to
> Nirvana. Hint: Set procmail option VERBOSE=yes and the deliver command
> to /path/to/deliver -a username -m user.username.your.mailbox.here
>
> Thomas

Thus if I understand well, I must change line

cyrus     unix  -       n       n       -       -       pipe
    flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}

in /etc/postfis/master.cf

to

cyrus     unix  -       n       n       -       -       pipe
        flags=R user=cyrus argv=/usr/bin/procmail -p /path/to/.procmailrc

And Cyrus, before defering the mails will them to procmail for procesing but
how will they be delivered because the "argv= /usr/cyrus/bin/deliver" line
does not exist anymore

--
Alain Barthélemy
SBB-ISP

-------------------------------------------------------

Reply via email to