Re: [exim] pre - information - virtusertable - aliases (exim…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Magnus Holmgren
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] pre - information - virtusertable - aliases (exim)
On Friday 08 June 2007 18:52, sc2@??? wrote:
> Is under exim, alias and virtusertable files for same use?


Under Exim there are really any special alias or virtusertable concepts - just
various kinds of lookups, described in chapter 9 of the specification.

> my config would be
>
> virtuals:
> driver = redirect
> domains = dbm;/etc/domains.db

You can instead use
require_files = /etc/$domain.aliases
(assuming that there is a file for every domain, even if it doesn't contain
anything.)
> data = $(lookup{$local_part}dbm{/etc/$domain.aliases}}
> no_more
>
> in aliases then

(you mean "me.com.aliases"?)
> me@??? localboxname


Not quite. The router expects local parts as keys, but you have full
addresses. You need $(lookup{$local_part@$domain}dbm{/etc/$domain.aliases}},
or change your files so they only contain local parts.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)