Re: [Exim] mailing lists - need help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Drav Sloan
Datum:  
To: Thomas Kinghorn
CC: Exim-Users (E-mail)
Betreff: Re: [Exim] mailing lists - need help
Thomas Kinghorn wrote:
> Does anyone have an example of how the lists router is setup and
> the format for the file with the list & aliases.


lists router?

> i thought this would work BUT again I was wrong :'(
>
> dns-admin@???           user1@??? : user2@???
> dbm-admin@???     user3@??? : user1@???


For 'per-domain aliases' I use:

virtual_alias:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}lsearch{/path/to/${domain}.aliases}}
domains = lsearch;/path/to/virtual_aliases
qualify_preserve_domain
retry_use_local_part

where /path/to/virtual_aliases contains a list of the domains you
want to do aliases for and then there is a /path/to/<domain>.aliases
per domain listed in /path/to/virtual_aliases.

so for your setup:

/path/to/virtual_aliases:

domain.tld
another-domain.tld

/path/to/domain.tld.aliases:

dns-admin:        user1@???, user2@???


/path/to/another-domain.tld.aliases:

dbm-admin:        user3@???, user1@???


Does that do it?

D.