# So just uncomment all the lines marked QNX.
PACKAGE = fetchmail
-VERSION = 5.8.10
+VERSION = 5.8.11
# Ultrix 2.2 make doesn't expand the value of VPATH.
srcdir = @srcdir@
(The `lines' figures total .c, .h, .l, and .y files under version control.)
+fetchmail-5.8.11 (Sun Jul 1 21:39:26 EDT 2001), 20973 lines:
+
* Signal-processing fix for Debian bug #102711.
+* More ODMR patches from Matt Armstrong.
+
+There are 353 people on fetchmail-friends and 607 on fetchmail-announce.
fetchmail-5.8.10 (Mon Jun 25 17:04:08 EDT 2001), 20922 lines:
static int odmr_logout(int sock, struct query *ctl)
/* send logout command */
{
- return(gen_transact(sock, "QUIT"));
+ /* if we have a smtp_socket, then we've turned around and the
+ local smtp server is in control of the connection (so we don't
+ send QUIT) */
+ if (ctl->smtp_socket == -1)
+ return(gen_transact(sock, "QUIT"));
+ else
+ return(PS_SUCCESS);
}
const static struct method odmr =
ctl->server.plugout)) == -1)
continue;
+ /* return immediately for ODMR */
+ if (ctl->server.protocol == P_ODMR)
+ return(ctl->smtp_socket); /* success */
+
/* are we doing SMTP or LMTP? */
SMTP_setmode(ctl->listener);
*/
if (!(*good_addresses))
{
+ if (!run.postmaster[0])
+ {
+ if (outlevel >= O_VERBOSE)
+ report(stderr, _("no address matches; no postmaster set.\n"));
+ SMTP_rset(ctl->smtp_socket); /* required by RFC1870 */
+ return(PS_REFUSED);
+ }
if (strchr(run.postmaster, '@'))
strncpy(addr, run.postmaster, sizeof(addr));
else
if (rc)
{
report(stderr,
- _("MDA exited abnormally or returned nonzero status\n"));
+ _("MDA returned nonzero status %d\n"), rc);
return(FALSE);
}
}