SCCS-vsn: usr.sbin/sendmail/src/usersmtp.c 6.4
SCCS-vsn: usr.sbin/sendmail/src/version.c 6.16
-static char sccsid[] = "@(#)usersmtp.c 6.3 (Berkeley) %G% (with SMTP)";
+static char sccsid[] = "@(#)usersmtp.c 6.4 (Berkeley) %G% (with SMTP)";
-static char sccsid[] = "@(#)usersmtp.c 6.3 (Berkeley) %G% (without SMTP)";
+static char sccsid[] = "@(#)usersmtp.c 6.4 (Berkeley) %G% (without SMTP)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
case MCIS_ACTIVE:
/* need to clear old information */
smtprset(m, mci, e);
case MCIS_ACTIVE:
/* need to clear old information */
smtprset(m, mci, e);
- mci->mci_state = MCIS_OPEN;
case MCIS_SSD:
/* shouldn't happen */
smtpquit(m, mci, e);
case MCIS_SSD:
/* shouldn't happen */
smtpquit(m, mci, e);
case MCIS_CLOSED:
syserr("smtpinit: state CLOSED");
case MCIS_CLOSED:
syserr("smtpinit: state CLOSED");
int r;
smtpmessage("RSET", m, mci);
int r;
smtpmessage("RSET", m, mci);
- r = reply(m, mci, e, ReadTimeout);
- if (r < 0 || REPLYTYPE(r) == 4)
- return EX_TEMPFAIL;
+ r = reply(m, mci, e, (time_t) 300);
+ if (r < 0)
+ mci->mci_state = MCIS_ERROR;
else if (REPLYTYPE(r) == 2)
else if (REPLYTYPE(r) == 2)
- return EX_OK;
- else
- return EX_PROTOCOL;
+ {
+ mci->mci_state = MCIS_OPEN;
+ return;
+ }
+ smtpquit(m, mci, e);
}
\f/*
** SMTPNOOP -- send a NOOP (no operation) command to check the connection state
}
\f/*
** SMTPNOOP -- send a NOOP (no operation) command to check the connection state
-static char sccsid[] = "@(#)version.c 6.15 (Berkeley) %G%";
+static char sccsid[] = "@(#)version.c 6.16 (Berkeley) %G%";
-char Version[] = "ALPHA-6.15";
+char Version[] = "ALPHA-6.16";