On 11/2/06, mail(_at_)e-schuett(_dot_)de <mail(_at_)e-schuett(_dot_)de> wrote:
Then the master.cf :
procmail unix - n n - - pipe
flags=R user=mail argv=/usr/bin/procmail -t -m USER=${user}
EXT=${extension} /etc/procmailrc
This is most likely wrong. You generally do not want the -m option
when procmail is invoked as the local delivery agent, and you almost
certainly do not want to specify /etc/procmailrc as an rcfile argument
on the command line. However, you'll have to ask a postfix expert to
be sure.
b) procmail called both procmailrc´s (INCLUDERC=...) and showed the results
correctly in a log-file,
This is not normal procmail operation. /etc/procmailrc should be read
automatically as the default, and when it is finished (unless it
finished by making a delivery) procmail should fall through to
$HOME/.procmailrc. Neither of these happens in the default way when
you use the -m option.
BUT : all mails are owned by the "user=..." i.e. "mail" from the entry of
the master.cf (postfix).
In order for procmail to deliver as the addressed user, it needs to be
started either as that user or as a super-user with privileges to
setuid() to the addressed user. How to accomplish this from postfix
is a question for postfix experts, not procmail experts.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail