Shared folder mail delivery in multi-domain setup

Daniel Hoffend dh at dotlan.net
Sat Dec 6 01:12:34 CET 2014


Hi Cornelius

if you would take a closer look to the multidomain setup you would see 
that you can have multiple alias maps. I'm running a kolab 3.3 
multidomain setup as well and don't have issues with the multiple shared 
maps.

Basically you end up with a transport_map, local_recipient_map and 
multiple virtual_alias_maps for each domain you host or you take 
advantage of the hosted_duplet/triplet replacements.

Take a closer look to this part of the documentation:
https://docs.kolab.org/howtos/multi-domain.html#postfix-changes


Here's a quick readable version on how my maps are configured. I made it 
more readable so I hope you see the trick. As mentioned before. You can 
create this for every domainspace you host or you use the hosted syntax 
(which should work for most cases, not every but most).

transport_maps =
   hash:/etc/postfix/transport,
   ldap:/etc/postfix/ldap/dotlan.net/transport_maps.cf,
   ldap:/etc/postfix/ldap/hosted_triplet/transport_maps.cf,
   ldap:/etc/postfix/ldap/hosted_duplet/transport_maps.cf
local_recipient_maps =
   ldap:/etc/postfix/ldap/dotlan.net/local_recipient_maps.cf,
   ldap:/etc/postfix/ldap/hosted_triplet/local_recipient_maps.cf,
   ldap:/etc/postfix/ldap/hosted_duplet/local_recipient_maps.cf
virtual_alias_maps =
   $alias_maps,
   ldap:/etc/postfix/ldap/dotlan.net/virtual_alias_maps.cf,
   ldap:/etc/postfix/ldap/hosted_triplet/virtual_alias_maps.cf,
   ldap:/etc/postfix/ldap/hosted_duplet/virtual_alias_maps.cf,
   
ldap:/etc/postfix/ldap/dotlan.net/virtual_alias_maps_mailforwarding.cf,
   
ldap:/etc/postfix/ldap/hosted_triplet/virtual_alias_maps_mailforwarding.cf,
   
ldap:/etc/postfix/ldap/hosted_duplet/virtual_alias_maps_mailforwarding.cf,
   ldap:/etc/postfix/ldap/dotlan.net/virtual_alias_maps_sharedfolders.cf,
   
ldap:/etc/postfix/ldap/hosted_triplet/virtual_alias_maps_sharedfolders.cf,
   
ldap:/etc/postfix/ldap/hosted_duplet/virtual_alias_maps_sharedfolders.cf,
   ldap:/etc/postfix/ldap/dotlan.net/mailenabled_distgroups.cf,
   ldap:/etc/postfix/ldap/hosted_triplet/mailenabled_distgroups.cf,
   ldap:/etc/postfix/ldap/hosted_duplet/mailenabled_distgroups.cf,
   ldap:/etc/postfix/ldap/dotlan.net/mailenabled_dynamic_distgroups.cf,
   
ldap:/etc/postfix/ldap/hosted_triplet/mailenabled_dynamic_distgroups.cf,
   
ldap:/etc/postfix/ldap/hosted_duplet/mailenabled_dynamic_distgroups.cf,
   ldap:/etc/postfix/ldap/dotlan.net/virtual_alias_maps_catchall.cf,
   ldap:/etc/postfix/ldap/hosted_triplet/virtual_alias_maps_catchall.cf,
   ldap:/etc/postfix/ldap/hosted_duplet/virtual_alias_maps_catchall.cf

--
regards
Daniel

------ Originalnachricht ------
Von: "Cornelius Hald" <hald at icandy.de>
An: "users" <users at lists.kolab.org>
Gesendet: 05.12.2014 10:57:58
Betreff: Shared folder mail delivery in multi-domain setup

>Hi guys,
>
>to get delivery to a shared folders working, I've figured out you have
>to add lines to /etc/postfix/transport like those:
>
>shared at managementdomain.com lmtp:unix:/var/lib/imap/socket/lmtp
>shared at hosteddomain1.com lmtp:unix:/var/lib/imap/socket/lmtp
>shared at hosteddomain2.com lmtp:unix:/var/lib/imap/socket/lmtp
>
>So one line for each hosted/secondary domain.
>
>Is there a way to replace this with an LDAP lookup?
>
>Thanks!
>Conny
>
>_______________________________________________
>users mailing list
>users at lists.kolab.org
>https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5714 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/users/attachments/20141206/90fa8572/attachment-0001.bin>


More information about the users mailing list