Re: [EXIM] setting of uid

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: vtmue
CC: eml
Sujet: Re: [EXIM] setting of uid
On Wed, 15 Jul 1998 vtmue@??? wrote:

> guy_a:        /var/mail/guy_a
> guy_with_cool_too_long_name:    guy_b
> guy_b:        /var/mail/guy_b
> guy_c:        guy_c@???
> ..

>
> Neither the virtual director nor the address_file transport set a uid for
> local delivery of /var/mail/guy_a


If an aliasfile director directs a message to a file or a pipe, then the
configuration has to specify a uid/gid under which to run the local
delivery. This can be done either on the director or the transport.

With no other configuration, the transport used for those file
deliveries will be the one called address_file. You can specify another
one by setting, for example,

file_transport = special_file_transport

on the alias file director. Then you can set up special_file_transport

special_file_transport:
driver = appendfile
user = ????

which will be used only for those file deliveries from that one
director.

What you put for the ???? is up to you. Which uid do you want to use for
writing to /var/mail/guy_a? If these are all POP-only users, perhaps you
can just set

user = exim

and have the files owned by exim.


-- 
Philip Hazel                   University Computing Service,
P.Hazel@???          New Museums Site, Cambridge CB2 3QG,
ph10@??? (sic)       England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***