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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ian Southam
日付:  
To: Lars Bahner
CC: exim-users
題目: 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