Plus Addressing: Difference between revisions

No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Archive}}{{WIP}}Plus Addressing is a feature that allows a sender to append a tag to the user id of a recipient. This lets the recipient more easily sort the incoming mail using a mail filter.
{{BC|Community Sandbox}}
__FORCETOC__
<div class="col-md-12 ibox-content">
=Plus Addressing=
{{KB|{{Unsupported}}|{{ZCS 6.0}}|{{ZCS 8.0}}|{{ZCS 8.5}}|{{ZCS 8.6}}||}}


For example, user@domain.com could also be reached using the address user+tag@domain.com.
Plus Addressing is a feature that allows a sender to append a tag to the user id of a recipient.  This lets the recipient more easily sort the incoming mail using a mail filter.
 
For example, user@zimbra.lab could also be reached using the address user+tag@zimbra.lab.


To enable Plus Addressing with Zimbra, use zmprov as follows:
To enable Plus Addressing with Zimbra, use zmprov as follows:
<code><pre>zmprov mcf zimbraMtaRecipientDelimiter +</pre></code>
<pre>zmprov mcf zimbraMtaRecipientDelimiter +</pre>


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


To disable Plus Addressing, use zmprov as follows:
To disable Plus Addressing, use zmprov as follows:
<code><pre>zmprov mcf -- -zimbraMtaRecipientDelimiter +</pre></code>
<pre>zmprov mcf -- -zimbraMtaRecipientDelimiter +</pre>
 
After making changes to enable or disable this feature, you can restart the postfix service :
<pre>zmmtactl restart</pre>
 
And check that the postfix configuration has the right value :
<pre>
postconf recipient_delimiter
recipient_delimiter = +
</pre>
 
==Disable addresses (since 8.5.0)==
 
If you want to disable a specific address, e.g. because it has been targeted by spam, you can enable a postfix recipient and client restriction map.
 
Create the postfix recipient access file:
<pre>touch /opt/zimbra/conf/postfix_recipient_access</pre>
 
Edit the file to include the address:
<pre>user+spam@zimbra.lab 550 User Unknown</pre>


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.
Build the lmdb file:
<pre>postmap /opt/zimbra/conf/postfix_recipient_access</pre>


{{Article Footer|unknown|4/6/2007}}
Enable check_recipient_access:
<pre>zmprov mcf +zimbraMtaRestriction "check_recipient_access lmdb:/opt/zimbra/conf/postfix_recipient_access"</pre>


[[Category: Configuration]]
{{Article Footer|Zimbra Collaboration Suite 8.0, 8.5, 8.6, 8.7|4/6/2007}}
{{NeedSME|SME1|SME2|Copyeditor}}

Latest revision as of 18:05, 6 April 2016

Plus Addressing

   KB 1909        Last updated on 2016-04-6  




0.00
(0 votes)

Plus Addressing is a feature that allows a sender to append a tag to the user id of a recipient. This lets the recipient more easily sort the incoming mail using a mail filter.

For example, user@zimbra.lab could also be reached using the address user+tag@zimbra.lab.

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, you can restart the postfix service :

zmmtactl restart

And check that the postfix configuration has the right value :

postconf recipient_delimiter
recipient_delimiter = +

Disable addresses (since 8.5.0)

If you want to disable a specific address, e.g. because it has been targeted by spam, you can enable a postfix recipient and client restriction map.

Create the postfix recipient access file:

touch /opt/zimbra/conf/postfix_recipient_access

Edit the file to include the address:

user+spam@zimbra.lab 550 User Unknown

Build the lmdb file:

postmap /opt/zimbra/conf/postfix_recipient_access

Enable check_recipient_access:

zmprov mcf +zimbraMtaRestriction "check_recipient_access lmdb:/opt/zimbra/conf/postfix_recipient_access"
Verified Against: Zimbra Collaboration Suite 8.0, 8.5, 8.6, 8.7 Date Created: 4/6/2007
Article ID: https://wiki.zimbra.com/index.php?title=Plus_Addressing Date Modified: 2016-04-06



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Quanah
Jump to: navigation, search