Email permission with a plus sign (+) for landing in the same Zimbra mailbox

I want to allow email, for example myusername+something@mydomain.com , and not just myusername@mydomain.com using Zimbra - this is a feature in Gmail.

Anyone where to start to let this work? Postfix

+4
source share
2 answers

Yes, postfix is ​​the right place. See recipient_delimiter in postconf :

recipient_delimiter (default: empty)

Separator between usernames and addresses (user + foo). See Canonical (5), local (8), relocated (5) and virtual (5) for the effects it has on aliases, canonical, virtual, relocated and .forward file searches. Basically, the program tries user + foo and .forward + foo before trying the user and .forward.

Example:

 recipient_delimiter = + 
+6
source

How to implement this in Zimbra is possible on the official Zimbra wiki here:

http://wiki.zimbra.com/wiki/Plus_Addressing

Zimbra stores many Postfix parameters in LDAP, so changing the current Postfix configuration will not work.

To enable Plus Addressing with Zimbra, use zmprov as follows:

 zmprov mcf zimbraMtaRecipientDelimiter + 

Note that the delimiter may be a character other than "+".

To disable Plus Addressing, use zmprov as follows:

 zmprov mcf -- -zimbraMtaRecipientDelimiter + 

After making changes, you may need to restart tomcat to enable or disable this feature. Postfix should automatically receive changes, although registration may take a couple of minutes.

+7
source

Source: https://habr.com/ru/post/1343942/


All Articles