Hi,

just for the records:

Josip Rodin wrote:
Ah, there's the catch - the -d option. It makes maildrop switch to the
specified user's home directory. The user isn't actually specified, but I'm
assuming that since Exim sets $USER to the value of $local_part, this makes
maildrop deliver to the user the mail is being delivered to.

However, I'm not actually sure that the maildrop process is executed *as*
the said user, but instead it runs as the Exim user ("Debian-exim"), but
writes files under the specified user. (This default is documented under
"Generic options for transports" in the exim4 info manual.)

I verified your statements about Exim4 and I can confirm that the target program of pipe deliveries is executed as the (implicit, if check_local_user is used) specified user and that environment variables like USER are set accordingly.

Have a nice day
  Micha


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to