ZCS Sympa integration

Integrating Zimbra with Sympa listserv tool

Sympa is a mailing lists management software: http://www.sympa.org similar to Mailman, but providing more options for connecting with relational databases such as Oracle and MySQL. Here are some guidelines for configuring Zimbra's postfix with Sympa.

Postfix configuration:

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

zmprov mcf zimbraMtaRecipientDelimiter +

To forward certain addresses to Sympa:

Create a regexp aliases file (sympa.virtual.regexp) to contain addresses that will be forwarded to the Sympa server. In this example, the Sympa server is on a separate system from the mail server to avoid performance problems on either server.


/^(.*)-admins@server.edu/ $1-request@sympa.server.edu

/^(sympa.*)@server.edu/ $1@sympa.server.edu

/^(testlist.*)@server.edu/ $1@sympa.server.edu

To modify Zimbra's postfix configuration, you cannot modify the files directly - changes will not be kept. Instead do:

zmlocalconfig -e virtual_alias_maps=proxy:ldap:/opt/zimbra/conf/ldap-vam.cf,regexp:/opt/zimbra/postfix/conf/sympa.virtual.regexp

zmlocalconfig -e sympa_destination_recipient_limit=1

zmlocalconfig -e sympabounce_destination_recipient_limit=1

Zimbra regenerates main.cf. If you want to persistently change the postfix config, I believe you need to edit /opt/zimbra/conf/zmmta.cf instead and add/change a POSTCONF line:

POSTCONF virtual_alias_maps proxy:ldap:/opt/zimbra/conf/ldap-vam.cf,regexp:/opt/zimbra/postfix/conf/sympa.virtual.regexp

These changes are also not persistent across Zimbra upgrades, so it was recommended that they be kept under version control for easy re-apply.


Verified Against: unknown Date Created: 8/25/2009
Article ID: https://wiki.zimbra.com/index.php?title=ZCS_Sympa_integration Date Modified: 2015-03-24

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 »

Jump to: navigation, search