Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

mail send error!!!help me!!

Paul_416
Occasional Visitor

mail send error!!!help me!!

The original message was received at Mon,7 Jun 2004 14:44:35 +0800 from[221.216.107.33]

---- The following addresses had permanent fatal errors ------
Yamashita.shujiro@CHN.XEROX.COM
(reason:501.5.0.0 Disallowed name in HELO/EHLO:localhost.localdomain)

---- Transcript of session follows -----
451 4.4.1 reply:read error from sgpaghq-coi2.sgp.xerox.com.
451 4.4.1 reply:read error from chnhkgcp3-bh01.hkg.xerox.com.
....while talking to mailer-east.xerox.com.:
>>>HELO localhost.localdomain
<<<501 5.0.0 Disallowed name in HELO/EHLO: localhost.localdomain
554 5.0.0 Service unavailable

Any suggestions or comments?
5 REPLIES
Jeroen Peereboom
Honored Contributor

Re: mail send error!!!help me!!

Paul,

check this one as a starter http://nemesis.lonestar.org/site/mail_trouble.html

JP
Paul_416
Occasional Visitor

Re: mail send error!!!help me!!

can't open net page
Jeroen Peereboom
Honored Contributor

Re: mail send error!!!help me!!

I can open the page.
I found it using google.

JP
Geoff Wild
Honored Contributor

Re: mail send error!!!help me!!

Sounds like your DNS / resolver isn't setup right:

The domain name given in the HELO/EHLO command MUST BE either a primary host name (a domain name that resolves to an A RR).

You are sending as localhost.localdomain

If using sendmail, then add to the DM macro in sendmail.cf:

DMyourdomain.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.
Jose Mosquera
Honored Contributor

Re: mail send error!!!help me!!

Hi,

You set your HP-UX like as a "gateway" mail server, So you need configuring the "Smart relay host" feature defined in /etc/mail/sendmail.cf file. For this you must be set DS variable:
DS

Where will be your smtp engine server and must be reachable from your HP-UX server. You can define this alias into /etc/file, and test it by ping command.

Then restart the sendmail service:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

To try send an email from your HP-UX server to any valid domain address, i.e:
#echo "Hi, this is a test"|/usr/sbin/sendmail -v Yamashita.shujiro@CHN.XEROX.COM

Where "-v" option is the verbose option and allow you make a sending debug.

Any undeliveriable email will stored into dead letter file.

Rgds.