Postby ScalixSupport » Tue May 01, 2007 7:27 am
You are getting that 553 error because there is neither an A nor an MX for that machine.
An A record is enough, sendmail just wants to be able to resolve the host.
If you add hostnames in your access that sendmail can't resolve, then it doesn't know
which host that is from which it should accept mail. That's why your access doesn't
work. If you use the @domain syntax in the access that would fly, but not hosts it can't
resolve. The access isn't designed to fix dns problems, but rather to provide host based
access control. It's not access control if I can claim to be securehost.yourcompany.com
but am really evil.attacker.net ....
The quick and dirty fix is to disable that check by adding
dnl FEATURE(`accept_unresolvable_domains')dnl
to either sendmail.mc or submit.mc (depends on distro - don't have a CentOS on hand to test) then restarting sendmail (the sendmail init script should rebuild your conf automatically) then running omsendin to add the scalix specific stuff to sendmail. If that
doesn't work, try deleting sendmail.cf and submit.cf by hand and restarting the daemon again, then omsendin again.
The *clean* fix would be to simply make host.company.com resolve to an ip address. All sendmail wants is an A-record for that host in DNS. If you can dig -t any the host and get an A or an MX back, you're golden.
Hope this helps.
Regards,
Subir