Page 1 of 1

Stopping the scalix mailer form performing an MX lookup

Posted: Fri Dec 14, 2007 8:22 am
by Shaun
Hi there,

I'm using a scalix box inside a internal network. The box has to forward all email not meant for the scalix box's domain to a smart host, which it does fine - the problem I have is that I think the scalix mailer itself is performing a mx lookup, which, as the box is not connected to a external DNS, slows it down. In the past, on other SMTP boxes, I've defined the mailer flags on the SMTP & RELAY mailers to include the "0" flag (don't perform an mxlookup) - Does any one know what the EXACT command is for the scalix mailer? I've tried MODIFY_MAILER_FLAGS in my sendmail.mc file, but I'm not sure what mailer to specify.

TIA :D

Posted: Mon Dec 17, 2007 10:38 am
by Shaun
Extra info - I've also tried adding the "0" flag manually to the mailer definition, and using the service.switch file, but it's almost as if something else other than sendmail is doing a mx lookup - help!

Posted: Fri Dec 21, 2007 6:45 am
by Shaun
anybody?

Posted: Sat Dec 22, 2007 1:52 pm
by florian
Hi,

can't comment on the solution, but the only thing ever doing any MX lookups in a Scalix environment is sendmail. Scalix itself doesn't do any DNS lookups other than hostname to IP for network connections.

The one thing I do know that it's pretty hard to get rid of sendmail doing MX lookups. It's typically not part of the mailer definition, but rather of some check_names, checjk_sender_domain, etc., and other anti-spam features of sendmail.

Google for sendmail and nodns and you should find pointers.

Florian.

Posted: Sat Dec 22, 2007 3:50 pm
by Mikev
hi there is a way

add this to Sendmail.mc

Code: Select all

FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`nocanonify')dnl
-   Add these lines to stop sendmail from trying to resolve domains (due to firewalling)


then

[quote]
“make –C /etc/mail/â€

Posted: Sat Dec 22, 2007 4:05 pm
by florian
good,yes, these were the two. :-)

Florian.

Posted: Wed Jan 09, 2008 10:55 am
by Shaun
already got these in :(

Oh well, never mind...