1826373 Members
4406 Online
109692 Solutions
New Discussion

Re: sendmail

 
Linda Lux
Regular Advisor

sendmail

I am getting an error in my sendmail log:

ruleset=check_mail, arg1=AmericanID.com>, relay=fax [192.168.1.30], reject=501 Sender domain must exist

and when I restart sendmail:
root 1473 1 0 13:07:42 ? 0:00 sendmail: server fax [192.168.1.
30] cmd read

this comes up.
What file am I missing an entry in for this?
If it isn't one thing, it's another
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: sendmail

I have verified that the domain DOES exist.

The problem is probably with the DNS configuration of teh mail relay server.

That server needs to have its DNS connections checked. If its a Unix box, /etc/resolv.conf and or /etc/nsswitch.com should be checked.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeff Schussele
Honored Contributor

Re: sendmail

Hi Linda,

Believe this is being rejected because sendmail is not able to resolve an MX record for that 192.168.1.30 IP - the sender.
If you're using that faxserver to handle e-mail, you have to get it into DNS with an MX record. Sendmail is *very* picky about name resolution - in both directions - and rightly so. That's how spammers work.

Rgds,
Jef
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Linda Lux
Regular Advisor

Re: sendmail

should i have an entry in the resolv.conf
nameserver 192.168.1.30
?

in my nsswitch.conf files I have

hosts: files

Linda


If it isn't one thing, it's another
Steven E. Protter
Exalted Contributor

Re: sendmail

After re-reading the message, you might get further diagnosis from the following command:

sendmail -v -d8.99 -d38.99 FaxSr@AmericanID.com
type some text

.



Also, nslookup on the source server.
check for type MX.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: sendmail

nsswitch.conf is set to files.

Name resolution will take place in /etc/hosts only.

change nsswitch.conf to files,dns

Then you need to put a valid dns server in /etc/resolv.conf If the 192.168.1.30 server returns a valid answer for yahoo.com or americanid.com then yes, if not, see network administration for a valid one.

Your firewall may let you resolve dns on an outside DNS server provided by your ISP. More likely there is an internal one, which must be pointed at in /etc/resolv.conf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Steele_2
Honored Contributor

Re: sendmail

Use this command to verify the destination alias with the SMTP server. This command queries the STMP server and it responds with user known or unknown.

sendmail -v you@your_domain.com < /dev/null

-or-

sendmail -bv you@your_domain.com < /dev/null
Support Fatherhood - Stop Family Law
Uday_S_Ankolekar
Honored Contributor

Re: sendmail

If you are having DNS setup in your Network then Nsswitch.conf should have entry similar to this.
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]

and resolv.conf should have
domain yourdomain.com
nameserver ip address # Primary Name Server
nameserver Ip address # Secondary Name

Goodluck.
-USA..
Good Luck..
Michael Steele_2
Honored Contributor

Re: sendmail

I'm sorry. You're obviously not getting the response that you're looking for. So could you go to the mail.log file and copy / paste in the errors? Thanks!

tail /var/adm/syslog/mail.log
Support Fatherhood - Stop Family Law
Linda Lux
Regular Advisor

Re: sendmail

here is the linse of errors

Oct 7 13:07:40 K460 sendmail[13880]: NOQUEUE: timeout waiting for input from fa
x during server cmd read

Oct 7 13:07:43 K460 sendmail[1476]: NAA01476: ruleset=check_mail, arg1=mericanID.com>, relay=fax [192.168.1.30], reject=501 Sender domain must exist

Oct 7 13:07:43 K460 sendmail[1476]: NAA01476: from=, size
=0, class=0, pri=0, nrcpts=0, proto=SMTP, relay=fax [192.168.1.30]
If it isn't one thing, it's another
Michael Steele_2
Honored Contributor

Re: sendmail

Please run a traceroute to the dest. domain. Note the router. Maybe add a static route so the router knows where to go.
Support Fatherhood - Stop Family Law