Error when installing on Debian lenny

Lance Haig lhaig at haigmail.com
Fri Apr 17 22:45:04 IST 2009


Hi,

I am building a MailScanner on debian lenny.
I have

when I start it I get this error

Cannot create temporary Work Dir /var/spool/MailScanner/incoming/2005.
Are the permissions and ownership of /var/spool/MailScanner/incoming
correct?

I have fixed the unrar error.

What am I missing?

Thanks

Lance

Some information

scan2:~# MailScanner -lint
Trying to setlogsock(unix)
Read 848 hostnames from the phishing whitelist
Read 4278 hostnames from the phishing blacklist
Checking version numbers...
Version number in MailScanner.conf (4.74.16) is correct.

Unrar is not installed, it should be in /usr/bin/unrar.
This is required for RAR archives to be read to check
filenames and filetypes. Virus scanning is not affected.


Your envelope_sender_header in spam.assassin.prefs.conf is correct.
MailScanner setting GID to  (109)
MailScanner setting UID to  (107)

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
pyzor: check failed: internal error
SpamAssassin reported no errors.
I have found clamd scanners installed, and will use them all by default.
Using locktype = posix
MailScanner.conf says "Virus Scanners = auto"
Found these virus scanners installed: clamd
===========================================================================
Error in tempdir() using MSlintXXXXXX: Parent directory (.) is not writable
 at /usr/share/MailScanner//MailScanner/MessageBatch.pm line 1170



scan2:~# MailScanner -v
Running on
Linux scan2.redarmour.co.uk 2.6.18.8-linode16 #1 SMP Mon Jan 12 09:50:18
EST 2009 i686 GNU/Linux
This is Perl version 5.010000 (5.10.0)

This is MailScanner version 4.74.16
Module versions are:
1.00	AnyDBM_File
1.18	Archive::Zip
0.22	bignum
1.08	Carp
2.012	Compress::Zlib
1.119 	Convert::BinHex
0.17	Convert::TNEF
2.121_14	Data::Dumper
2.27	Date::Parse
1.01	DirHandle
1.06	Fcntl
2.76	File::Basename
2.11	File::Copy
2.01	FileHandle
2.04	File::Path
0.18	File::Temp
0.92	Filesys::Df
1.35	HTML::Entities
3.56	HTML::Parser
2.37	HTML::TokeParser
1.23_01	IO
1.14	IO::File
1.13	IO::Pipe
2.03	Mail::Header
1.88	Math::BigInt
0.21	Math::BigRat
3.07_01	MIME::Base64
5.427	MIME::Decoder
5.427	MIME::Decoder::UU
5.427	MIME::Head
5.427	MIME::Parser
3.07	MIME::QuotedPrint
5.427	MIME::Tools
0.11	Net::CIDR
1.25	Net::IP
0.16	OLE::Storage_Lite
1.04	Pod::Escapes
3.05	Pod::Simple
1.13	POSIX
1.19	Scalar::Util
1.80	Socket
2.18	Storable
1.4	Sys::Hostname::Long
0.26	Sys::Syslog
missing	Test::Pod
0.72	Test::Simple
1.9711	Time::HiRes
1.02	Time::localtime

Optional module versions are:
1.38	Archive::Tar
0.22	bignum
missing	Business::ISBN
missing	Business::ISBN::Data
missing	Data::Dump
1.816_1	DB_File
1.14	DBD::SQLite
1.605	DBI
1.15	Digest
1.01	Digest::HMAC
2.36_01	Digest::MD5
2.11	Digest::SHA1
missing	Encode::Detect
0.17015	Error
0.21	ExtUtils::CBuilder
2.18_02	ExtUtils::ParseXS
2.37	Getopt::Long
missing	Inline
missing	IO::String
1.07	IO::Zlib
missing	IP::Country
missing	Mail::ClamAV
3.002005	Mail::SpamAssassin
v2.006	Mail::SPF
1.999001	Mail::SPF::Query
0.32	Module::Build
0.20	Net::CIDR::Lite
0.63	Net::DNS
v0.003	Net::DNS::Resolver::Programmable
missing	Net::LDAP
 4.026	NetAddr::IP
missing	Parse::RecDescent
missing	SAVI
3.16	Test::Harness
missing	Test::Manifest
2.0.0	Text::Balanced
1.35	URI
0.74	version
0.68	YAML


More information about the MailScanner mailing list