Re: [Exim] exim4, virual domains, explicit local user delive…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Markus Fischer
Fecha:  
A: exim-users
Asunto: Re: [Exim] exim4, virual domains, explicit local user delivery
On Mon, Sep 22, 2003 at 11:31:42PM +0100, jzaw wrote :
> >    So basically, mydomain.com is the main domain name,
> >    anotherdomain.com is just a virtual domain. So to receive mail for
> >    joe@??? I would need an extra configuration step in
> >    the first so that anotherdomain.com knows it can deliver to the
> >    local user "joe". I don't want to happen this automatically.

>
> using virtual_aliases I maintain separate domains each with their own
> aliases for users in that domain
> maintain a file /etc/exim/domains/virtual_aliases merely a list of the
> virutual domains
>
> one
> two
> three
>
> then each domain has an alias file
> /etc/exim/domains/<domain.name>/aliases
>
> jzaw:     jzawone
> bill:        billone
> freda:    fredaone

>
> jzaw:    jzawtwo
> terry:        terrytwo

>
> bill:        billthree
> freda:    fredathree

>
> so mail is delivered
> jzaw@one => jzawone/Maildir
> jzaw@two => jzawtwo/Maildir
>
> mail delivered to ~/Maildir for each user
>
> jzawthree in domain three does not exist so mail to jzaw@three gets
> bounce/rejected/dropped whatever
> but doesn't get delivered to any other Maildir and not to a local user
> either cos there is no local user jzaw


    But what happens if someone delivers mail to jzawtwo@one ? Won't it
    get delivered to jzawtwo although it is not configured explicitely
    for domain "one" ?


    - Markus