ZCS Sympa integration

Revision as of 00:05, 26 August 2009 by Msallee (talk | contribs) (New page: == 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 rel...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


sympa.virtual.regexp:

/^(.*)-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.

MS

Jump to: navigation, search