Re: [Exim] pipe_as_creator not piping as creator

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Todd Jagger
CC: exim-users
Subject: Re: [Exim] pipe_as_creator not piping as creator
On Fri, 1 Mar 2002, Todd Jagger wrote:

> Ah, so the user would have to be logged in on the machine using some
> sort of local MUA? They couldn't be at home sending mail through the
> machine with Mulberry or PC-Pine or something?


Correct. Mail from Mulberry and PC-Pine comes in via SMTP. There is no
associated user. pipe_as_creator will run the delivery as "exim" because
it was a process running as exim that created the message.

> So is there any way to get a pipe command such as above to run as the
> user submitting the message via TCP/IP?


How is this user to be identified? Don't say "from the sender address",
because that can be forged.

If you are using SMTP authentication, you can arrange for
$authenticated_id to be set after authentication, and you can use that
in a "user" option in the transport. That's the only safe thing I can
think of.


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