On Wed, Oct 06, 1999 at 03:51:19PM -0400,
  "Thomas M. Sasala" <[EMAIL PROTECTED]> wrote:
> Jeff McNeil wrote:
> > 
> 
>       I had a CR/LF problem with a JavaMail implementation.  I used
> recordio to track down the problem.  I first noticed the problem in
> the logs, whem smtpd would exit with a status of 256.  The remote 
> unit would think the mail was delivered because smtpd said OK when
> quit was given, but the exit code indicates that something failed.
> It wasn't until I recorded the whole session and saw the note about
> cr/lf that I figured out what the problem was.  Shouldn't smtpd 
> give an error back to the remote unit if it does not intend to
> deliver the mail?  All the 'bad' mails ended up in /dev/null - 
> fully delivered from the remote side, completely lost by qmail.

You shouldn't be checking the status of the quit command. That is going
to succeed. You should be checking the status of the data command.

Reply via email to