Re: Win32/mail stuff

From: Date: Wed, 05 Jun 2002 04:00:17 +0000
Subject: Re: Win32/mail stuff
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-5499@lists.php.net to get a copy of this message
Hi, All version < 4.3.0-dev never accepted a message if it did not contain a '@' in the $to field. I'm skipping the unix tests completely just because we are not yet at a point we can compare Unix mail() vs. Win32 mail(). We first have to get you all satisfied with PHP working with Win32 mail() < 4.3 and current 4.3.0-dev Why I skip them? I've never touched Unix mail() code and it does operate completely different and independ on Win32 mail() code. Unfortunately you missed to tell me your "sendmail_from" ini setting. Now the interesting part: Tested with all versions from 4.0.6 to 4.3.0-dev with sendmail/exim/qmail: Testing with version 4.0.6 with qmail <br> <b>Warning</b>: Server Error in <b>mail.php</b> on line <b>32</b><br> Testing with version 4.0.6 with sendmail Testing with version 4.0.6 with exim Testing with version 4.1.0 with qmail <br> <b>Warning</b>: Server Error in <b>C:\php\mail.php</b> on line <b>32</b><br> Testing with version 4.1.0 with sendmail Testing with version 4.1.0 with exim Testing with version 4.1.1 with qmail <br> <b>Warning</b>: Server Error in <b>C:\php\mail.php</b> on line <b>32</b><br> Testing with version 4.1.1 with sendmail Testing with version 4.1.1 with exim Testing with version 4.1.2 with qmail <br> <b>Warning</b>: Server Error in <b>C:\php\mail.php</b> on line <b>32</b><br> Testing with version 4.1.2 with sendmail Testing with version 4.1.2 with exim Testing with version 4.2.0 with qmail <br /> <b>Warning</b>: Server Error in <b>C:\php\mail.php</b> on line <b>32</b><br /> Testing with version 4.2.0 with sendmail Testing with version 4.2.0 with exim Testing with version 4.2.1 with qmail <br /> <b>Warning</b>: Server Error in <b>C:\php\mail.php</b> on line <b>32</b><br /> Testing with version 4.2.1 with sendmail Testing with version 4.2.1 with exim Testing with version 4.3.0-dev with qmail Warning: mail() SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in mail.php on line 32 Testing with version 4.3.0-dev with sendmail Testing with version 4.3.0-dev with exim *Very* interesting is actually the last qmail error message: http://pobox.com/~djb/docs/smtplf.html Definitely worth a read. I've attached mail output (only sendmail mails) from 4.0.6, 4.1.2, 4.2.0, 4.2.1 and 4.3.0-dev. As we can see, around 4.2.0 a change in the code happened (The To: field is duplicated as expected, IMHO). I didn't made the change (and it doesn't matter anyway who did). Now I'ld like feedback on this current behaviour. Also, I *think* I fail to see the problems you reported earlier? Hmm ... - Markus On Tue, Jun 04, 2002 at 09:14:01PM +0100, Liz wrote : > running on windows php cgi 4.1.2 > > (had to send from address to valid internal work one, and verify liz to > liz@xcalibur.co.uk - only changes) > > >From Liz.Kimber@marlborough-stirling.com Tue Jun 4 21:12:32 2002 > Return-Path: <Liz.Kimber@marlborough-stirling.com> > Received: from mail1.messagelabs.com (mail1.messagelabs.com > [212.125.75.4]) > by xcalibur.co.uk (8.11.4/8.9.3) with SMTP id g54KCVJ26218 > for <liz@xcalibur.co.uk>; Tue, 4 Jun 2002 21:12:32 +0100 > X-VirusChecked: Checked > Received: (qmail 32450 invoked from network); 4 Jun 2002 20:12:31 -0000 > Received: from unknown (HELO smtpsweep.marlborough-stirling.com) > (62.189.230.188) > by server-17.tower-1.messagelabs.com with SMTP; 4 Jun 2002 20:12:31 > -0000 > Received: from MSGCHEX2K.internal.marlborough-stirling.com (unverified) > by smtpsweep.marlborough-stirling.com > (Content Technologies SMTPRS 4.2.10) with ESMTP id > <T5b495c2efec0a80a0a078@smtpsweep.marlborough-stirling.com> for > <liz@xcalibur.co.uk>; > Tue, 4 Jun 2002 21:06:42 +0100 > Received: from intranet-ch ([5.1.8.75]) by > MSGCHEX2K.internal.marlborough-stirling.com with Microsoft > SMTPSVC(5.0.2195.2966); > Tue, 4 Jun 2002 21:11:20 +0100 > Date: Tue, 04 Jun 2002 21:11:21 0000 > Subject: test > From: something <liz.kimber@marlborough-stirling.com> > To: God <liz@xcalibur.co.uk> > Message-ID: > <MSGCHEXCHAWd1KmC1ZI0000dd77@MSGCHEX2K.internal.marlborough-stirling.com > > > X-OriginalArrivalTime: 04 Jun 2002 20:11:21.0024 (UTC) > FILETIME=[FE462400:01C20C03] > > test -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc Did I help you? http://guru.josefine.at/wish_en Konnte ich helfen? http://guru.josefine.at/wish_de

From mfischer@guru.josefine.at Wed Jun 5 05:45:58 2002 Return-Path: <mfischer@guru.josefine.at> Received: from venom ([192.168.0.11]) by vmware2.home (8.12.3/8.12.3/Debian-11) with SMTP id g553jwuC011608 for <mfischer@localhost>; Wed, 5 Jun 2002 05:45:58 +0200 Message-Id: <200206050345.g553jwuC011608@vmware2.home> Date: Wed, 05 Jun 2002 05:49:24 -0100 Subject: Subj 4.0.6 with sendmail From: something <test@xcalibur.co.uk> To: God <liz@xcalibur.co.uk> Status: RO Content-Length: 5 Lines: 1 Body From mfischer@guru.josefine.at Wed Jun 5 05:45:59 2002 Return-Path: <mfischer@guru.josefine.at> Received: from venom ([192.168.0.11]) by vmware2.home (8.12.3/8.12.3/Debian-11) with SMTP id g553jxuC011617 for <mfischer@localhost>; Wed, 5 Jun 2002 05:45:59 +0200 Message-Id: <200206050345.g553jxuC011617@vmware2.home> Date: Wed, 05 Jun 2002 05:49:26 -0100 Subject: Subj 4.1.2 with sendmail From: something <test@xcalibur.co.uk> To: God <liz@xcalibur.co.uk> Status: RO Content-Length: 5 Lines: 1 Body From mfischer@guru.josefine.at Wed Jun 5 05:46:00 2002 Return-Path: <mfischer@guru.josefine.at> Received: from venom ([192.168.0.11]) by vmware2.home (8.12.3/8.12.3/Debian-11) with SMTP id g553k0uC011620 for <mfischer@localhost>; Wed, 5 Jun 2002 05:46:00 +0200 Message-Id: <200206050346.g553k0uC011620@vmware2.home> Date: Wed, 05 Jun 2002 05:49:27 +0100 Subject: Subj 4.2.0 with sendmail To: mfischer@vmware2.home From: something <test@xcalibur.co.uk> To: God <liz@xcalibur.co.uk> Status: RO Content-Length: 5 Lines: 1 Body From mfischer@guru.josefine.at Wed Jun 5 05:46:00 2002 Return-Path: <mfischer@guru.josefine.at> Received: from venom ([192.168.0.11]) by vmware2.home (8.12.3/8.12.3/Debian-11) with SMTP id g553k0uC011623 for <mfischer@localhost>; Wed, 5 Jun 2002 05:46:00 +0200 Message-Id: <200206050346.g553k0uC011623@vmware2.home> Date: Wed, 05 Jun 2002 05:49:27 +0100 Subject: Subj 4.2.1 with sendmail To: mfischer@vmware2.home From: something <test@xcalibur.co.uk> To: God <liz@xcalibur.co.uk> Status: RO Content-Length: 5 Lines: 1 Body From mfischer@guru.josefine.at Wed Jun 5 05:46:01 2002 Return-Path: <mfischer@guru.josefine.at> Received: from venom ([192.168.0.11]) by vmware2.home (8.12.3/8.12.3/Debian-11) with SMTP id g553k0uC011626 for <mfischer@localhost>; Wed, 5 Jun 2002 05:46:01 +0200 Message-Id: <200206050346.g553k0uC011626@vmware2.home> Date: Wed, 05 Jun 2002 05:49:28 +0100 Subject: Subj 4.3.0-dev with sendmail To: mfischer@vmware2.home From: something <test@xcalibur.co.uk> To: God <liz@xcalibur.co.uk> Status: RO Content-Length: 5 Lines: 1 Body
« previous php.qa (#5499) next »