Re: [Exim] Forwarding

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nico Erfurth
Dátum:  
Címzett: Jonas Jacobsson
CC: exim-users
Tárgy: Re: [Exim] Forwarding

On Sat, 8 Feb 2003, Jonas Jacobsson wrote:

> In Sendmail it's possible to forward all non-existent mails
> for a domain to a user. Is this possible in Exim too?
>
> In Sendmail you just edit /etc/mail/virtusertable like:
>
> robert@???    address1@???
> rikard@???    address2@???
> @mydomain.com          anotheraddress@???


How do you handle your virtual aliases now?

in exim you will use
*@domain.tld: another@???
for a virtusertable like aliasfile, and
*: another@???
for a aliasfile-per-domain config

your lookup for this should include a * (or *@) at the name, like
lsearch*(@) or cdb*(@). Use *@ for virtusertable like aliasfiles and * for
aliasfile-per-domain configs.

Nico