Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allowing emails with a plus (+) symbol to land in the same Zimbra mailbox

I want to allow emails like [email protected] instead of simply [email protected] using Zimbra - this is a feature on Gmail.

Does anyone where to begin looking to allow this to work? Postfix?

like image 352
Amit Kothari Avatar asked Mar 16 '11 14:03

Amit Kothari


Video Answer


2 Answers

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

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

Zimbra stores a lot of Postfix parameters in LDAP so modifying the running Postfix config won't work.

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

zmprov mcf zimbraMtaRecipientDelimiter +

Note that the delimiter can be a character other than '+'.

To disable Plus Addressing, use zmprov as follows:

zmprov mcf -- -zimbraMtaRecipientDelimiter +

After making changes to enable or disable this feature, it may be required to restart tomcat. Postfix should pick up the changes automatically, though it may take a couple minutes to register.

like image 155
elbob Avatar answered Sep 27 '22 17:09

elbob


Yeah, postfix is the right place. Look at recipient_delimiter in the postconf docs:

recipient_delimiter (default: empty)

The separator between user names and address extensions (user+foo). See canonical(5), local(8), relocated(5) and virtual(5) for the effects this has on aliases, canonical, virtual, relocated and on .forward file lookups. Basically, the software tries user+foo and .forward+foo before trying user and .forward.

Example:

recipient_delimiter = +
like image 28
dkarp Avatar answered Sep 27 '22 16:09

dkarp