Accept unresolvable domains

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ink
Posts: 67
Joined: Mon May 23, 2005 3:53 pm

Accept unresolvable domains

Postby ink » Mon Jun 20, 2005 9:40 am

How can we configure Scalix to accept unresolvable domains? I've setup sendmail to accept them, but we're still bouncing mails:

Code: Select all

Message could not be delivered to the following recipient:

    root@blah.com

    because: A mail transport failure occurred


Supplementary Information:


    553 5.1.8 <root@nodns.blah.com>... Domain of sender address root@nodns.blah.com does not exist

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

Postby florian » Tue Jun 21, 2005 12:12 am

The problem is certainly sendmail, not Scalix.

I believe you can reconfigure sendmail to not to anything on the domain part, but what I normally do is just to help it.

It will try to resolve addresses using DNS and /etc/hosts - if you have DNS in place, you should simply setup MX records for your domain pointing to your server. If you don't have DNS, you should put extra entries in /etc/hosts pointing to your IP address, so e.g.

1.2.3.4 my.server.hostname
1.2.3.4 my.domain.name

Do not put my.domain.name as an alias on my.server.hostname, because otherwise the domain name will be canonicalized, i.e. replaced by the server hostname.

hope this helps,
Florian.
Florian von Kurnatowski, Die Harder!

ink
Posts: 67
Joined: Mon May 23, 2005 3:53 pm

Postby ink » Tue Jun 21, 2005 10:11 am

Strange; here are the relevant portions of my sendmail.m4:

Code: Select all

FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
LOCAL_DOMAIN(`blah.com')dnl
LOCAL_DOMAIN(`mail.blah.com')dnl

# ll sendmail.mc sendmail.cf
-rw-r--r--    1 root     root        58124 Jun  8 08:29 sendmail.cf
-rw-r--r--    1 root     root         6043 Jun  8 08:28 sendmail.mc

The server 'mail.blah.com' is *not* one of our three external MX servers, so it shouldn't (and doesn't) have records pointing to it. Our external servers are smtp[123].blah.com, which pass mail to the Scalix server (mail.blah.com) if it is appropriate (they run things like spamcop and such). The external MX servers have not changed at all since the installation of Scalix, and they worked fine with Exim. Any ideas of where else to look? I've tried adding an OK line to the access file for that particular non-resolvable domain, but that doesn't seem to work either.

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

Postby florian » Tue Jun 21, 2005 10:28 am

what flavour of linux is this running on?

-- f.
Florian von Kurnatowski, Die Harder!

ink
Posts: 67
Joined: Mon May 23, 2005 3:53 pm

Postby ink » Tue Jun 21, 2005 5:13 pm

Redhat Enterprise 3; default sendmail with the system (sendmail-8.12.11-4.RHEL3.1)

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

Postby ScalixSupport » Thu Jun 23, 2005 8:28 pm

Can mail.blah.com be resolved by DNS at all ? Can you post your /etc/hosts so that we can look at it ?


Cheers

Dave

theseacreature

Postby theseacreature » Tue Jan 17, 2006 11:09 pm

if you happen to be using Fedora core, please try this. Ensure you are not logged in as root, or logout from any account that is logged in the server. It worked for me! Hope it helped...


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests

cron