migration - forwarding users to subdomain - loops back to me
Posted: Thu Nov 16, 2006 11:09 am
I thought we were going to do an "all-at-once" move to scalix - but it appears now we're going to do a phased migration with a few users moving at first.
So I'm trying to get scalix to work with the old legacy sendmail server - and only forward some users to the scalix server.
My understanding is that I setup scalix on a "subdomain" to do this - and forward users who have migrated:
user@domain.com -> user@sub.domain.com
(I'm doing this using /etc/aliases under sendmail)
I have MX records set up as follows:
MX 10 domain.com. mail.domain.com. = old server IP
MX 10 sub.domain.com. mail.sub.domain.com = new scalix server IP
on the scalix server /etc/mail/local-host-names includes both
domain.com
sub.domain.com
(and sendmail has been restarted)
I can send to scalix *directly* using:
user@sub.domain.com - and it accepts it fine.
However, when I try to send to user@domain.com - the old mail server *tries* to forward email to user@sub.domain.com, but gets confused, and gives me this error:
553 5.3.5 mail.sub.domain.com. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
I reference this post - which gave me some ideas to do this forwarding setup:
http://www.scalix.com/community/viewtopic.php?t=2151
What I'm worried about is: I originally set up scalix to receive domain.com email - and default to domain.com for email addresses, etc. Do I need to reset scalix to default to sub.domain.com?
Or perhaps it is that both servers have the "same value of $j" (domain name) as mentioned in the sendmail docs? (nothing else seems to apply)
http://www.sendmail.org/faq/section4.html#4.5
Any help / ideas are greatly appreciated.
What I'm trying to do is have all users appear to be "@domain.com" and have the 2 servers work together as well as possible - with only a few users migrated to the new scalix server (for now).
So I'm trying to get scalix to work with the old legacy sendmail server - and only forward some users to the scalix server.
My understanding is that I setup scalix on a "subdomain" to do this - and forward users who have migrated:
user@domain.com -> user@sub.domain.com
(I'm doing this using /etc/aliases under sendmail)
I have MX records set up as follows:
MX 10 domain.com. mail.domain.com. = old server IP
MX 10 sub.domain.com. mail.sub.domain.com = new scalix server IP
on the scalix server /etc/mail/local-host-names includes both
domain.com
sub.domain.com
(and sendmail has been restarted)
I can send to scalix *directly* using:
user@sub.domain.com - and it accepts it fine.
However, when I try to send to user@domain.com - the old mail server *tries* to forward email to user@sub.domain.com, but gets confused, and gives me this error:
553 5.3.5 mail.sub.domain.com. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
I reference this post - which gave me some ideas to do this forwarding setup:
http://www.scalix.com/community/viewtopic.php?t=2151
What I'm worried about is: I originally set up scalix to receive domain.com email - and default to domain.com for email addresses, etc. Do I need to reset scalix to default to sub.domain.com?
Or perhaps it is that both servers have the "same value of $j" (domain name) as mentioned in the sendmail docs? (nothing else seems to apply)
http://www.sendmail.org/faq/section4.html#4.5
Any help / ideas are greatly appreciated.
What I'm trying to do is have all users appear to be "@domain.com" and have the 2 servers work together as well as possible - with only a few users migrated to the new scalix server (for now).