Maurice Massar wrote: > So this check matches on the default sendmail hello message, which makes > it quite contraproductive. (And just to nitpick: why exclude 127.0.0.1 but > not ::1? (-;)
Indeed... Here is a patch against our development version. It should be pretty obvious how to apply it against 2.67-3. Could you give it a try, please? Regards, David. diff --git a/mimedefang.pl.in b/mimedefang.pl.in index e6f009f..5196ea7 100755 --- a/mimedefang.pl.in +++ b/mimedefang.pl.in @@ -7749,9 +7749,9 @@ sub md_check_against_smtp_server ($$$$;$) { # However, don't check if $server is explicitly 127.0.0.1 # because presumably that indicates the caller knows # what he or she is doing. - if ($server ne '127.0.0.1') { + if ($server ne '127.0.0.1' && $server ne '::1') { my $host_expr = quotemeta(get_host_name()); - if ($text =~ /\b$host_expr\b/) { + if ($text =~ /^$host_expr\b/) { $sock->print("QUIT\r\n"); $sock->flush(); # Swallow return value -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org