It's a bug in TMDA, as TMDA should not attempt to reply to such a
bounce message. Thanks for catching this, and also for the detailed
report (a refreshing departure from the norm).
The attached simple patch should fix the problem.
Index: bin/tmda-rfilter
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-rfilter,v
retrieving revision 1.66
diff -u -r1.66 tmda-rfilter
--- bin/tmda-rfilter 15 Sep 2002 02:44:55 -0000 1.66
+++ bin/tmda-rfilter 24 Sep 2002 04:18:13 -0000
@@ -283,7 +283,7 @@
"""Return true if TMDA should auto-respond to this sender."""
# Try and detect a bounce message.
if envelope_sender == '<>' or \
- envelope_sender == '<#@[]>' or \
+ envelope_sender == '#@[]' or \
envelope_sender.lower().startswith('mailer-daemon'):
logit ('DROP (envelope sender = %s)' % envelope_sender)
return 0