Paco Martinez <[EMAIL PROTECTED]> wrote:
>
> and in /var/log/qmail/smpt/current
>
> @400000003a6f0d180395ee3c tcpserver: pid 23042 from 192.168.1.3
> @400000003a6f0d180df426b4 tcpserver: ok 23042 machine.examples.com:192.168.1.10:25
>otros.examples.com:192.168.1.3
> @400000003a6f0d3c19116d54 tcpserver: end 23042 status 0
>
> But nothin
[...]
> > As a wild guess, if it worked with sendmail but doesn't with qmail, it might
> > be that your program is sending bare linefeeds. That's illegal, and qmail
> > rejects the message.
> Sorry but I don´t understand you aoubt "bare linefeeds"... What do you say
> ???
All lines in an SMTP conversation must end with '\r\n'. Ending a line with
'\n' is illegal. If qmail sees a bare linefeed (just '\n') ending a line,
it will reject the message.
Make sure your program uses '\r\n' for line endings, everywhere. If it
just times out, you may be sending '\n.\n' for "end of message", but the
RFC requires '\r\n.\r\n'. Some MTAs won't even detect the end of the message
if you use the incorrect form.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------