[KLUG Members] php mail problem

Russell Dillenburg members@kalamazoolinux.org
Sat, 17 Aug 2002 19:55:20 -0700 (PDT)


--0-546392507-1029639320=:60170
Content-Type: text/plain; charset=us-ascii


Hi,

My server seems to be having trouble sending emails.  I noticed when I tried emailing in one of my php scripts, http://russell.knightec.net/contact/.  I included below what gets bounced back to me.  

If you were to try and send a message using that it'll just come back to from mail daemon.  I had this working before, but forget how, or what I did.  Maybe something about my hostname/domain?  I am using the mail function in php to send.  This has worked fine in the past (old server).  

Thanks for any help!

Russell Dillenburg

 

>From Mail Delivery Subsystem Sat Aug 17 19:46:00 2002X-Apparently-To:rdillenbu@yahoo.com via -40.-120.-81.80; 17 Aug 2002 19:51:16 -0700 (PDT)Return-Path:<>Received:from 209.68.1.157 (HELO gwind.pair.com) (209.68.1.157) by mta624.mail.yahoo.com with SMTP; 17 Aug 2002 19:51:16 -0700 (PDT)Received:(qmail 1411 invoked by uid 3036); 18 Aug 2002 02:51:15 -0000Delivered-To:jfd-dillenburg:org-russell@dillenburg.orgReceived:(qmail 1408 invoked from network); 18 Aug 2002 02:51:14 -0000Received:from 12-251-0-48.client.attbi.com (HELO hercules) (12.251.0.48) by gwind.pair.com with SMTP; 18 Aug 2002 02:51:14 -0000Received:from localhost (localhost) by hercules (8.11.6/8.11.6) id g7I2k0B09115; Sat, 17 Aug 2002 21:46:00 -0500Date:Sat, 17 Aug 2002 21:46:00 -0500From:"Mail Delivery Subsystem" <MAILER-DAEMON@hercules> | This is Spam | Add to Address BookMessage-Id:<200208180246.g7I2k0B09115@hercules>To:apache@herculesMIME-Version:1.0Content-Type:multipart/report; report-type=delivery-status; boundary="g7I2k0B09115.1029638760/hercules"Subject:Returned mail: see transcript for detailsAuto-Submitted:auto-generated (failure)Content-Length:625 [input]   [input]   [input]   [input]   [input]   [input]   [input]  


The original message was received at Sat, 17 Aug 2002 21:46:00 -0500from apache@localhost   ----- The following addresses had permanent fatal errors -----rdillenbu@yahoo.com    (reason: 501 Syntax error in parameters or arguments)   ----- Transcript of session follows -----... while talking to mx1.mail.yahoo.com.:>>> MAIL From:<apache@hercules> SIZE=159<<< 501 Syntax error in parameters or arguments501 5.6.0 Data format error


Message/delivery-status 
Reporting-MTA: dns; herculesArrival-Date: Sat, 17 Aug 2002 21:46:00 -0500Final-Recipient: RFC822; rdillenbu@yahoo.comAction: failedStatus: 5.5.2Diagnostic-Code: SMTP; 501 Syntax error in parameters or argumentsLast-Attempt-Date: Sat, 17 Aug 2002 21:46:00 -0500


Forwarded Message [ Save to my Yahoo! Briefcase  |  Download File ] Return-Path:<apache>Received:(from apache@localhost) by hercules (8.11.6/8.11.6) id g7I2k0C09112; Sat, 17 Aug 2002 21:46:00 -0500Message-Id:<200208180246.g7I2k0C09112@hercules>To:rdillenbu@yahoo.comSubject:Message from websiteFrom:"testing" <russell@test.dillenburg.org>Date:Sat, 17 Aug 2002 21:45:59 -18000

testing stuff here




--
Russell Dillenburg
"The software business is binary, you're either a 1 or a 0--alive or dead."



---------------------------------
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs
--0-546392507-1029639320=:60170
Content-Type: text/html; charset=us-ascii

<P>Hi,</P>
<P>My server seems to be having trouble sending emails.&nbsp; I noticed when I tried emailing in one of my php scripts, <A href="http://russell.knightec.net/contact/">http://russell.knightec.net/contact/</A>.&nbsp; I included below what gets bounced back to me.&nbsp; </P>
<P>If you were to try and send a message using that it'll just come back to from mail daemon.&nbsp; I had this working before, but forget how, or what I did.&nbsp; Maybe something about my hostname/domain?&nbsp;&nbsp;I am using the mail function in php to send.&nbsp; This has worked fine in the past (old server).&nbsp; </P>
<P>Thanks for any help!</P>
<P>Russell Dillenburg</P>
<P>&nbsp;</P>
<P>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TR class=bge width="100%">
<TD align=left colSpan=2>From Mail Delivery Subsystem Sat Aug 17 19:46:00 2002</TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>X-Apparently-To:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>rdillenbu@yahoo.com via -40.-120.-81.80; 17 Aug 2002 19:51:16 -0700 (PDT)</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Return-Path:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>&lt;&gt;</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Received:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>from 209.68.1.157 (HELO gwind.pair.com) (209.68.1.157) by mta624.mail.yahoo.com with SMTP; 17 Aug 2002 19:51:16 -0700 (PDT)</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Received:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>(qmail 1411 invoked by uid 3036); 18 Aug 2002 02:51:15 -0000</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Delivered-To:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>jfd-dillenburg:org-russell@dillenburg.org</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Received:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>(qmail 1408 invoked from network); 18 Aug 2002 02:51:14 -0000</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Received:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>from 12-251-0-48.client.attbi.com (HELO hercules) (12.251.0.48) by gwind.pair.com with SMTP; 18 Aug 2002 02:51:14 -0000</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Received:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>from localhost (localhost) by hercules (8.11.6/8.11.6) id g7I2k0B09115; Sat, 17 Aug 2002 21:46:00 -0500</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>Date:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>Sat, 17 Aug 2002 21:46:00 -0500</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT size=1>From:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT size=1>"Mail Delivery Subsystem" &lt;MAILER-DAEMON@hercules&gt;&nbsp;|&nbsp;<B><A href="http://us.f135.mail.yahoo.com/ym/BlockSender?MessRet=1&amp;.crumb=sjeyxbO5Hsl&amp;SP=Yes&amp;NE=mailer-daemon@hercules&amp;box=Inbox&amp;MsgId=1260_2230919_4729_1327_625_0_16618&amp;inc=&amp;num=&amp;Search=&amp;YY=41442&amp;order=down&amp;sort=date&amp;pos=0"><SMALL>This is Spam</SMALL></A></B>&nbsp;|&nbsp;<B><A href="javascript:document.frmAddAddrs.submit()"><SMALL>Add to Address Book</SMALL></A></B></FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL>Message-Id:</SMALL></B></TD>
<TD width="100%"><SMALL>&lt;200208180246.g7I2k0B09115@hercules&gt;</SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL>To:</SMALL></B></TD>
<TD width="100%"><SMALL>apache@hercules</SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL>MIME-Version:</SMALL></B></TD>
<TD width="100%"><SMALL>1.0</SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL>Content-Type:</SMALL></B></TD>
<TD width="100%"><SMALL>multipart/report; report-type=delivery-status; boundary="g7I2k0B09115.1029638760/hercules"</SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL>Subject:</SMALL></B></TD>
<TD width="100%"><SMALL>Returned mail: see transcript for details</SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL>Auto-Submitted:</SMALL></B></TD>
<TD width="100%"><SMALL>auto-generated (failure)</SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL>Content-Length:</SMALL></B></TD>
<TD width="100%"><SMALL>625</SMALL></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top bgColor=#eeeeee>
<FORM name=frmAddAddrs action=http://address.mail.yahoo.com/yab/us?v=YM&amp;cmode=1&amp;Lang=us method=post>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD align=left bgColor=#eeeeee><FONT face=Arial size=-1><INPUT type=hidden value=YM name=v> <INPUT type=hidden value=a name=A> <INPUT type=hidden value="Mail Delivery,," name=fn> <INPUT type=hidden value=Subsystem,, name=ln> <INPUT type=hidden value=mailer-daemon@hercules,apache@hercules, name=e> <INPUT type=hidden value=1 name=m> <INPUT type=hidden value=http://us.f135.mail.yahoo.com/ym/ShowLetter?MsgId=1260_2230919_4729_1327_625_0_16618&amp;order=down&amp;inc=&amp;sort=date&amp;view=&amp;head=&amp;box=Inbox&amp;YY=41442 name=.done> </FONT></TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE><BR></P>
<DIV id=message><PRE><TT>The original message was received at Sat, 17 Aug 2002 21:46:00 -0500
from apache@localhost

   ----- The following addresses had permanent fatal errors -----
<A href="http://us.f135.mail.yahoo.com/ym/Compose?To=rdillenbu@yahoo.com&amp;YY=41442&amp;order=down&amp;sort=date&amp;pos=0">rdillenbu@yahoo.com</A>
    (reason: 501 Syntax error in parameters or arguments)

   ----- Transcript of session follows -----
... while talking to mx1.mail.yahoo.com.:
&gt;&gt;&gt; MAIL From:&lt;apache@hercules&gt; SIZE=159
&lt;&lt;&lt; 501 Syntax error in parameters or arguments
501 5.6.0 Data format error
</TT></PRE><BR><BR>
<TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
<TBODY>
<TR class=heada>
<TD><B>Message/delivery-status</B> </TD></TR></TBODY></TABLE><PRE><FONT size=+0>Reporting-MTA: dns; hercules
Arrival-Date: Sat, 17 Aug 2002 21:46:00 -0500

Final-Recipient: RFC822; <A href="http://us.f135.mail.yahoo.com/ym/Compose?To=rdillenbu@yahoo.com&amp;YY=41442&amp;order=down&amp;sort=date&amp;pos=0">rdillenbu@yahoo.com</A>
Action: failed
Status: 5.5.2
Diagnostic-Code: SMTP; 501 Syntax error in parameters or arguments
Last-Attempt-Date: Sat, 17 Aug 2002 21:46:00 -0500
</FONT></PRE><BR><BR>
<TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
<TBODY>
<TR class=heada>
<TD><B>Forwarded Message</B> [ <A href="http://us.f135.mail.yahoo.com/ym/ShowLetter/file.txt?box=Inbox&amp;MsgId=1260_2230919_4729_1327_625_0_16618&amp;bodyPart=3.TEXT&amp;filename=file.txt&amp;Briefcase=1&amp;tnef=&amp;YY=41442&amp;order=down&amp;sort=date&amp;pos=0">Save to my Yahoo! Briefcase</A> &nbsp;|&nbsp; <A href="http://us.f135.mail.yahoo.com/ym/ShowLetter/file.txt?box=Inbox&amp;MsgId=1260_2230919_4729_1327_625_0_16618&amp;bodyPart=3.TEXT&amp;filename=file.txt&amp;download=1&amp;YY=41442&amp;order=down&amp;sort=date&amp;pos=0">Download File</A> ] </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 border=0>
<TBODY>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT face=Verdana size=1>Return-Path:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT face=Verdana size=1>&lt;apache&gt;</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT face=Verdana size=1>Received:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT face=Verdana size=1>(from apache@localhost) by hercules (8.11.6/8.11.6) id g7I2k0C09112; Sat, 17 Aug 2002 21:46:00 -0500</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT face=Verdana size=1>Message-Id:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT face=Verdana size=1>&lt;200208180246.g7I2k0C09112@hercules&gt;</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT face=Verdana size=1>To:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT face=Verdana size=1>rdillenbu@yahoo.com</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT face=Verdana size=1>Subject:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT face=Verdana size=1>Message from website</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT face=Verdana size=1>From:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT face=Verdana size=1>"testing" &lt;russell@test.dillenburg.org&gt;</FONT></SMALL></TD></TR>
<TR class=bge>
<TD vAlign=top noWrap align=right><B><SMALL><FONT face=Verdana size=1>Date:</FONT></SMALL></B></TD>
<TD width="100%"><SMALL><FONT face=Verdana size=1>Sat, 17 Aug 2002 21:45:59 -18000</FONT></SMALL></TD></TR></TBODY></TABLE><BR><PRE><TT>
testing stuff here
</TT></PRE></DIV><BR><BR><TABLE width="67%" border=0>
<TBODY>
<TR>
<TD width="50%">
<P><A href="http://12.251.0.48/"><IMG src="http://12.251.0.48/icons/Ysignature.gif" border=0></A><BR>--<BR>Russell Dillenburg<BR><EM>"The software business is binary, you're either a 1 or a 0--alive or dead."</EM></P></TD></TR></TBODY></TABLE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://rd.yahoo.com/careers/mailsig/new/*http://www.hotjobs.com">HotJobs, a Yahoo! service</a> - Search Thousands of New Jobs
--0-546392507-1029639320=:60170--