Re: [Exim] How exim looks up users.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Kjetil Torgrim Homme
Datum:  
To: KsPecial
CC: exim-users
Betreff: Re: [Exim] How exim looks up users.
On Tue, 2003-12-23 at 05:47, K sPecial wrote:
> What I want to do is use a smart user directive and give it a condition as follows:
>
> condition = ${lookup{$local_part} lsearch{/some/file} {yes} {no}}
>
> After this I would give it a transport of local delivery. The only problem is, is that since it's looking up these users in /some/file they won't have UID/GID's. So I want exim to put all mail into /var/mail/<$local_part> under the exim GID so people will need to be in exim group. Since of course these won't be users with shells there shouldn't be a problem with everyone reading everyone elses mail.
>
> Any help on how to tell exim to place mail under it's UID/GID would be greatly appreciated.


simple:

# Local delivery to user mailboxes.
local_delivery:
driver = appendfile
return_path_add = true
envelope_to_add = true
delivery_date_add = true
file = /var/mail/$local_part

--
Kjetil T.