Forward mail with same domain to different server.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Spridis

Forward mail with same domain to different server.

Postby Spridis » Sat Mar 17, 2007 1:44 pm

My old mailserver crashed last week so I installed Scalix on a new server.
The problem is that my scalix is configured with the same domainname as my ISP:s mailserver.
The old server was only used by a couple of users and it had no MX record so the mail was sent to it by using FQDN, the same is currently also used by the new Scalix server. Now when the Scalix users try to send mail to some user at ourdomain.com that's not on Scalix it will natrually fail. Is it possible to forward mails from scalix to our ISP:s mailserver even if the domainname is the same (not the scalix users, they must recieve emails as normal)?
I'm going to move all our users to Scalix in the future but there is no time for that now so I need a simple temporary fix to the problem.

KevinAnderson

Postby KevinAnderson » Mon Mar 19, 2007 12:05 pm

I'm not 100% sure what's happening here, but I suspect you can just use a smarthost.

If you edit /etc/sendmail.cf, look for a line which reads "DS" only. Simply change it to "DSisp.domain.com" and ALL outbound email will go to isp.domain.com. I think that's what you're after.

You'll need to restart sendmail (not Scalix) after you've made the change.

Kev.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests

cron