Re: [Exim] Virtual domains

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dave C.
Fecha:  
A: Micah Anderson
Cc: exim-users
Asunto: Re: [Exim] Virtual domains
Thats becuase "system aliases" comes before "virtual" in your config.



On Tue, 4 Apr 2000, Micah Anderson wrote:

>
> Hello, I've done a little research first before I decided to bore you with
> what is probably a fairly common question. I am trying to set up virtual
> domains on my site and was able to find some configuration examples that
> led me to set up something that almost works. What doesn't work is if
> there is an alias in /etc/aliases or an existing user on the site then the
> mail goes to that user (or to that alias) and not to the virtual domain. I
> used C015 as my example, so what I have is the following:
>
> local_domains = "domain1.com:mydomain.com:\
>                lsearch;/usr/exim/aliases/domains"

>
> Under transports:
>
> local_delivery:
> driver = appendfile
> file = /var/spool/mail/${local_part}
>
> Under the directors settings:
>
> system_aliases:
> # Commented out except_domains because it doesn't work!
> # except_domains = "lsearch;/usr/exim/aliases/domains"
> driver = aliasfile
> file = /etc/aliases
> search_type = lsearch
>
> userforward:
> # Commented out except_domains because it doesn't work! Micah
> # except_domains = "lsearch;/usr/exim/aliases/domains"
> no_verify
> driver = forwardfile
> file = .forward
>
> localuser:
> # Commented out except_domains because it doesn't work! Micah
> # except_domains = "lsearch;/usr/exim/aliases/domains"
> driver = localuser
> transport = local_delivery
>
> virtual:
> domains = "lsearch;/usr/exim/aliases/domains"
> driver = aliasfile
> no_more
> file = /usr/exim/aliases/$domain-aliases
> search_type = lsearch*@
>
>
> Thanks for your help!!
>
> Micah
>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>