Am Freitag, den 11.09.2009, 16:10 +0200 schrieb Mikael Bak:
Mathias Tausig wrote:
I just tried to replace the \n with \r\l, but to no avail. The same
problem remains.
I can be wrong here, but shouldn't that be \r\n ?
HTH,
Mikael
You are right, of course. I had \r\n before, with the
I just found the problem. At the very beginning of the script, I had a
newline between
#!/usr/bin/php5
and
?php
Thus this newline was printed to stdout and the SMTP Client got this
empty line as its first response instead of the 220 ... line.
Thanks to everyone for trying to help me out.
Am Donnerstag, den 10.09.2009, 10:18 -0400 schrieb Wietse Venema:
[...]
This is an output buffering problem. You need to flush output
after each reply, perhaps by calling the flush() function.
Hy!
No, I am afraid that this is not the problem.
I am sendig you a few details of my setup
Here
Mathias Tausig:
Am Donnerstag, den 10.09.2009, 10:18 -0400 schrieb Wietse Venema:
[...]
This is an output buffering problem. You need to flush output
after each reply, perhaps by calling the flush() function.
Hy!
No, I am afraid that this is not the problem.
I am sendig you a few
Am Freitag, den 11.09.2009, 08:38 -0400 schrieb Wietse Venema:
Mathias Tausig:
Am Donnerstag, den 10.09.2009, 10:18 -0400 schrieb Wietse Venema:
[...]
This is an output buffering problem. You need to flush output
after each reply, perhaps by calling the flush() function.
Hy!
The php-net-smtp PEAR module implements an SMTP client; you may
be able to pick some pieces to do the server portion of the protocol.
Wietse
Mathias Tausig wrote:
I just tried to replace the \n with \r\l, but to no avail. The same
problem remains.
I can be wrong here, but shouldn't that be \r\n ?
HTH,
Mikael
Hy!
I want to write an after-queue content filter for my postfix
installation which is invoked by spawn (according to the FILTER_README
from postfix.org).
My problem is, that the input/output part simply does not work. I am
sending a 220 localhost SMTP foo to STDOUT at the beginning of the
Mathias Tausig:
Hy!
I want to write an after-queue content filter for my postfix
installation which is invoked by spawn (according to the FILTER_README
from postfix.org).
My problem is, that the input/output part simply does not work. I am
sending a 220 localhost SMTP foo to STDOUT at
Wietse Venema wrote:
This is an output buffering problem. You need to flush output
after each reply, perhaps by calling the flush() function.
Good catch, I guess this could most likely be his problem!
--
mail: tho...@gelf.net
web: http://thomas.gelf.net/
10 matches
Mail list logo