2007-05-14 15:50:06 1HnbsE-0008M9-Ml <= [ deleted admin address ] H=localhost 
[127.0.0.1] P=smtp S=1332 id=012a308a8e4714dbdcd5075a44cf0
[EMAIL PROTECTED]
2007-05-14 15:50:06 unexpected disconnection while reading SMTP command from 
localhost [127.0.0.1]

This suggests that it is indeed the -i problem.

I found the web site that talks about -i :

http://uk2.php.net/mail

---- from site above ----

I spent weeks trying to work out why PHP couldnt send mail through Exim 
(called locally) when for all other purposes Exim worked fine.  Here, after 
hours of work is the answer and I hope it saves someone else some time:

PHP by default calls sendmail/exim/whatever with the options -t & -i

-i is causing Exim to sit there waiting for more input, not detecting the end 
of the message.  You need to tell it not to use -i by manually specifying the 
arguments you DO want on sendmail_path like this:

sendmail_path = /path/to/exim -t

---- end ----

Unfortunately the suggested solution doesn't work. Exim and postfix both 
treat -i as "don't stop on seeing a . on a line by itself".

Attachment: pgpRgMFnid2Ax.pgp
Description: PGP signature

Reply via email to