Operating System - HP-UX
1833059 Members
2770 Online
110049 Solutions
New Discussion

501 Sender domain must exist

 
Edwin Ruiz_2
Super Advisor

501 Sender domain must exist

Hi!

I im using sendmail on HP-UX 11.11. If i use #sendmail -v druiz@taca.com mail is sent, but i i use :
oratan1a>telnet 172.17.16.61 25
Trying...
Connected to 172.17.16.61.
Escape character is '^]'.
220 oratan1a.taca.com ESMTP Sendmail 8.9.3 (PHNE_29774)/8.9.3; Mon, 19 Dec 2005
11:32:22 -0600 (CST)
mail from:druiz@taca.com
501 Sender domain must exist

i get the message 501 Sender domain must exist

somebody can help me!

thx
10 REPLIES 10
Geoff Wild
Honored Contributor

Re: 501 Sender domain must exist

Yes - your server's domain does not exist - taca.com - atleast the server 172.17.16.61 doesn't think so...

Where does the first one (sendmail -v) go to? same server 172.17.16.61?

Also - where are you telneting from - is that server in the taca.com domain? If not - then you need to set the DM macro in sendmail.cf to taca.com

Rgds...Geoff





Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Edwin Ruiz_2
Super Advisor

Re: 501 Sender domain must exist

sendmail -v goes to other server.

I am using telnet to oratan1a itself
Geoff Wild
Honored Contributor

Re: 501 Sender domain must exist

Well...taca.com does have an A record and MX records - but I see NO A record for oratan1a.taca.com...

So, as I said above, try setting the DM macro on oratan1a to DMtaca.com

stop/start sendmail

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Edwin Ruiz_2
Super Advisor

Re: 501 Sender domain must exist

I change macro DM to DMtaca.com... same problem.

Where is the MX record on HP-UX?
Geoff Wild
Honored Contributor

Re: 501 Sender domain must exist

MX records are in DNS...

Anthying in /var/adm/syslog/mail.log ?

Rgds..Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Edwin Ruiz_2
Super Advisor

Re: 501 Sender domain must exist

This is a piece of /var/adm/syslog/mail.log

thx

Dec 19 13:22:33 oratan1a sendmail[24993]: NOQUEUE: Authentication-Warning: orata
n1a.taca.com: root@oratan1a [172.17.16.61] didn't use HELO protocol
Dec 19 13:22:33 oratan1a sendmail[24993]: NAA24993: ruleset=check_mail, arg1=dru
iz@taca.com, relay=root@oratan1a [172.17.16.61], reject=501 Sender domain must e
xist
Dec 19 13:22:33 oratan1a sendmail[24993]: NAA24993: from=druiz@taca.com, size=0,
class=0, pri=0, nrcpts=0, proto=SMTP, relay=root@oratan1a [172.17.16.61]
Geoff Wild
Honored Contributor

Re: 501 Sender domain must exist

In /etc/hosts, try adding the fully qualified domain name to oratan1a

172.17.16.61 oratan1a.taca.com oratan1a

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Edwin Ruiz_2
Super Advisor

Re: 501 Sender domain must exist

same problem... Do i need some patch for sendmal?
Geoff Wild
Honored Contributor

Re: 501 Sender domain must exist

What do you get when you do:

nslookup -q=MX taca.com


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Edwin Ruiz_2
Super Advisor

Re: 501 Sender domain must exist

I open a call on HP and we did this procedure

# cd /user/newconfig/etc/mail/cf/cf

# ./gen_cf