Stopping the scalix mailer form performing an MX lookup

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Shaun
Posts: 47
Joined: Mon Nov 12, 2007 10:54 am

Stopping the scalix mailer form performing an MX lookup

Postby Shaun » Fri Dec 14, 2007 8:22 am

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

Shaun
Posts: 47
Joined: Mon Nov 12, 2007 10:54 am

Postby Shaun » Mon Dec 17, 2007 10:38 am

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!

Shaun
Posts: 47
Joined: Mon Nov 12, 2007 10:54 am

Postby Shaun » Fri Dec 21, 2007 6:45 am

anybody?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Dec 22, 2007 1:52 pm

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.
Florian von Kurnatowski, Die Harder!

Mikev

Postby Mikev » Sat Dec 22, 2007 3:50 pm

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/â€

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Dec 22, 2007 4:05 pm

good,yes, these were the two. :-)

Florian.
Florian von Kurnatowski, Die Harder!

Shaun
Posts: 47
Joined: Mon Nov 12, 2007 10:54 am

Postby Shaun » Wed Jan 09, 2008 10:55 am

already got these in :(

Oh well, never mind...


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron