Decided to switch over to Postfix after similar issues. However, Plesk->Postfix has its own problems with
some message w/attachments undeliverable and endlessly looping, never got to the bottom of it. So late one evening, thought I'd give the Qmail patch another go... and it worked! Now, I suspect the switch to postfix then back, patching qmail,
then installing qmail-scanner did something different, I originally patched over an existing qmail-scanner install, hence my suggestion. Unfortunately, didn't write notes of the exact process, so cannot provide step-by-step guide, but followed notes on Atomic and Parallels forums. As far as I remember all I did was to ensure the existing qmail-queue binary was backed up (cp with -p flag to retain permissions/ownership) and made sure the patched qmail-queue used the same
before qmail-scanner was installed and let it run for a while to be sure (added zen.spamhaus to Plesk's blacklisting to keep spam to a minimum while I checked the system and sent test messages). Then added qs to the mix via yum in the usual way.
As to blank messages still bouncing about, did you clear the qmail queue before patching?
Code: Select all
/usr/local/psa/admin/sbin/mailmng --stop-smtpd
ps -ef | grep qmail-queue
kill -ALRM `pidof qmail-queue`
Check permissions/ownership (these are mine):
Code: Select all
ls -lah /var/qmail/bin/qmail-queue*
-r-xr-sr-x 1 mhandlers-user popuser 6.5K Mar 26 01:58 /var/qmail/bin/qmail-queue
-rwsr-xr-x 1 qmailq qmail 71K Mar 26 01:33 /var/qmail/bin/qmail-queue.bak
-r-s--x--x 1 qmailq qmail 21K Dec 30 00:07 /var/qmail/bin/qmail-queue.moved
-rwsr-xr-x 1 qmailq qmail 175K Mar 26 01:51 /var/qmail/bin/qmail-queue.orig
-rwsr-xr-x 1 qmailq qmail 175K Mar 26 01:51 /var/qmail/bin/qmail-queue.orig.bak
-r-xr-sr-x 1 mhandlers-user popuser 175K Jan 21 08:25 /var/qmail/bin/qmail-queue.update
stat /var/qmail/bin/qmail-queue
File: `/var/qmail/bin/qmail-queue'
Size: 6653 Blocks: 16 IO Block: 4096 regular file
Device: 803h/2051d Inode: 34178619 Links: 1
Access: (2555/-r-xr-sr-x) Uid: ( 30/mhandlers-user) Gid: ( 31/ popuser)
Access: 2010-04-08 07:12:40.000000000 +0100
Modify: 2010-03-26 01:58:56.000000000 +0000
Change: 2010-03-26 01:58:56.000000000 +0000
Hope that helps...
Not sure why you have a date/time discrepancy and slow delivery, maybe unrelated?