From 1b9705a93cf367a9fafb683fdb5a7e122be50e83 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 30 Jul 1996 17:50:53 +0000 Subject: Deal with the sendmail delivery problem. svn path=/trunk/; revision=46 --- fetchmail.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'fetchmail.c') 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); } -- cgit v1.2.3