Re: [Exim] *@domain to single users for multiple domains...

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Langer
Fecha:  
A: exim-users
Asunto: Re: [Exim] *@domain to single users for multiple domains...
On Thu, Dec 07, 2000 at 17:54:25 -0500, Chris _Shad0w_ Crowther wrote:
>     Can (and will) anyone tell me how to setup the conf file to allow
> handling *@domain.com for multiples domains, to multiple user accounts.

>
>     At the momment we only have one user using this, so I just
> hardcoded it into the conf file using a smartuser director; lazy I know,
> but does anyone know how to do this neatly for the multiple senario?


virtual:
driver = aliasfile
domains = domain1 : domain2 : domain2
no_more
file = /etc/mail/$domain
search_type = lsearch*
file_transport = address_file
pipe_transport = address_pipe

(insted of listing the domains you can do a database lookup)

In /etc/mail/domain1 e.g.:

*:    user1


Then *@domain1 is stored in user1's mailbox (or forwarded, ...)
This feature is enabled by using "lsearch*" (with a *).

Marc