[Exim] How exim looks up users.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: K sPecial
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] How exim looks up users.
Hi, I'm trying to make a way for exim to lookup it's local users in a different fashion other than /etc/passwd.

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.

K-sPecial

_____________________________________________________________
Fight the power! BlazeMail.com