[Mimedefang] Bug in action_notify_sender?

Jason Englander jason at englanders.cc
Fri Mar 15 14:08:22 EST 2002

On Fri, 15 Mar 2002, Mickey Hill wrote:

> Here's the problem I encountered this morning.  Has anyone else noticed
> this?  A call to action_notify_sender() with $Sender = '<>' results in a
> somewhat ungraceful exit from the multiplexor and a tempfail from
> mimedefang.

I posted something about that one month ago today.  I made the same
modification to my mimedefang-filter.  Never really thought about it after
that, after all the "fault" is of the sender and/or the sender's mail
software, the filter change is no problem...  I just changed my
mimedefang.pl (from v2.6) for the helluvitt.  patch is attached.  I'm
running it, but I haven't had any senders that were <> yet, so I don't
know if it works or not ;-)  Use at your own risk!!  [ maybe wait, make
sure David doesn't reply saying it breaks something <g> ]


-------------- next part --------------
--- mimedefang.pl.old	Fri Mar 15 13:22:35 2002
+++ mimedefang.pl	Fri Mar 15 14:02:14 2002
@@ -714,6 +714,10 @@
 sub action_notify_sender {
     my($msg) = @_;
+    if ($Sender eq '<>') {
+      syslog('err', "Skipped action_notify_sender: \$Sender = <>");
+      return 0;
+    }
     if (open(FILE, ">>NOTIFICATION")) {
 	print FILE $msg;

More information about the MIMEDefang mailing list