aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-30 17:50:53 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-30 17:50:53 +0000
commit1b9705a93cf367a9fafb683fdb5a7e122be50e83 (patch)
treebfbcb7fb5971b95a1d5a469a6355ee47324489da /fetchmail.c
parent9d5d49c692bab79f39189b2835cec87a7cd414bc (diff)
downloadfetchmail-1b9705a93cf367a9fafb683fdb5a7e122be50e83.tar.gz
fetchmail-1b9705a93cf367a9fafb683fdb5a7e122be50e83.tar.bz2
fetchmail-1b9705a93cf367a9fafb683fdb5a7e122be50e83.zip
Deal with the sendmail delivery problem.
svn path=/trunk/; revision=46
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);
}