RE: [Exim] mailing lists - need help

Etusivu
Poista viesti
Vastaa
Lähettäjä: Thomas Kinghorn
Päiväys:  
Vastaanottaja: 'Drav Sloan'
Kopio: Exim-Users (E-mail)
Aihe: 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.