Hi,
I've been using c-client library and found possible problem in smtp.c file:
Line 224:
else if ((reply = smtp_ehlo (stream,s,&mb)) != SMTPOK) {
sprintf (tmp,"SMTP EHLO failure after STARTLS: %.80s",
stream->reply);
mm_log (tmp,ERROR);
stream = smtp_close (stream);
}
ESMTP.ok = T; /* TLS OK and EHLO successful */
}
If stream is closed ESMTP.ok = T will be access violation. I think else is
missing:
else if ((reply = smtp_ehlo (stream,s,&mb)) != SMTPOK) {
sprintf (tmp,"SMTP EHLO failure after STARTLS: %.80s",
stream->reply);
mm_log (tmp,ERROR);
stream = smtp_close (stream);
}
else
ESMTP.ok = T; /* TLS OK and EHLO successful */
Pavel Zakharov
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw