Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mailx problems

Status
Not open for further replies.

epiquestions

Programmer
Oct 25, 2007
1
PH
I think that this has something to do with the mailserver. I have a script that automatically email data to people but it seems that when it is passed through the server the domain is doubled (see test domain in debug output)

ie testuser@test.user.com.TEST.user.com instead of just testuser@test.user.com

here is the verbose output (directories and domains have been renamed)

blabladirectory >> testmail@testdomain... Connecting to dms.testdomain. via esmtp...
testmail@testdomain... Connecting to mailsvr.testdomain. via esmtp...
220 ha-mail1 SMTP version 1.00;
>>> EHLO devsvr.testdomain
250-ha-mail1 [172.16.16.26] ... pleased to meet you
250-SIZE 31457280
250-XVERSION
250 HELP
>>> MAIL From:<roberta@devsvr.testdomain> SIZE=73
250 <roberta@devsvr.testdomain> ... sender OK
>>> RCPT To:<testmail@testdomain.testdomain>
250 <testmail@testdomain.testdomain> ... recipient OK
>>> DATA
354 Enter mail, end with "."<CRLF>
>>> .
250 A064E646C4C queued for delivery
testmail@testdomain... Sent (A064E646C4C queued for delivery)
Closing connection to mailsvr.testdomain.
>>> QUIT
221 ha-mail1 Closing connection

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top