Hi all,
we are migrating from Zarafa to Zimbra user per user.
On the Zarafa-server we put in /etc/postfix/transport following:
user@domain smtp:[IP]:25
The mails are now forwarded to Zimbra, but without a copy in Zarafa. Is there a possibility to keep a copy of the mail in Zarafa? Just for the case that the migration failed?
Thanks in advance.
Best Tom
postfix forward email and keep copy
Re: postfix forward email and keep copy
Why don't you try using IMAPSYNC:
https://wiki.zimbra.com/wiki/Guide_to_imapsync
https://wiki.zimbra.com/wiki/Mail_Migration
https://wiki.zimbra.com/wiki/Guide_to_imapsync
https://wiki.zimbra.com/wiki/Mail_Migration
Re: postfix forward email and keep copy
Hey thanks for reply,
We do using imapsync. At first we do a presync and before final sync we edit transport-file to forward every new incoming mail to Zimbra. The plan is to do that until the migration has finished.
We do using imapsync. At first we do a presync and before final sync we edit transport-file to forward every new incoming mail to Zimbra. The plan is to do that until the migration has finished.
Re: postfix forward email and keep copy
I don't know about Zarafa, but with postfix you could define a transport ending up in a script (you could write it in perl, or any other language you are familiar with).
This script would take the email as standard-input, and at the end it should do 2 thing:
- pipe the message to a local lmtp
- pipe the message to zimbra smtp
This is the short version, of course a working implementation of this would take some work
This script would take the email as standard-input, and at the end it should do 2 thing:
- pipe the message to a local lmtp
- pipe the message to zimbra smtp
This is the short version, of course a working implementation of this would take some work