Re: [Exim] pipe_as_creator not piping as creator

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Todd Jagger
CC: exim-users
Assunto: Re: [Exim] pipe_as_creator not piping as creator
On Thu, 28 Feb 2002, Todd Jagger wrote:

> tmda:
>    driver = pipe
>    pipe_as_creator
>    command = "/usr/local/bin/python /usr/local/tmda/bin/tmda-sendmail"
>    return_path_add
>    return_fail_output

>
> As I mentioned yesterday this gets called from a router based on certain
> conditions in the mail. No prob there.
>
> The problem is the pipe needs to be run as the user who submitted the
> message, which my understanding is the pipe_as_creator option provides.


True, provided the message was submitted locally (not via TCP/IP).

> However even though the logs appear to say the pipe is being called by the
> user "tmj" (that's good) the uid/gid corresponds to the user "nobody"
> (that's bad), which of course causes it to fail. Here's a snippet from a
> d9 delivery output:


You don't happen to have "tmj" in the never_users list, do you?


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.