aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS9
-rw-r--r--configure.in6
-rw-r--r--fetchmail.c9
-rw-r--r--fetchmail.man8
4 files changed, 31 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7b22c075..77d57493 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,11 @@ I want a --logfile option that redirects the daemon-mode output to a
given file, but the code (in daemon.c near 200) unaccountably doesn't
work (so I haven't documented it yet).
+Why doesn't sendmail delivery work in daemon mode? In daemon mode
+(but not in normal run-to-completion mode) popclient croaks after
+its first delivery (there's a kluge in options.c to deal with this).
+We need the logfile option to debug this!
+
Option to enable EMACS-like user folder versioning on each run.
-p option to come back?
@@ -22,7 +27,9 @@ Implement IMAP support.
* Added -N/--norewrite option.
-* Delivery via sendmail now works.
+* Delivery via sendmail now works in non-daemon mode.
+
+* Experimental code to support
3.01:
diff --git a/configure.in b/configure.in
index 2a490709..8042a20e 100644
--- a/configure.in
+++ b/configure.in
@@ -47,6 +47,12 @@ case $host in
mdacmd="/usr/bin/bellmail \$u"
;;
+ *-*-sco*)
+ AC_DEFINE(DEF_MDA,"/usr/mmdf/bin/deliver %s")
+ mdacmd="/usr/mmdf/bin/deliver \$u"
+ AC_DEFINE(BINMAIL_TERM, "\001\001\001\001\n")
+ ;;
+
*-*-hpux*)
AC_DEFINE(DEF_MDA,"/bin/rmail -d %s")
mdacmd="/bin/rmail -d \$u"
diff --git a/fetchmail.c b/fetchmail.c
index e8aae828..0e4c19bf 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -209,6 +209,15 @@ char **argv;
*/
do {
for (hostp = hostlist; hostp; hostp = hostp->next) {
+
+ /*
+ * This is a nasty kluge. V8 sendmail doesn't like daemon mode, it
+ * consistently bombs after the first delivery.
+ */
+ if (hostp->output == TO_MDA
+ && strncmp("/usr/lib/sendmail", hostp->mda, 18) == 0)
+ hostp->output = TO_FOLDER;
+
popstatus = query_host(hostp);
}
diff --git a/fetchmail.man b/fetchmail.man
index 671a631e..ef3c1c27 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -529,6 +529,14 @@ The --version option doesn't display MDA arguments.
The (undocumented) --logfile option doesn't work, due to some weirdness
in the daemon code. Fixes cheerfully accepted.
.PP
+Delivery via
+.IR sendmail (8)
+doesn't work in daemon mode;
+.I popmail
+dies after the first delivery. To cope with this, in daemon mode the
+delivery mode is automatically switched to append-and-lock if sendmail
+is the selected delivery agent. This needs to be fixed.
+.PP
No IMAP or RPOP support yet.
.PP
Send comments, bug reports, gripes, and the like to Eric S. Raymond