Decided to do a quick test.
From ‘Read User Mail’ in Webmin email gets sent fine with right headers if I type a message in there.
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on server.revnet
X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS autolearn=ham
Received: by 110-175-205-112.static.tpgi.com.au (Postfix)
id 848B6D615BA; Sat, 5 Jul 2014 14:21:59 +0800 (WST)
Date: Sat, 5 Jul 2014 14:21:59 +0800 (WST)
From: MAILER-DAEMON@server.revnet (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
Content-Type: multipart/report; report-type=delivery-status;
This is a MIME-encapsulated message.
Content-Type: text/plain; charset=us-ascii
This is the mail system at host 110-175-205-112.static.tpgi.com.au.
I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
***@tpg.com.au: host mx1.tpgi.com.au[184.108.40.206] said: 553 5.1.8
***@tpg.com.au… Domain of sender address email@example.com
does not exist (in reply to RCPT TO command)
Content-Description: Delivery report
Reporting-MTA: dns; 110-175-205-112.static.tpgi.com.au
X-Postfix-Sender: rfc822; firstname.lastname@example.org
Arrival-Date: Sat, 5 Jul 2014 14:21:56 +0800 (WST)
Final-Recipient: rfc822; ***@tpg.com.au
Remote-MTA: dns; mx1.tpgi.com.au
Diagnostic-Code: smtp; 553 5.1.8 ***@tpg.com.au… Domain of sender
address email@example.com does not exist
Content-Description: Undelivered Message
Received: by 110-175-205-112.static.tpgi.com.au (Postfix, from userid 1002)
id A1618D615B9; Sat, 5 Jul 2014 14:21:56 +0800 (WST)
Subject: PHP Mail Test script
Date: Sat, 5 Jul 2014 14:21:56 +0800 (WST)
This is a test to check the PHP Mail functionality
From a php script same issues with headers and mail is rejected by my ISP.
From - Sat Jul 05 14:02:40 2014
Received: from deliver ([unix socket])
by spool-host7.tpgi.com.au (Cyrus v2.4.13) with LMTPA;
Sat, 05 Jul 2014 16:02:34 +1000
X-TPG-Junk-Status: score=0.0 tests=
X-TPG-Abuse: host=110-175-205-112.static.tpgi.com.au; ip=220.127.116.11; date=Sat, 5 Jul 2014 16:02:32 +1000
Received: from server.revnet (110-175-205-112.static.tpgi.com.au [18.104.22.168])
by mx1.tpgi.com.au (envelope-from firstname.lastname@example.org) (8.14.3/8.14.3) with ESMTP id s6562Uth028275
for <***@tpg.com.au>; Sat, 5 Jul 2014 16:02:32 +1000
Received: by server.revnet (Postfix, from userid 0)
id 454E8D61565; Sat, 5 Jul 2014 14:02:46 +0800 (WST)
X-Mailer: Webmin 1.690
Date: Sat, 05 Jul 2014 14:02:46 +0800 (WST)
Content-Type: multipart/mixed; boundary="bound1404540166"
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=UTF-8
yo from server
I feel that this issue cant be solved by anyone here not even the staff.
I think its to do with PHP and scripts as sending from the ‘Read User Mail’ tab works and Roundmail also works but a php file won’t not even wordpress.
Im going to be redoing my server setup due to some other changes I want to do from Ubuntu to to Centos 6.5 and I will be looking at offering between $50-$100 AUD for a fix depending on the type of fix this is unless someone is kind enough to offer me a solution for free but I feel this has gone on long enough that its probably worth thanking whoever can fix this.