Coexist with sendmail on another mail server?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jmadden
Posts: 10
Joined: Fri Oct 21, 2005 7:08 pm

Coexist with sendmail on another mail server?

Postby jmadden » Tue Mar 28, 2006 4:56 pm

I'm currently using sendmail as our MTA. I've set up Scalix 10CE on another machine, and wish to *slowly* migrate users from sendmail/pop on the old server, over to using Scalix, a fews users at a time. The account, domain, and email names on both machines need to be the same, so as to minimize disruption and confusion. Normally, if I were just using sendmail, I would create an alias on each machine for the account(s) I want to migrate. (e.g. fred.jones: fred.jones@scalix), with "scalix" being the machine name. However, Scalix doesn't seem to like that, always returning a "User Unknown" error to the sender. If I telnet to the scalix box on port 25, when I set rcpt to:fred.jones, I get "fred.jones@scalix.mydomain.com... User unknown". I don't want it to look for "fred.jones@scalix.mydomain.com", just fred.jones@mydomain.com.

Can my old email server and my new email server coexist?

Thanks for any ideas!

Jimmy Madden
Health Services, Inc.
Montgomery, AL

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Mar 28, 2006 5:25 pm

Hi Jimmy,

You can do either of two things. One, you can create secondary Internet addresses for each user that just has the domain name (i.e. fred.jones@mydomain.com). Or you can edit your /var/opt/scalix/sys/smtpd.cfg file and add the line:

Code: Select all

DOMAIN_NAME=mydomain.com


just under the EXTENSIONS= line. Once done, restart the SMTP Relay by typing:

Code: Select all

omoff -d0 smtpd
omon smtpd


Thanks,
Rachel

mephisto

Postby mephisto » Tue Mar 28, 2006 5:29 pm

This has been mentioned numerous times both in the forums and the manuals. Scalix does not have the concept of domains. Either it knows a user or it doesn't. If it doesn't, then the emails are handed off to sendmail which simply checks for the according mx. So just make sure your dns is configured accordingly and the old mailserver has forwards for all migrated users.

jmadden
Posts: 10
Joined: Fri Oct 21, 2005 7:08 pm

Postby jmadden » Tue Mar 28, 2006 7:26 pm

>>You can do either of two things. One, you can create secondary Internet addresses for each user that just has the domain name (i.e. fred.jones@mydomain.com).

That is what's already showing in the Admin Console under Email Addresses. It doesn't have fred.jones@scalix.mydomain.com. The lone email address listed is fred.jones@mydomain.com. That's what I'm confused about. When I telnet to the scalix box on port 25, the command "rcpt to:fred.jones" returns the error "550 5.1.1 fred.jones@scalix.mydomain.com... User unknown" Where is it picking up the "scalix" from? The command "rcpt to:fred.jones@mydomain.com" naturally results in a "250 Ok" message.

Have I got something bolluxed up here, or am I just having a "duh!" moment?

Many thanks,
Jimmy

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Mar 28, 2006 7:49 pm

Hi Jimmy,

My fault, the secondary address example should have been fred.jones@scalix.mydomain.com. The issue is that you're sending to just "fred.jones" and so the SMTP Relay appends an address. The address it appends is the value of DOMAIN_NAME which by default is your servers FQDN. If you want it to be something else, you need to define it in the smtpd.cfg file as shown in my previous message.

Thanks,
Rachel


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 15 guests