epiquestions
Programmer
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
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