Migration question

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Sc00ter
Posts: 31
Joined: Fri Sep 12, 2014 10:09 pm

Migration question

Postby Sc00ter » Thu May 04, 2006 12:18 pm

Okay, I was following this page:

to">http://wiki.zimbra.com/index.php?title=Split_Domain
to
do a split domain for migration.
What I was doing (and tell me if this is wrong, and the correct way to do it if possible) was putting a .forward file in the user directories that were moving.
So we'll use the example.com domain used in the webpage example.
mail comes to user@example.com. The MX points to mail.example.com. So the mail gets delivered to user on mail.example.com. In their home directory they have a .forward that sends the mail to user@zimbra.example.com.
zimbra.example.com bounces with a relaying denied error.
How do I get that mail to user@example.com on the zimbra.example.com server?


Sc00ter
Posts: 31
Joined: Fri Sep 12, 2014 10:09 pm

Migration question

Postby Sc00ter » Thu May 04, 2006 12:42 pm

okay, I figured out one thing.. in the .forward file has to have the same hostname as the zimbra server.
So if you have zimbra.example.com you can't have the forward file say user@newmail.example.com.
I changed the .forward file to user@zimbra.example.com and ran another test.
This is now the current error.
----- The following addresses had permanent fatal errors -----

user@zimbra.example.com

(reason: 550 : Recipient address rejected: User unknown in local recipient table)

(expanded from: )
bparris
Posts: 37
Joined: Fri Sep 12, 2014 10:08 pm

Migration question

Postby bparris » Thu May 04, 2006 12:51 pm

postconf -e canonical_maps=hash:/opt/zimbra/conf/canonical

put "@zimbra.example.com @example.com" into the canonical file

postmap canonical

postfix stop

postfix start
Sc00ter
Posts: 31
Joined: Fri Sep 12, 2014 10:09 pm

Migration question

Postby Sc00ter » Thu May 04, 2006 1:05 pm

[quote user="bparris"]postconf -e canonical_maps=hash:/opt/zimbra/conf/canonical

put "@zimbra.example.com @example.com" into the canonical file

postmap canonical

postfix stop

postfix start[/QUOTE]
Well, that kind of worked.. But now if I send an email from the new zimbra server, it doesn't go to mail.example.com, it just delivers it locally on zimbra.example.com.
bparris
Posts: 37
Joined: Fri Sep 12, 2014 10:08 pm

Migration question

Postby bparris » Thu May 04, 2006 2:03 pm

[quote user="Sc00ter"]Well, that kind of worked.. But now if I send an email from the new zimbra server, it doesn't go to mail.example.com, it just delivers it locally on zimbra.example.com.[/QUOTE]
That's exactly what the split domain is supposed to do, for any account that exists in zimbra, deliver locally, otherwise forward to another server for delivery.
Sc00ter
Posts: 31
Joined: Fri Sep 12, 2014 10:09 pm

Migration question

Postby Sc00ter » Thu May 04, 2006 4:32 pm

[quote user="bparris"]That's exactly what the split domain is supposed to do, for any account that exists in zimbra, deliver locally, otherwise forward to another server for delivery.[/QUOTE]
There's no way to setup all the accounts on the zimbra server ahead of time and slowly migrate people over? I've already created the accounts.. I'd hate to have to remove them, than re-add them again.
rsharpe
Outstanding Member
Outstanding Member
Posts: 254
Joined: Fri Sep 12, 2014 9:59 pm

Migration question

Postby rsharpe » Fri May 05, 2006 7:36 am

You can on Zimbra just change the zimbraMailTransport attribute to send to the other server.
zmprov ma user@example.com zimbraMailTransport smtp:mail.example.com
bparris
Posts: 37
Joined: Fri Sep 12, 2014 10:08 pm

Migration question

Postby bparris » Fri May 05, 2006 2:07 pm

[quote user="Sc00ter"]There's no way to setup all the accounts on the zimbra server ahead of time and slowly migrate people over? I've already created the accounts.. I'd hate to have to remove them, than re-add them again.[/QUOTE]
Try setting the accounts inactive, see if that helps.

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 23 guests