>> alias_maps = ldap:/etc/postfix/ldap-aliases.cf
>> virtual_alias_maps = ldap:/etc/postfix/ldap-virtual.cf
>> virtual_alias_domains = $virtual_alias_maps

The virtual_alias_domains probably does a lookup in 'jdi.nl'. That isn't 
directly in the map. Crap.

> 
> Looks like you are using virtual alias domains 
> (http://www.postfix.org/ADDRESS_CLASS_README.html). You should check if the 
> intended domain (jdi.nl) is found with querying virtual_alias_domains with 
> something "like postmap -q jdi.nl ldap:/etc/postfix/ldap-virtual.cf".

Is there a way to let postfix actually log the map lookups it does ? I've got 
debug_peer_level = 10 and a debug_peer_list set to the testmachine, but that 
gave me little to go on. Logging the actual map
lookups would be a very good starting point to debug this setup. I can post the 
actual logging if someone's interested.

I probably need to do a lookup on the domain part, and return that in the 
virtual_alias_domains map. Hints welcome, but I've got something to go on for 
now.


Regards,



        Igmar

Reply via email to