Re: [Exim] nobody_user?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Toralf Lund
日付:  
To: exim-users
題目: Re: [Exim] nobody_user?
Philip Hazel wrote:

>On Wed, 17 Mar 2004, Toralf Lund wrote:
>
>
>
>>What has happened to the "nobody_user" parameter? I'm using this in our
>>Exim 3 setup to get a sane user setup when an address is aliased
>>directly to a pipe. In Exim 4, the parameter appears to be gone. Why?
>>
>>
>
>Exim 4 has been released for 2 years, and as far as a know, nobody has
>previously remarked on this. Now, what the heck *was* nobody_user? I
>cannot remember... the Exim 3 manual doesn't even jog my memory (it
>talks about running processes as "nobody", but I can't remember when
>Exim 3 wanted to do that). The Exim 4 update document talks about the
>queryprogram router.
>
>

Refer to the other replies for an explanation of that.

>
>
>>What do I use instead?
>>
>>
>
>What exactly are you trying to do? If you alias an address to a pipe,
>the delivery runs via a particular transport. You can set the user on
>the transport.
>
>

OK. To be a bit more specific, lets say I have

scu-archive: "|/usr/bin/mhonarc -outdir
/u/project/ServoKortScanner/email -quiet -add"
ks: "|/usr/bin/mhonarc -outdir /usr/local/www/htdocs/mail/ks -quiet -add"

in /etc/aliases (this is based on our actual setup.)

There is a local user account with login name "ks", but none called
"scu-archive".

For the 1st alias I want the pipe to run as user "guest". For the 2nd I
want "ks" - i.e. the login-name matching LHS of the alias. Setting
user=guest for the pipe transport would cause both aliases to be run as
"guest", which is not what I want.

- Toralf