Re: maildirs

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: David Sheryn
Fecha:  
A: Philip Hazel
Cc: webadmin, exim-users
Asunto: Re: maildirs
On Tue, 7 Oct 1997, Philip Hazel wrote:

[ ... ]

> set something like
>
> user = ${lookup{$local_part:uid}lsearch{/user/file}{$value}}
> group = ${lookup{$local_part:gid}lsearch{/user/file}{$value}}
>
> on the transport, where the file /user/file contains things like
>
> webadmin: uid=1234 gid=5678


If you have a lot of them, build them into a dbm database with exim_dbmbuild.
You can put other stuff in the same file, to benefit from the caching of the
lookup. We have all sorts of rubbish, e.g.

sd385: uid=20897 gid=20897 home=/u2.bristol/s02/sd385 mailname=D.H.Sheryn
maildomain=city.ac.uk

in ours for precisely the same reason.

DHS
-- David Sheryn <D.H.Sheryn@???> Postmaster, Computing Services
-- City University, Northampton Square, London, EC1V 0HB
-- Phone: (+44) 171 477 8000 Direct 0171 477 8196 Fax: 0171 477 8165


--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/