fetchmail-friends
[Top] [All Lists]

[fetchmail] [PATCH] Re: bouncing on empty return-path

2003-01-09 06:50:02
Quoting from Matthias Andree's mail on Thu, Jan 09, 2003 at 01:25:29PM +0100:
Rah. This stupid -oem thing is still around. Kill it. Now.

Its still there in the manpage! I just used it for testing.

Yes, it is. IMHO it needs to be killed. Fetchmail must bounce the mail
itself if the "MDA" program catches a signal or exits with a non-zero
exit code.

Eric:
Here's a patch which does that. Also, a FAQ entry should be added
regarding double bounces.

================================================
diff -Naur fetchmail-6.2.0.orig/contrib/domino fetchmail-6.2.0/contrib/domino
--- fetchmail-6.2.0.orig/contrib/domino Wed Apr 12 09:28:29 2000
+++ fetchmail-6.2.0/contrib/domino      Thu Jan  9 18:46:45 2003
@@ -32,7 +32,7 @@
     exit 0;
 }
 
-# Substitute $decltag for every ocurrence of an outer-level boundary
+# Substitute $decltag for every occurrence of an outer-level boundary
 # string found in the body of the message.
 my $usedtag;
 while (<STDIN>) {
@@ -69,9 +69,9 @@
 
 If you do not use a mda normally, you can try the following to call sendmail 
directly:
 
-       poll server ... mda "/home/gustavo/bin/correct-domino-mime-conversion 
//wherever/is/your/sendmail -oem -f %F %T";
+       poll server ... mda "/home/gustavo/bin/correct-domino-mime-conversion 
//wherever/is/your/sendmail -f %F %T";
 
-Without argumets this script is a filter that reads from its stdin and
+Without arguments this script is a filter that reads from its stdin and
 outputs the result into its stdout.
 
 I should mention that this bug seems to be solved in Domino 5.0.3
diff -Naur fetchmail-6.2.0.orig/design-notes.html 
fetchmail-6.2.0/design-notes.html
--- fetchmail-6.2.0.orig/design-notes.html      Tue Jul 30 19:01:18 2002
+++ fetchmail-6.2.0/design-notes.html   Thu Jan  9 18:12:31 2003
@@ -262,7 +262,7 @@
 
 <li>
 <p>The multidrop handing does <em>not</em> rely on doing the
-equivalent of passing the message to sendmail -oem -t. Instead, it
+equivalent of passing the message to sendmail -t. Instead, it
 explicitly mines members of a specified set of local usernames out
 of the header.</p>
 </li>
diff -Naur fetchmail-6.2.0.orig/fetchmail.man fetchmail-6.2.0/fetchmail.man
--- fetchmail-6.2.0.orig/fetchmail.man  Mon Dec  9 20:27:50 2002
+++ fetchmail-6.2.0/fetchmail.man       Thu Jan  9 18:12:31 2003
@@ -409,12 +409,12 @@
 prevents the message from being deleted off the server.  If
 \fIfetchmail\fR is running as root, it sets its userid to that of the
 target user while delivering mail through an MDA.  Some possible MDAs
-are "/usr/sbin/sendmail -i -oem -f %F %T", "/usr/bin/deliver" and
+are "/usr/sbin/sendmail -i -f %F %T", "/usr/bin/deliver" and
 "/usr/bin/procmail -d %T" (but the latter is usually redundant as it's
 what SMTP listeners normally forward to).  Local delivery addresses
 will be inserted into the MDA command wherever you place a %T; the
 mail message's From address will be inserted where you place an %F.
-Do \fInot\fR use an MDA invocation like "sendmail -i -oem -t" that
+Do \fInot\fR use an MDA invocation like "sendmail -i -t" that
 dispatches on the contents of To/Cc/Bcc, it will create mail loops and
 bring the just wrath of many postmasters down upon your head.
 .TP 
================================================

-- 
Sunil Shetye.