slothso Posted May 7, 2004 Posted May 7, 2004 I'm getting X-warnings from my isp when sending mails from a form with mail(). I also got the same warnings from the email sent by this very forum when I registered! example: ---------- X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server1.totalchoicehosting.com X-AntiAbuse: Original Domain - dnai.com X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - totalchoicehosting.com X-Junkmail-Status: score=0/65, host=mr03.mrf.mail.rcn.net ---------- I am assuming it has something to do with the following line in the headers: -------- Received: from nobody by server1.totalchoicehosting.com with local (Exim 4.24) id 1BMCV6-0006Me-KT for myemail_at_dnai.com; Fri, 07 May 2004 17:03:20 -0400 -------- Where the mail is being sent from an un-authenticated "nobody" without a resolved ip address. Any idea how to fix this? I also tried phpmailer, using SMTP, it fixed the "nobody" problem, but I still get warnings as in: (note that @'s have been replaced for this example. Also, slothsound.com is my domain at TCH) -------- Return-Path: <download_AT_slothsound.com> Received: from mr02.mrf.mail.rcn.net (207.172.4.21 [207.172.4.21]) by ms08.mrf.mail.rcn.net (Mirapoint Messaging Server MOS 3.2.2-GA FastPath) with ESMTP id DPV66145; Fri, 07 May 2004 02:00:24 -0400 (EDT) Received: from 207.172.4.50 (EHLO mx01.mrf.mail.rcn.net) (207.172.4.50) by mr02.mrf.mail.rcn.net (MOS 3.4.4-GR FastPath queued) with ESMTP id GYX80316; Fri, 07 May 2004 02:00:23 -0400 (EDT) Received: from server24.totalchoicehosting.com ([207.44.242.2]) by mx01.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BLyPH-0000Vu-00 for kcs_AT_rcn.com; Fri, 07 May 2004 02:00:23 -0400 Received: from server24.totalchoicehosting.com ([207.44.242.2] helo=www.slothsound.com) by server24.totalchoicehosting.com with asmtp (Exim 4.24) id 1BLyP4-0006hM-Pu for kcs_AT_rcn.com; Fri, 07 May 2004 01:00:10 -0500 Received: from phpmailer ([24.7.72.203]) by www.slothsound.com with HTTP (PHPMailer); Fri, 7 May 2004 01:00:10 -0500 Date: Fri, 7 May 2004 01:00:10 -0500 To: kcs_AT_rcn.com From: Conformer Download <download_AT_slothsound.com> Subject: Here is the subject Message-ID: <332fef2717d32e73a83effc6298d9afc@www.slothsound.com> X-Priority: 3 X-Mailer: PHPMailer [version 1.71] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server24.totalchoicehosting.com X-AntiAbuse: Original Domain - rcn.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - slothsound.com X-Junkmail-Status: score=0/65, host=mr02.mrf.mail.rcn.net --------- Quote
Sarah Posted May 18, 2004 Posted May 18, 2004 Slothso- I thought those AntiAbuse headers are attached no matter what, not when they are reported as spam. As far as the nobody address, I was having problems with that too. Apparently, somehow the server is configured to sendmail from that address if you don't specify some parameters in your mail() function. I use mail() to send email to my Lotus Notes mailbox. This is the mail() I use: >$mailto = "whoever@****"; $subject = "mySubject"; $message = "my Message"; $name = "Sarah"; $mailfrom = "myemail@****"; $headers = "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "From: ".$name."<".$mailfrom.">\n"; $headers .= "Reply-To: ".$name."<$mailfrom>\n"; $headers .= "X-Priority: 1\n"; $headers .= "X-Mailer: PHP4\n"; if (@mail($mailto, $subject, $message, $headers)) { header("Location: http://www.****"); exit; } else { print "<h2>Mail did not send...<br>"; exit; } Try that.. hope this helps.. PS - you may/may not need the /n's at the end of the headers.. or you may need a /r , it depends on what program you are using. Sarah Quote
Sarah Posted May 18, 2004 Posted May 18, 2004 Well I just looked through some of my old posts and found this thread: PHP mail() not working! Hopefully that will also help you.. Sarah Quote
Deverill Posted May 18, 2004 Posted May 18, 2004 The X-headers are added to every email leaving the TCH servers. It is to let someone know where to report spam if they get it. Nobody is a default account - if your php is not set right it is probably where that's coming from. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.