MailScanner w/ Qmail / Plesk ( format error: file is too short )

Res res at ausics.net
Thu May 10 05:40:24 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Wed, 9 May 2007, Cameron B. Prince wrote:

> Version number in MailScanner.conf (4.58.9) is correct.

> MailScanner setting GID to  (2520)
> MailScanner setting UID to  (2520)

This seems strange if you are using qmail. UID and GID should differ,
UID is qmailq, GID is qmail

Make sure qmail can write to your MS working dir

> Is there a way to do an strace or something similar to get more verbose
> debugging?

- --lint --debug

also try this, if you are certain it is to do with archive::zip (i'm not 
convinced myself)

Whats the output of:

perl -MArchive::Zip -le "print Archive::Zip->VERSION";

....Should return 1.18 if lower, upgrade that package, it can't hurt.

grep -i qmail MailScanner.conf

and you should see:

Run As User = qmailq
Run As Group = qmail
Incoming Queue Dir = /var/qmail/queue.in/mess
Outgoing Queue Dir = /var/qmail/queue/mess
MTA = qmail
Sendmail = /var/qmail/bin/qmail-inject.mailscanner
Sendmail2 = /var/qmail/bin/qmail-inject.mailscanner


- -- 

Cheers
Res

Vote for your favourite MTA at  http://polls.ausics.net/v3.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGQqI7sWhAmSIQh7MRAn7bAKClQArgk0BmZRsN+BvUJQmDYGCzkACfTpwZ
5NrqAUMlfPYogzWvx4gVh8E=
=4S6f
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list