Adam McKenna wrote:
>On Wed, Jul 05, 2000 at 08:50:52PM -0400, Mark Mentovai wrote:
>> >I don't know about the correctness of that line, but before adding it in you
>> >would also want to add "setuidgid qmaill" before it.
>>
>> Not true. qmail-start starts the logger as the log user (qmaill),
>> eliminating the need for setuidgid (or setuser).
>
>Are you sure about that? It doesn't say so in the man page.
Positive. The manpage doesn't say so explicitly (which is a surprise,
considering the nature of most of the manpages supplied with qmail), but the
source code does. Guess which wins?
(In case the answer isn't obvious, I don't run setuidgid at all to start
multilog on any of my mail servers, and multilog still runs as the qmail log
user.)
Don't confuse this with piping tcpserver's output to multilog (as in
something like qmail-smtpd), for that, you still need setuidgid.
qmail-start handles the pipes and UID/GID switching for qmail itself, when
you start redirecting from shell command lines manually, you need to be a
bit more explicit.
Mark
--
Do not reply directly to this e-mail address
--
Mark Mentovai
UNIX Engineer
Gillette Global Network