3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Setting user with uid...
FromSent OnAttachments
Sunil William SavkarSep 17, 2002 4:38 am 
Sunil William SavkarSep 17, 2002 5:55 am 
ppop123Sep 17, 2002 6:23 am 
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] Setting user with uid/gid change privs for the maildrop function in master.cfActions...
From:ppop123 (wang@ppop.org)
Date:Sep 17, 2002 6:23:45 am
List:net.sourceforge.lists.courier-maildrop

Sunil William Savkar,您好!

  chmod +s /usr/bin/maildrop

======= 2002-09-17 08:54:00 您在来信中写道:=======

Hi.

Thanks to those who gave replies as to my mysql woes for maildrop functionality w/ postfix+courier. That all seems to work now.

If I use maildrop as root, I see delivery!

However, last "dumb" question. For purposes of the maildrop transport in master.cf, how do I set up a proper user so that it can change uid/gid?

Currently if I try to set user=root, this causes a barf by postfix.

However, no other user I pick seems to work since the ability to change uid/gid does not work.

See current master.cf line:

maildrop unix - n n - - pipe flags=R user=mail argv=/usr/bin/maildrop -V9 -d ${user}

The user "mail" cannot itself change uid/gid which is necessary in maildrop for final delivery (similar to virtual).

How can I set up a user for this purpose? I have tried several approaches, but it does not work.

Sunil

p.s. I also try to users from the command line, and again run into problems with this...

------------------------------------------------------- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab

致 礼!