From: Amos Gouaux (+)
Date: Sun Jan 06 2002 - 00:42:11 EST
>>>>> On Sat, 05 Jan 2002 23:29:42 +0100,
>>>>> Jan Kümmel <> (jk) writes:
jk> the mail does not get delivered and the following line is appended to
jk> my /var/log/imapd.log:
jk> connect(/var/imap/socket/lmtp) failed: Permission denied
Unless told otherwise, Postfix runs commands as user "nobody".
jk> The same happens if I use procmail between postfix and deliver. If I start
jk> procmail from the shell, it works. If procmail is started from postfix, it
jk> doesn't. I am sure, deliver is executed as user jan (checked it again by
Are you sure about that? Cyrus support programs run as user "cyrus".
jk> calling a wrapper script). If I specify
jk> mailbox_transport = cyrus
jk> in main.cf having the following in master.cf, it works
jk> cyrus unix - n n - - pipe
jk> flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m
jk> ${extension} ${user}
jk> But why? Can someone explain what is happening?
Because you specifically told Postfix to connect to the deliver
program as user "cyrus", not the default user "nobody".
-- Amos
|
|
|