Re: [exim] "appendfile" transport run with wrong uid

Góra strony
Delete this message
Reply to this message
Autor: Frank Elsner
Data:  
Dla: exim-users
Temat: Re: [exim] "appendfile" transport run with wrong uid
On Fri, 19 Dec 2008 07:39:58 +0100 psobolewski@??? wrote:
> Hello,
>
> I'm trying such simple exim configuration:


[ ... ]

> begin transports
> test2:
> driver = appendfile
> file = /var/mail/$local_part
> group = mail
> -- STOP --
>
> It should deliver emails to local files. That files - according to
> documentation - should be created as the user to whom the email is address.
> For instance, if an email is addressed to "janek@???", it should be
> written to /var/mail/janek. This file should be owned by user "janek".


You should add 
                            user = $local_part
to the test2 transport.



--Frank Elsner