How does Scalix resolve hostnames?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

robertk
Posts: 14
Joined: Wed Aug 30, 2006 11:36 am

How does Scalix resolve hostnames?

Postby robertk » Mon Feb 12, 2007 12:25 pm

I'm having a bit of a problem getting Scalix to send email to another internal mail server. Both mail servers are behind a firewall, both have internal IP addresses, both have external addresses accessible via NAT. Let's calll the Scalix box "mail" and the other box "dev".

The problem is that "mail" cannot send to "dev"s external address, which shouldnt happen anyway.

Although I have created an entry in the hosts file on "mail" for the internal address of "dev", Scalix still trys to send mail to the IP address resolved through DNS (the external address). The system itself resolves the address entry from the hosts file.

So, is there any way to make Scalix look at the entry in hosts rather than DNS?

The order of entries in nsswitch.conf is correct as well.

Any suggestions?

Rob

kanderson

Postby kanderson » Mon Feb 12, 2007 2:30 pm

Scalix will pass outbound messages to Sendmail for processing. You can override the DNS entries that Sendmail would use by using the mailertable in sendmail.

You'll just want to put an entry into the mailertable, build the hash, restart sendmail so it sees the change, and you should be fine.

Kev.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Mon Feb 12, 2007 2:36 pm

I believe that sendmail uses its own resolver library so the settings in nsswitch.conf/host.conf are effectively ignored.

You need to make a mailtertable entry for the host/domain in question, using square brackets to disable MX lookups, more info here:

http://www.sendmail.org/m4/mailertables.html

HTH
Ben Tisdall
www.redcircleit.com
London

robertk
Posts: 14
Joined: Wed Aug 30, 2006 11:36 am

Solution

Postby robertk » Mon Feb 12, 2007 2:37 pm

I added an entry to the sendmail mailertable with the internal address of the "dev" box and everything is working properly now.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests