Page 1 of 1
Accept unresolvable domains
Posted: Mon Jun 20, 2005 9:40 am
by ink
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
Posted: Tue Jun 21, 2005 12:12 am
by florian
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.
Posted: Tue Jun 21, 2005 10:11 am
by ink
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.
Posted: Tue Jun 21, 2005 10:28 am
by florian
what flavour of linux is this running on?
-- f.
Posted: Tue Jun 21, 2005 5:13 pm
by ink
Redhat Enterprise 3; default sendmail with the system (sendmail-8.12.11-4.RHEL3.1)
Posted: Thu Jun 23, 2005 8:28 pm
by ScalixSupport
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
Posted: Tue Jan 17, 2006 11:09 pm
by theseacreature
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...