Package: mailscanner
Version: 4.79.11-1
Severity: important
Tags: patch


This has been spotted in mailscanner 4.79.11-1, but is also present in
earlier versions of the package.

The /etc/cron.hourly/mailscanner file is supposed to try to restart
mailscanner if it crashed.  However, it never does, because the "stopped
lockfile" (defined in 

        stopped_lockfile=/var/lock/subsys/MailScanner.off;

is later referred to as "lockfile", with unsurprising effects :)

One needs to change the line 

        [ -f $lockfile ] && exit 0;
to
        [ -f $stopped_lockfile ] && exit 0;

and everything is fine and dandy again.


Yes, I'm running the mailscanner package from queeze in lenny, after a manual
install.



regards,
adc


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

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



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