aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c9
1 files changed, 9 insertions, 0 deletions
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);
}