fetchmail-friends
[Top] [All Lists]

[fetchmail]Stripcr with FALLBACK_MDA fix

2002-03-04 07:49:17
Currently if fetchmail delivers via SMTP stripcr is false.
If fetchmail delivers via a local mda stripcr is true.

However if it falls back to FALLBACK_MDA then the value of stripcr should be
changed in response to this.

I propose the following little patch.

Plato


--- sink.c.old  Mon Mar  4 14:47:51 2002
+++ sink.c      Mon Mar  4 14:30:16 2002
@@ -1031,6 +1031,8 @@
         * Latch it in place, logging the error, and fall through.
         */
        ctl->mda = FALLBACK_MDA;
+       if (!ctl->forcecr)
+               ctl->stripcr = TRUE;
 
        report(stderr, GT_("can't raise the listener; falling back to %s"),
                         FALLBACK_MDA);


<Prev in Thread] Current Thread [Next in Thread>