PDA

View Full Version : qmail not sending mail


KudosDesigns
16th July 2007, 01:04 PM
Hi,

After upgrading to Plesk 8.2 and then upgrading to Fedora Core 5, i have a problem whereby users can't send mail.

I am using qmail-scanner from atomic rocket turtle.

The error in /usr/local/psa/var/log/maillog is as follows:

Jul 16 18:02:15 audi qmail: 1184605335.388076 status: local 2/100 remote 1/100
Jul 16 18:02:15 audi qmail-remote-handlers[4633]: Handlers Filter before-remote for qmail started ...
Jul 16 18:02:15 audi qmail-remote-handlers[4633]: from=YY@YY.YY
Jul 16 18:02:15 audi qmail-remote-handlers[4633]: to=XX@XX.XX
Jul 16 18:02:15 audi qmail-remote-handlers[4633]: cannot reinject message to mail system
Jul 16 18:02:15 audi qmail: 1184605335.457055 delivery 85: failure:
Jul 16 18:02:15 audi qmail: 1184605335.457508 status: local 2/100 remote 0/100
Jul 16 18:02:15 audi qmail-queue-handlers[4642]: Handlers Filter before-queue for qmail started ...

I presume the line:

Jul 16 18:02:15 audi qmail-remote-handlers[4633]: cannot reinject message to mail system

Is the problem. Anybody had any problems with this?

Cheers,

Nick

KudosDesigns
16th July 2007, 01:22 PM
To add to the above, there are no errors in qmail-scanner's log (/var/spool/qscan/qmail-queue.log) and i have disabled selinux on the box to ensure that isn't causing problems.

Cheers,

Nick

KudosDesigns
16th July 2007, 03:13 PM
For those interested, i fixed this issue. Forced a refresh of the psa-qmail rpm using the following procedure. Then applied art's qmail-scanner rpm and everything is good!

-----

Stop qmail:

service qmail stop
service courier-imap stop
service xinetd stop
Backup the bin and qmal queue directories:


mv /var/qmail/bin /var/qmail/bin.old
mv /var/qmail/queue /var/qmail/queue.old
Now refresh this installation. To do this, you will need a fresh copy of the psa-qmail rpm for your distribution. You can either download a tarball of all the rpms from the plesk website.

So then, refresh by running:


rpm -ivh --force psa-qmail*
Try again, and you should have overcome your injection problems!