3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: Postfix problem: ...
FromSent OnAttachments
Alex PitaNov 11, 2002 8:57 am 
Sam VarshavchikNov 11, 2002 2:35 pm 
Matthias AndreeNov 11, 2002 4:35 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Re: Postfix problem: Cannot set my user or group id!Actions...
From:Matthias Andree (ma@dt.e-technik.uni-dortmund.de)
Date:Nov 11, 2002 4:35:41 pm
List:net.sourceforge.lists.courier-maildrop

Sam Varshavchik <mrs@courier-mta.com> writes:

Alex Pita writes:

If i try to send a message using kmail, postfix will not deliver the message: Nov 11 18:20:27 dinu postfix/pipe[2046]: 27C9228922: to=<ti@test.ro> , relay=maildrop, delay=11964, status=deferred (temporary failure. Command output: /var/tmp/aaa/bin/maildrop: Cannot set my user or group id. ) Also, the rights are the following: [root@dinu home]# ls -l /var/tmp/aaa/bin/maildrop -rwxr-xr-x 1 postfix vmail 150920 nov 11 18:20 /var/tmp/aaa/bin/maildrop

Either configure postfix to run maildrop with the recipient's uid/gid, or install maildrop as setuid root.

The first one is a tough one with Postfix for vmail configurations and requires setting up virtual_mailbox_maps and local_recipient_maps carefully and properly.

The setuid approach is much simpler.