Mailscanner sends load sky-high on Debian

Alex Pimperton alex at ERUS.CO.UK
Tue Oct 5 11:53:22 IST 2004


<x-flowed>
Julian Field wrote:
> At 19:28 02/10/2004, you wrote:
>
>> Hi
>>
>> I've been having a few problems recently with mailscanner going awol and
>> sending the load average sky high on my Debian testing box.
>
>
> With Max Children = 1 you shouldn't be seeing all these children. Take a
> look in your syslog for any errors.
> Also set
>         Debug = yes
> and then try to start MailScanner. It should print out any errors if there
> are any.
> --

Setting Debug = yes and running check_mailscanner gives:

server01:/var/spool/MailScanner/incoming# check_mailscanner
Starting MailScanner...
In Debugging mode, not forking...
SA bayes lock is /var/lib/MailScanner/bayes.lock
Bayes lock is at /var/lib/MailScanner/bayes.lock
Stopping now as you are debugging me.
Could not get to parent of incoming work directory at
/usr/share/MailScanner/MailScanner/WorkArea.pm line 187.
Stopping now as you are debugging me.

The incoming work directory is set to /var/spool/MailScanner/incoming
and the permissions for that are:

drwxrwx---  2 Debian-exim Debian-exim 4096 Oct  5 11:20 incoming

Also, occasionaly in syslog i get:

Oct  3 21:52:08 server01 MailScanner[32643]: Could not open file
 >/var/spool/MailScanner/incoming/31838/1CEDKr-0000Yv-NT.header: No such
file or directory
Oct  3 21:52:08 server01 MailScanner[32643]: Cannot create + lock
headers file
/var/spool/MailScanner/incoming/31838/1CEDKr-0000Yv-NT.header,
Oct  3 21:52:10 server01 MailScanner[32576]: Could not open file
 >/var/spool/MailScanner/incoming/31838/1CEDKr-0000Yv-NT.header: No such
file or directory
Oct  3 21:52:10 server01 MailScanner[32576]: Cannot create + lock
headers file

....which all points to a permissions problem, but I can't fid anything
that looks out of place, as it works some of the time.

Regards

Alex

p.s.
server01:/var/spool/MailScanner# MailScanner -v
Running on
Linux server01.erus.co.uk 2.4.26-bytemark-uml-20040706-1 #1 Tue Jul 6
09:37:31 BST 2004 i686 GNU/Linux
This is Perl version 5.008004 (5.8.4)
This is MailScanner version 4.33.3
Module versions are:
1.00    AnyDBM_File
1.13    Archive::Zip
1.02    Carp
1.119   Convert::BinHex
1.00    DirHandle
1.05    Fcntl
2.72    File::Basename
2.07    File::Copy
2.01    FileHandle
1.06    File::Path
0.14    File::Temp
1.27    HTML::Entities
3.36    HTML::Parser
2.28    HTML::TokeParser
1.21    IO
1.10    IO::File
1.123   IO::Pipe
3.01    MIME::Base64
5.403   MIME::Decoder
5.403   MIME::Decoder::UU
5.403   MIME::Head
5.406   MIME::Parser
5.411   MIME::Tools
0.10    Net::CIDR
1.08    POSIX
1.77    Socket
0.05    Sys::Syslog
1.02    Time::localtime
Optional module versions are:
2.64    Mail::SpamAssassin
missing Net::LDAP
missing SAVI
missing Mail::ClamAV
0.48    Net::DNS

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list