RE: [Exim] mailing lists - need help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Thomas Kinghorn
Datum:  
To: 'Drav Sloan'
CC: Exim-Users (E-mail)
Betreff: RE: [Exim] mailing lists - need help
Works 100%

Many thanks Drav.

Regards

Tom



<drav wrote>

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.