Re: [Exim] Bug? pipe transport without associated user=... r…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Sheldon Hearn
Datum:  
To: exim-users, 228062
Betreff: Re: [Exim] Bug? pipe transport without associated user=... runs as EXIM_USER
On (2004/01/16 13:54), Andreas Metzler wrote:

> Using this router/transport
>
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> file_transport = address_file
> pipe_transport = address_pipe
>
> address_pipe:
> debug_print = "T: address_pipe for $local_part@$domain"
> driver = pipe
> return_fail_output
>
> will run run any pipe in /etc/aliases as the EXIM_USER instead of
> dumping an error (as iirc eximv3 did)[1]. This contradicts the
> documentation, which says:
>
> | In the case when "pipe" is run as a consequence of an entry in a
> | local user's `.forward' file, the command runs under the uid and gid
> | of that user. In other cases, the uid and gid have to be specified
> | explicitly, either on the transport or on the router that handles the
> | address.


No, you're reading about documentation that relates to .forward files,
but showing us a router that relates to /etc/aliases. Read the
documentation for the redirect driver. :-)

Ciao,
Sheldon.