U
unixguy
Guest
I recently had a hard drive failure and was forced to restore from backups.
After the restore local mail delivery is not working correctly.
The local mail queue will grow. After some time I will run
/usr/local/psa/admin/bin/mchk --with-spam
Then I will run a Flush queue
/usr/local/qmHandle/qmHandle -a
And all the messages will go.
The queue will operate and deliver normally for a time - but eventually something will get caught and the entire queue will stop processing.
There are no errors in /usr/local/psa/var/log/maillog that tell me what message(s) are causing the problem.
Running qmHandle -a on its own is not enough
Running mchk --with-spam on its own is not enough. I must run both.
Can anyone tell me where I should look?
It is my understanding that mchk will repair/rebuild all Qmail configuration files and restore settings for all mailboxes. So what is it that is coming along and wrecking my qmail configs?
For the moment I've added a crontab to run mchk and qmHandle -a every 15 minutes -- but this is not a long term solution.
Many thanks,
Troy
I restored the psa databases, the websites and the /var/qmail directory hierarchy - no problems.
All the user accounts and passwords are fine.
Mail sent externally works fine.
After the restore local mail delivery is not working correctly.
The local mail queue will grow. After some time I will run
/usr/local/psa/admin/bin/mchk --with-spam
Then I will run a Flush queue
/usr/local/qmHandle/qmHandle -a
And all the messages will go.
The queue will operate and deliver normally for a time - but eventually something will get caught and the entire queue will stop processing.
There are no errors in /usr/local/psa/var/log/maillog that tell me what message(s) are causing the problem.
Running qmHandle -a on its own is not enough
Running mchk --with-spam on its own is not enough. I must run both.
Can anyone tell me where I should look?
It is my understanding that mchk will repair/rebuild all Qmail configuration files and restore settings for all mailboxes. So what is it that is coming along and wrecking my qmail configs?
For the moment I've added a crontab to run mchk and qmHandle -a every 15 minutes -- but this is not a long term solution.
Many thanks,
Troy
I restored the psa databases, the websites and the /var/qmail directory hierarchy - no problems.
All the user accounts and passwords are fine.
Mail sent externally works fine.