[Exim] Tiny aliasfile mixup

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Matthew Daubenspeck
Datum:  
To: exim-users
Betreff: [Exim] Tiny aliasfile mixup
I have had my exim setup working perfectly for quite some time now,
but I always had a small glitch that bugged me. My main transport:

maildir_delivery:
driver = appendfile
directory = /home/$local_part/Maildir
delivery_date_add
envelope_to_add
return_path_add
maildir_format
prefix =
suffix =
check_string =

And the two directors:

virtual_external:
driver = aliasfile
domains = lsearch;/etc/exim/config/local.domains
file = /etc/exim/config/$domain/external.aliases
search_type = lsearch

virtual_local:
driver = aliasfile
transport = maildir_delivery
user = ${local_part}
domains = lsearch;/etc/exim/config/local.domains
file = /etc/exim/config/$domain/local.aliases
search_type = lsearch
no_more

Now the local.aliases is a file with:
user1
user2

And the external.aliases has
webmaster:    user1@???
postmaster:    user1@???
forwarded:    forwarded@???


I have the exim book and by reading it, I should be able to use a
alias file such as:
user1:        user1
user2:        user2
webmaster:    user1
postmaster:    user1
forwarded:    forwarded@???


But it never seems to work. Again, it works perfectly with the two
setups. What am I missing?