Shared folder mail delivery in multi-domain setup
Cornelius Hald
hald at icandy.de
Mon Dec 8 16:46:24 CET 2014
Hi Daniel,
thanks for your reply. My setup is based on the the linked Howto and
(like you) I've got several maps for each individual domain + the hosted
duplet/triplet maps.
However, if I do not add those extra lines to the default transport map,
the user shared at ... cannot be found.
In which map file do you have the 'shared' user defined? Could you post
that file?
Thanks!
Conny
On Sat, 2014-12-06 at 00:12 +0000, Daniel Hoffend wrote:
> 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
More information about the users
mailing list