Out of Curiosity does it actually run procmail at all?

Because i have the same exact thing and guess what.  The mail_transport = 
cyrus takes priority and kicks out procmail.  But i see you changed your 
master.cf  does procmail know how to deliver properly to cyrus?  and if so 
how?

--On Tuesday, April 23, 2002 3:19 PM +0000 Einar Indridason 
<[EMAIL PROTECTED]> wrote:

>> If you use Cyrus you must loose procmail.  Sorry no ifs ands or buts.
>
> No.  This is incorrect.  We *are* using postfix, procmail and cyrus
> together.  We have both local Unix users, and "virtual" users.
>
> For Postfix, see the main.cf file:
> mailbox_command = /usr/bin/procmail -a "$EXTENSION" -o -t
>
> and master.cf file:
> cyrus     unix  -       n       n       -       -       pipe
>     flags=R user=cyrus:mail argv=/usr/bin/procmail -m /etc/procmailrc
> USER=${user}
>
> In both cases, procmail is started, and runs through the /etc/procmailrc
> file.
>
> However... if it is a local Unix user, that is to get the email, the
> procmail variable LOGNAME is set.
> If it is a "virtual" user, the "USER=cyrus_user" is passed in as $1
>
> So I have in my procmailrc:
> ...
> CYRUS_USER=$1
> ...
>
> Now, this variable is set (or not) depending on whether procmail was
> called with USER=something
>
>
> Now, procmail can take the apropriate action depending on whether the
> LOGNAME or CYRUS_USER is set.  For example, procmail can run the
> incoming message through to cyrus_deliver.
>
> Cheers,
> --
> [EMAIL PROTECTED]
>



Reply via email to