fetchmail-friends
[Top] [All Lists]

[fetchmail]No bounce mail...

2001-09-04 23:42:01
fetchmail does not send any bounce message now on a bad address.

I think the patch in 5.8.17 has removed the call the send_bouncemail()
causing no bounce messages to be sent in any case.

This patch should undo it...
============================================================
diff -Naur fetchmail-5.9.0.orig/sink.c fetchmail-5.9.0/sink.c
--- fetchmail-5.9.0.orig/sink.c Mon Aug  6 13:32:53 2001
+++ fetchmail-5.9.0/sink.c      Wed Sep  5 12:01:46 2001
@@ -702,7 +702,10 @@
                              ctl->listener, addr);
                }
            }
-
+       if (*bad_addresses)
+           send_bouncemail(ctl, msg, XMIT_RCPTBAD,
+                            "Some addresses were rejected by the MDA fetchmail 
forwards to.\r\n",
+                            *bad_addresses, from_responses);
        /*
         * It's tempting to do local notification only if bouncemail was
         * insufficient -- that is, to add && total_addresses > *bad_addresses
============================================================

Sunil Shetye.


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