* Patches change the patchlevel and the release date. Snapshots change the
* release date only, unless they include the same bugfix as a patch release.
*/
-#define MAIL_RELEASE_DATE "20020823"
+#define MAIL_RELEASE_DATE "20020826"
#define VAR_MAIL_VERSION "mail_version"
#define DEF_MAIL_VERSION "1.1.11-" MAIL_RELEASE_DATE
*/
stream = vstream_fdopen(sock, O_RDWR);
if ((ch = VSTREAM_GETC(stream)) == VSTREAM_EOF) {
- vstring_sprintf(why, "connect to %s[%s]: server dropped connection",
+ vstring_sprintf(why, "connect to %s[%s]: server dropped connection without sending the initial greeting",
name, addr);
lmtp_errno = LMTP_RETRY;
vstream_fclose(stream);
*/
stream = vstream_fdopen(sock, O_RDWR);
if ((ch = VSTREAM_GETC(stream)) == VSTREAM_EOF) {
- vstring_sprintf(why, "connect to %s[%s]: server dropped connection",
+ vstring_sprintf(why, "connect to %s[%s]: server dropped connection without sending the initial greeting",
addr->name, inet_ntoa(sin.sin_addr));
smtp_errno = SMTP_RETRY;
vstream_fclose(stream);
DICT *dict;
if ((dict_name = split_at(saved_dict_spec, ':')) == 0)
- msg_fatal("open dictionary: need \"type:name\" form: %s", dict_spec);
+ msg_fatal("open dictionary: need \"type:name\" form instead of: \"%s\"",
+ dict_spec);
dict = dict_open3(saved_dict_spec, dict_name, open_flags, dict_flags);
myfree(saved_dict_spec);
ENETUNREACH,
ENOTCONN,
EWOULDBLOCK,
- 0,
- };
- static int accept_warn_errors[] = {
+ ENOBUFS, /* HPUX11 */
ECONNABORTED,
0,
};
* reported successful completion. This was fixed shortly before FreeBSD
* 4.3. However, other systems may make that same mistake again, so we're
* adding a special warning.
+ *
+ * XXX HP-UX 11 returns ENOBUFS when the client has disconnected in the mean
+ * time.
*/
if ((fd = accept(sock, sa, len)) < 0) {
for (count = 0; (err = accept_ok_errors[count]) != 0; count++) {
break;
}
}
- for (count = 0; (err = accept_warn_errors[count]) != 0; count++) {
- if (errno == err) {
-#if 0
- msg_warn("accept: %m");
-#endif
- errno = EAGAIN;
- break;
- }
- }
}
return (fd);
}