| Предупреждение |
|---|
| All commands should be executed under zimbra user. |
Configuring transport table Use configuration block for Zimbra 5.0.9 or higher with the following string: zmlocalconfig -e postfix_transport_maps="hash:/opt/zimbra/postfix/conf/transportfile proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"
| Предупреждение |
|---|
| This command should be executed using zmlocalconfig. Editing main.cf will not be sufficient in the situation. |
- Check the existing transport table:
zmlocalconfig grep -i postfix_transport_maps Get the command output of the following form:
postfix_transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf - Create transport file:
mcedit /opt/zimbra/postfix/conf/infowatch - Add the following line to file:
dlp.iw :[192.168.0.144] - Check rights (zimbra should be owner of the group):
ll /opt/zimbra/postfix/conf/infowatch
chown zimbra:zimbra /opt/zimbra/postfix/conf/infowatch - Convert transport file to DB:
postmap /opt/zimbra/postfix/conf/infowatch - Add transport file before the default file:
zmlocalconfig -e postfix_transport_maps="hash:/opt/zimbra/postfix/conf/infowatch proxy:ldap:/opt/zimbra/conf/ldap-transport.cf" - Make sure, that relay_domains parameter of main.cf file contains all domains processed by server:
mcedit /opt/zimbra/postfix/conf/main.cf Find or create line:
relay_domains = mydomain.com, mydomain.org, dlp.iw
Configuring BCC - Add the following line to /opt/zimbra/postfix/conf/main.cf file:
/opt/zimbra/postfix/conf/main.cf - Reboot Zimbra:
zmcontrol restart
|