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.
Return-Path: <>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on server.revnet
X-Spam-Level:
X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS autolearn=ham
autolearn_force=no version=3.4.0
X-Original-To: drguild@server.revnet
Delivered-To: drguild@server.revnet
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
To: drguild@server.revnet
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary=“A1618D615B9.1404541319/110-175-205-112.static.tpgi.com.au”
Message-Id: 20140705062159.848B6D615BA@110-175-205-112.static.tpgi.com.au
This is a MIME-encapsulated message.
–A1618D615B9.1404541319/110-175-205-112.static.tpgi.com.au
Content-Description: Notification
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[203.12.160.122] said: 553 5.1.8
***@tpg.com.au… Domain of sender address drguild@server.revnet
does not exist (in reply to RCPT TO command)
–A1618D615B9.1404541319/110-175-205-112.static.tpgi.com.au
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; 110-175-205-112.static.tpgi.com.au
X-Postfix-Queue-ID: A1618D615B9
X-Postfix-Sender: rfc822; drguild@server.revnet
Arrival-Date: Sat, 5 Jul 2014 14:21:56 +0800 (WST)
Final-Recipient: rfc822; ***@tpg.com.au
Action: failed
Status: 5.1.8
Remote-MTA: dns; mx1.tpgi.com.au
Diagnostic-Code: smtp; 553 5.1.8 ***@tpg.com.au… Domain of sender
address drguild@server.revnet does not exist
–A1618D615B9.1404541319/110-175-205-112.static.tpgi.com.au
Content-Description: Undelivered Message
Content-Type: message/rfc822
Return-Path: drguild@server.revnet
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)
To: ***@tpg.com.au
Subject: PHP Mail Test script
X-PHP-Originating-Script: 1002:testmail.php
From:drguild@drguild.noip.me
Message-Id: 20140705062156.A1618D615B9@110-175-205-112.static.tpgi.com.au
Date: Sat, 5 Jul 2014 14:21:56 +0800 (WST)
This is a test to check the PHP Mail functionality
–A1618D615B9.1404541319/110-175-205-112.static.tpgi.com.au–
From a php script same issues with headers and mail is rejected by my ISP.
From - Sat Jul 05 14:02:40 2014
X-Account-Key: account3
X-UIDL: 1314313997.7741
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Return-Path:
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-Checked: Yes
X-TPG-Junk-Status: score=0.0 tests=
X-TPG-Antivirus: Passed
X-TPG-DNSBL: Passed
X-TPG-Abuse: host=110-175-205-112.static.tpgi.com.au; ip=110.175.205.112; date=Sat, 5 Jul 2014 16:02:32 +1000
Received: from server.revnet (110-175-205-112.static.tpgi.com.au [110.175.205.112])
by mx1.tpgi.com.au (envelope-from drguild@drguild.noip.me) (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)
From: drguild@drguild.noip.me
Subject: hey
To: ***@tpg.com.au
Message-Id: <1404540166.6550@drguild.noip.me>
X-Originating-IP: 192.168.1.16
X-Mailer: Webmin 1.690
Date: Sat, 05 Jul 2014 14:02:46 +0800 (WST)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="bound1404540166"
This is a multi-part message in MIME format.
–bound1404540166
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
yo from server
–bound1404540166–
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.