catchall breaks shared email folders / postfix order of virtual alias maps?

Matthias Busch catwiesel at gmx.net
Fri Sep 19 23:41:35 CEST 2014


Hi,

I have a few days old kolab 3.3 on debian 7.6

when I setup a catchall virtual alias any mails adressed at a shared email folder adress are not being delivered to the shared folder but to the catchall folder

i set up the catchall according to: http://kolab.org/blog/widder/2014/08/05/howto-catch-all-postfix-kolab-3.2

i made sure the virtual alias for catchall .cf file was at the end of the list

I did verify that the 
- shared email folder/adress works when removing the catchall .cf file in /etc/postfix/main.cf 
- the email gets delivered to my server (tail –f /var/log/mail.log) and is then diverted


output postconf virtual_alias_maps (working):
virtual_alias_maps = $alias_maps, ldap:/etc/postfix/ldap/virtual_alias_maps.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_mailforwarding.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_sharedfolders.cf, ldap:/etc/postfix/ldap/mailenabled_distgroups.cf, ldap:/etc/postfix/ldap/mailenabled_dynamic_distgroups.cf

output postconf virtual_alias_maps (not working):
virtual_alias_maps = $alias_maps, ldap:/etc/postfix/ldap/virtual_alias_maps.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_mailforwarding.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_sharedfolders.cf, ldap:/etc/postfix/ldap/mailenabled_distgroups.cf, ldap:/etc/postfix/ldap/mailenabled_dynamic_distgroups.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_catchall.cf

apparently the catchall mapping gets applied before the sharedfolder mapping. If so, how do i change it? how does postfix determine the order in which a mapping is applied? i assumed it will be the order of the alias maps but then it should work... so?!

i tried my google-fu with with very little success. i cant rule out the answer is to be found on some postfix site but I cant find it...

any ideas / documentation I can read up on?

thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20140919/8203b401/attachment.html>


More information about the users mailing list