Package: mon
Version: 0.99.2-7
Severity: normal
Tags: patch

The smtp3.monitor doesn't allow multiline banners.  Here's a patch to
fix it.

--- smtp3.monitor-orig  Fri Feb 25 14:30:02 2005
+++ smtp3.monitor       Fri Feb 25 14:22:15 2005
@@ -160,7 +160,7 @@
       print $sock "QUIT\r\n";        # Shutdown connection
       close $sock;
       $dt = tv_interval ($t1, $t2);  # Compute connection time
-      if ($in !~ /^220\s+/) {        # Consider "220 Service ready" to be only 
valid
+      if ($in !~ /^220[-\s]/) {        # Consider "220 Service ready" to be 
only valid
        push(@Failures, $host);      # Note failure
        $FailureDetail{$host} = $in; # Save failure banner
       }


-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7lindyslide-0
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mon depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libmon-perl                 0.11-2       mon Perl modules for clients and s
ii  libtime-period-perl         1.20-7       Perl library for testing if a time
ii  perl [libtime-hires-perl]   5.8.4-5      Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to