Irfan-Notes

Revision as of 20:42, 19 October 2008 by Irfan (talk | contribs)



Local mail delivery problem

If you don't want to configure split dns, you can use this. By default postfix performs a lookup against dns for a local (lmtp) delivery. If want to avoid configuring split dns, you can set postfix_lmtp_host_lookup to native mode. Then postfix will lookup in /etc/hosts file to deliver a local email rather than doing a dns query.

su - zimbra
zmlocalconfig -e postfix_lmtp_host_lookup=native

You may need to restart zmcontrol to update the setting.

Using zimbra server as store.

Delivering emails from an non-zimbra postfix server to Zimbra on lmtp (7025) port. This is an example for domain abc.com. Zimbra server address is server.zimbra.com

1. Make sure mx for abc.com pointed to postfix sever. And it can receive emails for abc.com 2. Create abc.com domain in zimbra. 3. Add "mailbox_transport" parameter to main.cf to deliver emails to zimbra server.

mailbox_transport = lmtp:<zimbra_hostname>:7025

Save and reload postfix.

Important: User account must be created on zimbra server whom mails are sent.

That should be enough to deliver all emails to zimbra server.


    • Under construction from here **

Holding the postfix queue at the time of migration. Specifically at the time when you need mailboxd to be running so that imapsync can inject emails.

Hold the queue: 1. postsuper -h ALL release the hold queue: postsuper -r ALL Delete the mailsfrom queue: 'cat /tmp/deletelist | /opt/zimbra/postfix/sbin/postsuper -d -'

Replace organiser of a meeting. 1) zmmailbox -z -m user@domain.com gru /Calendar > /tmp/resourceA.ics 2) modify resourceA.ics (i.e. change the organizer from user to the new person) and rename it to, say, resourceA_updated.ics 3) zmmailbox -z -m resourceA@laika.com pru /Calendar /tmp/resourceA_updated.ics

Jump to: navigation, search