Reloading config

Magnus [ISO-8859-1] Morén magnus.moren at CITE.HH.SE
Tue Feb 22 08:44:02 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi,

As a part of my "/etc/init.d/mailscanner" script i have the following
lines for reloading the config (p334 in "The book"):

'reload')
    echo "Reloading MailScanner config"
    kill -HUP `cat /opt/MailScanner/var/MailScanner.pid`
    ;;

But when I run a "/etc/init.d/mailscanner reload" the config is not
reloading and no signs of this in the log files. Nothing is happening
when i run the kill on a command line either.

A "/etc/init.d/mailscanner restart" (-TERM) is needed to get the new
config running.

Am I missing something?


Some more info:

/opt/MailScanner/bin/MailScanner -v
Running on
SunOS malkor.hh.se 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-V240
This is Perl version 5.006001 (5.6.1)

This is MailScanner version 4.38.10
Module versions are:
1.14    Archive::Zip
1.119   Convert::BinHex
1.03    Fcntl
2.6     File::Basename
2.03    File::Copy
2.00    FileHandle
1.0404  File::Path
0.14    File::Temp
1.29    HTML::Entities
3.45    HTML::Parser
2.30    HTML::TokeParser
1.20    IO
1.08    IO::File
1.121   IO::Pipe
3.05    MIME::Base64
5.417   MIME::Decoder
5.417   MIME::Decoder::UU
5.417   MIME::Head
5.417   MIME::Parser
3.03    MIME::QuotedPrint
5.417   MIME::Tools
0.10    Net::CIDR
1.03    POSIX
1.72    Socket
0.01    Sys::Syslog
1.01    Time::localtime

Optional module versions are:
missing DB_File
1.08    Digest
1.01    Digest::HMAC
2.33    Digest::MD5
2.10    Digest::SHA1
missing Inline
missing Mail::ClamAV
3.000002        Mail::SpamAssassin
1.997   Mail::SPF::Query
0.15    Net::CIDR::Lite
0.48    Net::DNS
missing Net::LDAP
missing Parse::RecDescent
missing SAVI
1.2     Sys::Hostname::Long
2.42    Test::Harness
0.47    Test::Simple
missing Text::Balanced
1.33    URI


-- 
Magnus Morén____________________________________________
Central IT / CITE,   Högskolan i Halmstad,    035-167383
Box 823, 301 18 HALMSTAD, epost: magnus.moren at cite.hh.se

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

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list