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

Res res at ausics.net
Thu May 10 06:37:52 IST 2007


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

Hi,

On Thu, 10 May 2007, Cameron B. Prince wrote:

>
> I noticed the Qmail is lower case in your example... Mine was capitalized by

Shouldn't matter

>> Make sure qmail can write to your MS working dir
>
> Here are the permissions:
>
> drwxr-xr-x  11 qmailq qmail 4096 May  8 22:22 queue
> drwxr-xr-x   6 qmailq qmail 4096 May  9 22:54 queue.in

Actually I mean your MailScanner temp working dir, like 
/var/spool/MailScanner

chown -R qmailq.qmail /var/spool/MailScanner



the real qmail sources also set permissions diferent than what you have 
above, the queue dir is set 750

do you know what version of qmail plesk installs now days? as in what 
patches? I know it works on plesk from other comments I've had, but I'm 
unsure if those posters are members of this list, I suspectmaybe not? 
since none of them have commented.

Check perms on...

chown qmailq.qmail /var/qmail/bin/qmail-queue
chown root.qmail /var/qmail/bin/qmail-inject.mailscanner
chmod 4755 /var/qmail/bin/qmail-queue
chmod 755 /var/qmail/bin/qmail-inject.mailscanner


>> - --lint --debug
>
> I tried a few variations of this and either got the same output or none.

You'll have to ask Jules on that one.

>
> The line that generates the error is calling a method called Explode:
>
> $batch->Explode();
>
> I looked over the code in Message.pm and I'm wondering if it could be an
> issue with MIME::Parser. What do you think?

I have not looked at that code in a while, I can have alook this evening 
though.

- -- 

Cheers
Res

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

iD8DBQFGQq+ysWhAmSIQh7MRAtMUAKCtG/6mmesYkn9IFfJwhns+WlKumgCePFAW
1D6xPxOCjdH56VhMmefWSM0=
=JB8I
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list