Followup-For: Bug #525817
Package: mimedefang
Version: 2.64-6

hi,

I have read the comment for the check, for reference:

    # If the banner contains our host name, there's a loop!
    # 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') {
            my $host_expr = quotemeta(get_host_name());
            if ($text =~ /\b$host_expr\b/) {

the problem is:

mailgw2:/etc/mail# telnet sushi.unix-ag.uni-kl.de 25
Trying 2001:638:208:ef34:0:ff:fe00:65...
Connected to sushi.unix-ag.uni-kl.de.
Escape character is '^]'.
220 sushi.unix-ag.uni-kl.de ESMTP Sendmail 8.13.8/8.13.8/Debian-3+etch1; Fri, 
19 Feb 2010 00:07:43 +0100; (No UCE/UBE) logging access from: 
mailgw2.uni-kl.de(OK)-mailgw2.uni-kl.de [IPv6:2001:638:208:120::221]

\b is "Match a word boundary"

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? (-;)

Looking at mimedefang.pl.in of the src-package in unstable it seems like
2.67-3 is affected too.


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mimedefang depends on:
ii  adduser                  3.110           add and remove users and groups
ii  debconf [debconf-2.0]    1.5.24          Debian configuration management sy
ii  libc6                    2.7-18lenny2    GNU C Library: Shared libraries
ii  libdigest-sha1-perl      2.11-2+b1       NIST SHA-1 message digest algorith
ii  libio-stringy-perl       2.110-4         Perl modules for IO from scalars a
ii  libmailtools-perl        2.03-1          Manipulate email in perl programs
ii  libmilter1.0.1           8.14.3-5+lenny1 Sendmail Mail Filter API (Milter)
ii  libmime-tools-perl       5.427-1         Perl5 modules for MIME-compliant m
ii  libperl5.10              5.10.0-19lenny2 Shared Perl library
ii  libunix-syslog-perl      1.1-2           Perl interface to the UNIX syslog(
ii  perl [libmime-base64-per 5.10.0-19lenny2 Larry Wall's Practical Extraction 
ii  psmisc                   22.6-1          Utilities that use the proc filesy

Versions of packages mimedefang recommends:
ii  sendmail                 8.14.3-5+lenny1 powerful, efficient, and scalable 
pn  tk8.3 | wish             <none>          (no description available)

Versions of packages mimedefang suggests:
ii  clamav           0.95.3+dfsg-1~volatile1 anti-virus utility for Unix - comm
ii  graphdefang      2.64-6                  grapher for MIMEDefang spam and vi
ii  libarchive-zip-p 1.18-1                  Module for manipulation of ZIP arc
ii  libfile-scan-per 1.43-1.1                Perl lib to scan files for viruses
ii  libhtml-parser-p 3.56-1+lenny1           A collection of modules that parse
ii  sanitizer        1.76-2                  The Anomy Mail Sanitizer - an emai
ii  spamassassin [li 3.2.5-2+lenny2          Perl-based spam filter using text 
pn  wv               <none>                  (no description available)

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to