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

Andy McDade andy at 117net.co.uk
Tue Jul 14 16:15:29 CEST 2015


Did you manage to get this sorted? I ma having the same issue - ALL emails
are delivered to the catchall, instead of just those not for existing users.

>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/20150714/492edab7/attachment.html>


More information about the users mailing list