Below I pasted the relevant log, showing a successful and an
unsuccessful delivery. The logs below show that, right after
courieresmtpd receives a new message, it somehow formats
acco...@company.com to acco...@internal.company.com, after
Check the aliases file in Courier's etc dirctory.
etc/aliases/system => defines addresses for root, mailer-daemon,
postmaster, und uucp
etc/aliasdir/ => empty
etc/aliases.dat => binary file, with the same addresses as defined by
aliases/system
Nothing else.
If you have courierldapaliasd running, look at your ldapaliasrc file,
then go and look at your LDAP server.
There are 5 instances of courierldapaliasd running. The ldapaliasrc file
looks like a copy & paste job of the authldaprc file, with these exceptions:
LDAP_ALIAS 1
LDAP_MAILDROP mailaddress
LDAP_SOURCE
LDAP_VDOMAIN
LDAP_VUSER
I already browsed the referenced ldap-directory, which contains the
Notes users, and also my problem-user. The only difference I spotted
between the users is that there's no'userpassword' defined for my
problem-user,. but that shouldn't effect mail being sent to that user.
Also, the ldap-definitions in ldapaliasrc doesn't match the structure of
the ldap directory:
LDAP_MAIL uid
LDAP_MAILDROP mailaddress
Regards,
Uwe