1827295 Members
3953 Online
109717 Solutions
New Discussion

Problem with mailx

 
SOLVED
Go to solution
twtandigi.com.my
Frequent Advisor

Problem with mailx

hi,

i am using a hp-ux and have a problem with my configuration and the worst part is i am not sure where to start.
mailx is not able to send the email out
here is the error.

----- Transcript of session follows -----
... while talking to mailrly.cdf.com.my.:
>>> MAIL From: SIZE=76
<<< 553 5.1.8 ... Domain of sender address calvin@dns1.dns1.abc.net does not exist
501 Data format error

--RAA09147.1089107133/dns1 dns1.abc.net
Content-Type: message/delivery-status

Reporting-MTA: dns; dns1 dns1.abc.net
Arrival-Date: Tue, 6 Jul 2004 17:45:27 +0800 (SST)

Final-Recipient: RFC822; twtan@cdf.com.my
Action: failed
Status: 5.1.3
Remote-MTA: DNS; mailrly.cdf.com.my
Diagnostic-Code: SMTP; 553 5.1.8 ... Domain of sender address calvin@dns1.dns1.abc.net
does not exist
Last-Attempt-Date: Tue, 6 Jul 2004 17:45:33 +0800 (SST)

--RAA09147.1089107133/dns1 dns1.abc.net
Content-Type: message/rfc822

Return-Path: calvin
Received: (from root@localhost) by dns1 dns1.abc.net (8.9.3 (PHNE_29773)/8.7.1) id RAA09145 for twtan@cdf.com.my; Tue, 6 Jul 2004 17:45:27 +0800 (SST)
Date: Tue, 6 Jul 2004 17:45:27 +0800 (SST)
From: Calvin
Message-Id: <200407060945.RAA09145@dns1 dns1.abc.net>
To: myaddress@cdf.com.my
Subject: test
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


--RAA09147.1089107133/dns1 dns1.abc.net--

how can i change this address
calvin@dns1.dns1.abc.net

to only
calvin@dns1.abc.net


2 REPLIES 2
Naveej.K.A
Honored Contributor
Solution

Re: Problem with mailx

hi

hope you are using sendmail as your MTA (as it is widely used in unix environment). if so what is the entry for your official domain name in /etc/sendmail.cf...it is the Dj$w which defines the official domain name.

and what is there after DM

it should look like DMdns1.abc.net which masquerades your domain to look like as it is coming from dns1.abc.net

hope this helps

with best wishes
Naveej
practice makes a man perfect!!!
twtandigi.com.my
Frequent Advisor

Re: Problem with mailx

Thank you very much.
The problem was solved.
was a typo error in the sendmail.cf file

thank you