Domain of Sender Address Does Not Exist

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

csanburn
Posts: 24
Joined: Fri Mar 16, 2007 3:45 pm
Location: Warsaw, IN
Contact:

Domain of Sender Address Does Not Exist

Postby csanburn » Fri Apr 25, 2008 3:32 pm

Currently I've got two servers to handle email, one retrieves mail from an ISP and hands it off to Scalix. I'm going to switch to use having mail go straight to Scalix now. But my testings shows that Scalix is refusing all messages with the error:

553 5.1.8 name@domain.com...Domain of sender address name@domain.com does not exist

However, if I edit /etc/hosts and put in an entry for DOMAIN.COM then it works just fine. So apparently my Scalix is only resolving hosts via the /etc/hosts entries. From a command line on the server things resolve just fine.

Have I missed a configuration option in Scalix to tell it how to resolve host names?

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Sat Apr 26, 2008 4:18 am

Hi

Look at this post

viewtopic.php?p=45525

and

viewtopic.php?p=47657

Mike

csanburn
Posts: 24
Joined: Fri Mar 16, 2007 3:45 pm
Location: Warsaw, IN
Contact:

Domain of Sender Address Does Not Exist

Postby csanburn » Wed Apr 30, 2008 7:49 pm

Ok, concerning the first post.
It mentions alot about problems with Scalix Connector for Outlook, which for me is working fine so far. However, the DNS discussion may still apply to me so I did some checking on that end:
I have the scalix-default-mail and other entries in my zone file as follows:

$TTL 86400
@ IN SOA mail.mydomain.com. root.mail.mydomain.com. (
2007041201 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS mail.mydomain.com.
IN MX 10 mail.mydomain.com.
router IN A 192.168.1.1
mail IN A 192.168.1.2
scalix-default-mail IN CNAME mail.mydomain.com.

Also perfomed some checks:
hostname --fqdn
mail.mydomain.com
omcheckgc -h
mail.mydomain.com
hostname -f
mail.mydomain.com
omshowmnmp
mail mail.mydomain.com

and my /etc/hosts file contains:
127.0.0.1 localhost.localdomain localhost
192.168.1.2 mail.mydomain.com mail mydomain.com

Yet when I try to connect to scalix with "telnet mail.mydomain.com 25" I get the following error just as soon as the RCPT TO:user@mydomain.com is entered:

553 5.1.8 csanburn@myotherdomain.com... Domain of sender address csanburn@myotherdomain.com does not exist

And also in the /var/log/maillog I get this:
Apr 30 19:45:38 mail sendmail[14669]: m3UNjcOq014669: ruleset=check_mail, arg1=csanburn@myotherdomain.com, relay=root@localhost, reject=553 5.1.8 csanburn@myotherdomain.com... Domain of sender address csanburn@myotherdomain.com does not exist

Any other suggestions?

Chris

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Thu May 01, 2008 5:13 pm

Hi

Your host file should look like

Code: Select all

and my /etc/hosts file contains:
127.0.0.1 localhost.localdomain localhost
192.168.1.2 mail.mydomain.com mail


Mike

csanburn
Posts: 24
Joined: Fri Mar 16, 2007 3:45 pm
Location: Warsaw, IN
Contact:

Domain of Sender Address Does Not Exist

Postby csanburn » Thu May 01, 2008 5:44 pm

Thanks for the correction for the hosts file, got that corrected. The errors about "Domain of Sender Address Does not exist" still continue, however.

I also went into /etc/resolv.conf and removed the entries for my local DNS so it only used my ISPs DNS and that didn't help either.

Oh, also as additional info, I've also got ClamAV and Spamassin running, so Sendmail /Scalix are interfacing with those as well.

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Fri May 02, 2008 4:47 am

Hi

You can be pretty much assured that if you don't have your internal DNS setup correctly you will have multiple issues with Scalix (and MS Exchange even more so).

Look at the posts as above again. You missed the hosts. I admit these are very subtle but very important.

I have never used Clamv or Smapassassin from within Scalix prefering to do those functions at the gateway. Other may help you here. Onother approach is to temporarly disable these products whaile you are looking to resolve your issues.

Mike

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Fri May 02, 2008 2:26 pm

I saw this happen once where DNS and reverse DNS were setup incorrectly.

For instance, assume mail server is for mydomain.com and the mailserver is mymail. My mailserver sits in the DMZ, on a Comcast network. My MX record is hosted by an ISP that I use.

In my DNS, mymail.mydomain.com resolved to a real IP address (not a non-routable address).
In my ISP's records, they had an MX record for my domain that resolved to my IP address.
The problem was that Comcast had entered a reverse DNS entry to the real IP address, but had left off the server name, so the entry looked like: {ip address} mydomain.com

This caused numerous errors like you pointed out. Make sure if you are using an ISP that they have properly setup your reverse DNS info.
Check out my "Life with Scalix" blog at
http://swifttide.com/blog

csanburn
Posts: 24
Joined: Fri Mar 16, 2007 3:45 pm
Location: Warsaw, IN
Contact:

Domain of Sender Address Does Not Exist

Postby csanburn » Thu Jul 10, 2008 1:46 pm

Ok, after a long job of moving the corporate offices to a new location, and a long list of other problems, I'm back to working on this. I've disabled clamav, spamassassin and found the problem continues.
Am currently attempting to work with a new web hosting service and am going to get the reverse DNS for the scalix servers IP address fixed as it doesn't resolve back to the proper domain name.
Thanks to everyone for the assistance so far!

csanburn
Posts: 24
Joined: Fri Mar 16, 2007 3:45 pm
Location: Warsaw, IN
Contact:

Domain of Sender errors gone, but mail still rejected

Postby csanburn » Sat Aug 23, 2008 2:38 pm

I've worked with the ISP and the domain name provider and think I have all the DNS issues resolved. However, mail is still getting rejected, with the following error:

The error that the other server returned was: 553 553 sorry, mail to that recipient is not accepted (#5.7.1) (state 14).

Any ideas for why Scalix would be returning this error?

csanburn
Posts: 24
Joined: Fri Mar 16, 2007 3:45 pm
Location: Warsaw, IN
Contact:

Giving up on this mess

Postby csanburn » Mon Aug 25, 2008 6:28 pm

Well, the last problem I reported was due to other stupid mistakes on my part. Those were fixed and it's right back to "Domain of sender xxx@host.com does not exist". I verified that all domains resolve as they should, reverse dns for the IP address returns the domain domain assigned to the server, etc. So I've given up on mail coming directly into Sclaix and just added a new DAEMON_OPTIONS in sendmail.mc for the outside interface on port 2025 and I set the firewall to forward port 25 on to my scalix server at port 2025 so that Sendmail receives it and then passes it on to Scalis. Everything works just fine this way.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests