Re: [Exim] Aliases in $domain has to be a local account.

Top Pagina
Delete this message
Reply to this message
Auteur: Ian Southam
Datum:  
Aan: Lars Bahner
CC: exim-users
Onderwerp: Re: [Exim] Aliases in $domain has to be a local account.
You have tried to setup something that is part director and part transport -
you need both halves.

Setup a transport like this :

virtual_delivery:
driver = appendfile
file = /var/spool/virtual/${domain}/${local_part}
envelope_to_add = yes
user = mail
group = mail
mode = 0600

Obviously change the user/group and mask to suit. This will deliver to
subdirectories off /var/spool/virtual you can point that wherever you wish.

Then a matching director :

vpop:
driver = aliasfile
domains = dbm;/customer/domains
transport = virtual_delivery
require_files = /etc/mail/$domain
file = /etc/mail/$domain
search_type = lsearch
no_more

Et voila!

--
Have Fun
Ian