Re: [EXIM] domain-aliasing

Startseite
Nachricht löschen
Nachricht beantworten
Autor: michael
Datum:  
To: exim-users, gietl
Betreff: Re: [EXIM] domain-aliasing
> what would be the easiest way to do a domainaliasing within exim?
>
> i imagine a file /etc/domainalias that looks like this:
> domain1 domain2
>
> when domain1 is the domain the mail is addressed to and domain2 ist the
> domain it is delivered to.


I do domainaliasing this way:

# Map one domain to another domain.
#
d_domainalias:
  driver                = smartuser
  domains               = dbm;/var/exim/etc/domainaliases.db
  new_address           = "${local_part}@${lookup {$domain} dbm \
                                {/var/exim/etc/domainaliases.db} {$value} fail }"


Michael

--
*** Exim information can be found at http://www.exim.org/ ***