Package: swatch
Version: 3.2.3-1
Severity: normal
Tags: patch

mail sent should not be queued, 
or at least, provide an option to do so.

If I'm monitoring file, i'd want to be informed right away,
not wait for the next exim flush-queue event.

in Swatch/Actions.pm, the option -odq is used,
causing the mail to not be delivered.
I see it could level a storm of email messages,
but then the swatch config was wrong at the start.
(threshold should be used to counter that)

here is the patch :

Index: usr/share/perl5/Swatch/Actions.pm
===================================================================
--- usr/share/perl5/Swatch/Actions.pm   (revision 100765)
+++ usr/share/perl5/Swatch/Actions.pm   (working copy)
@@ -140,7 +140,7 @@
       $args{'MAILER'} = $mailer if ( -x $mailer );
     }
     if ($args{'MAILER'} ne '') {
-      $args{'MAILER'} .= ' -oi -t -odq';
+      $args{'MAILER'} .= ' -oi -t';
     }
   }


thanks.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (550, 'stable'), (449, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.4.2.6.35.4-3-ws.2010.09.14 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages swatch depends on:
ii  libdate-calc-perl             6.0-2      Perl library for accessing dates
ii  libdate-manip-perl            6.11-1     module for manipulating dates
ii  libfile-tail-perl             0.99.3-4   File::Tail perl module
ii  libtimedate-perl              1.2000-1   collection of modules to manipulat
ii  perl [libtime-hires-perl]     5.10.1-20  Larry Wall's Practical Extraction 

swatch recommends no packages.

swatch suggests no packages.

-- no debconf information



-- 
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