Dynamically set LDAP user namespace using two attributes
Thomas Leuxner
tlx at leuxner.net
Wed Oct 26 16:54:44 UTC 2022
Hi,
I’m looking for a way to use two LDAP attributes to create a user-specific namespace to be expunged e.g.
mailExpungeTrash=namespace/inbox/mailbox/%{ldap:mailTrashMailbox}/autoexpunge
I can create the namespace fine returning the full string to be expunged:
mailExpungeTrash=namespace/inbox/mailbox/Deleted\_Messages/autoexpunge
However I want to alter the namespace using a second LDAP attribute like:
mailExpungeTrash=namespace/inbox/mailbox/%{ldap:mailTrashMailbox}/autoexpunge
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://dovecot.org/pipermail/dovecot/attachments/20221026/c1f1e442/attachment.sig>
More information about the dovecot
mailing list