Koozali.org: home of the SME Server

Permanent qmail-queue failure

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
Permanent qmail-queue failure
« on: September 30, 2004, 02:38:48 PM »
Since installing the clamav using knudsens howto, i have found that when i try to scan outgoing emails i get this message. Turning off Outgoing email scan solves the problem. Anyone have any ideas?
smoke-free since June 24th, 2004............

Offline smeghead

  • *
  • 563
  • +0/-0
Permanent qmail-queue failure
« Reply #1 on: September 30, 2004, 07:21:47 PM »
.. and the message would be ...
..................

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
Permanent qmail-queue failure
« Reply #2 on: October 01, 2004, 12:34:17 AM »
Exactly that - is an error 554 if i recall.
smoke-free since June 24th, 2004............

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
Permanent qmail-queue failure
« Reply #3 on: October 01, 2004, 04:00:30 AM »
For the moment... You can disable the outgoing mail scan from the AntiVirus Panel... That resolved temporary my situation...

We wait for the next version of this script...

@+

Snoopyski

Offline raem

  • *
  • 3,972
  • +4/-0
Permanent qmail-queue failure
« Reply #4 on: October 01, 2004, 07:52:27 AM »
You could always use the version at http://pagefault.org. It works perfectly well.
...

mbachmann

Permanent qmail-queue failure
« Reply #5 on: October 01, 2004, 09:01:58 AM »
Turning off the outgoing scan will save you some 30 MB of memory resources. I had i turned on a while but on a regulary basis the scan process locked up the server especially on attachments.

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
Permanent qmail-queue failure
« Reply #6 on: October 01, 2004, 01:12:50 PM »
Before I used the pagefault contribs and it working fine... later I installed the other from knudsens and... same has you...

 :cry:

mbachmann

Permanent qmail-queue failure
« Reply #7 on: October 05, 2004, 10:53:20 AM »
There is an updated package on pagefault and Jesper Knudsen also has an updated antivirus_install.sh with the clam_AV 0.75 libs. Try that. Your machine should have 256 MB RAM minimum.

knaidoo

error 554 permanet qmail-queue failure - Knudsen antiv Panel
« Reply #8 on: October 18, 2004, 07:13:18 PM »
Hello, I got a 554 qmail error after I rebooted my system. was fixed when I turned off email virus scanning in Jesper Knudsen's panel.  I ahve the latest antivirus script from Knudsen's site, does anyone know what i can do to find error.  Do i have to reinstall script?

Thanks,
Kris

Offline smeagol

  • *
  • 6
  • +0/-0
Permanent qmail-queue failure
« Reply #9 on: October 20, 2004, 05:39:36 PM »
Installed the latest updates from Jesper Knudsen.
Had exactly the same problem (permanent q-mail queue failure) after enabling outgoing mail scanning in the antivirus setting panel.

Did some digging into the logfiles.
in /var/log/smtpfrnt-qmail/current I found:
...
Error opening '/var/log/amavis-ng/amavis-ng.log' for logging: Permission denied
smtpfront-qmail[5668]: Permanent qmail-queue failure.
...

apparently a permission/ownership problem with /var/log/amavis-ng/amavis-ng.log

chown qmailq:qmail /var/log/amavis-ng/amavis-ng.log*    seems to solve the problem

Hope that helps.
Cheers, Smeagol
...

Offline smeghead

  • *
  • 563
  • +0/-0
Permanent qmail-queue failure
« Reply #10 on: October 20, 2004, 06:19:56 PM »
Hmm, on my system with amavis installed the log folder/file perms are:

[root@kryten amavis-ng]# ls -la
total 180
drwxr-xr-x    2 qmailq   qmail        4096 Oct 17 04:22 .
drwxr-xr-x   28 root     root         4096 Oct 17 04:22 ..
-rw-rw-rw-    1 root     root        97163 Oct 21 00:08 amavis-ng.log
-rw-rw-rw-    1 root     root            0 Oct 17 04:03 amavis-ng.log.1
-rw-rw-rw-    1 root     root        10084 Oct 17 04:03 amavis-ng.log.1.gz
-rw-rw-rw-    1 root     root        13332 Oct 10 04:03 amavis-ng.log.2.gz
-rw-rw-rw-    1 root     root        13039 Oct  3 04:03 amavis-ng.log.3.gz
-rw-rw-rw-    1 root     root        11142 Sep 26 04:18 amavis-ng.log.4.gz
-rw-rw-rw-    1 root     root        13070 Sep 19 04:03 amavis-ng.log.5.gz

Perhaps all that is needed is to reset the folder perms:

chown qmailq:qmail /var/log/amavis-ng

HTH
..................

Offline smeghead

  • *
  • 563
  • +0/-0
Permanent qmail-queue failure
« Reply #11 on: October 20, 2004, 06:23:40 PM »
Smeagol, perhaps you could verify this on your system and report back to Jesper and/or this thread.
..................

Offline smeagol

  • *
  • 6
  • +0/-0
Permanent qmail-queue failure
« Reply #12 on: October 20, 2004, 06:40:40 PM »
That is exactly what I did (and wrote as you can see;)

Works fine after the chown.
...

Offline smeghead

  • *
  • 563
  • +0/-0
Permanent qmail-queue failure
« Reply #13 on: October 20, 2004, 07:37:38 PM »
.. no, I think you have reset the perms on the files in the folder as well!?
..................

Offline smeagol

  • *
  • 6
  • +0/-0
Permanent qmail-queue failure
« Reply #14 on: October 20, 2004, 08:45:40 PM »
Ah, you're absolutely right. Subtle difference.
Did some more testing.
I deleted all the logfiles in /var/log/amavis-ng
changed ownership on the FOLDER to qmailq:qmail and sent another email.

No problems, no errors.

A new logfile /var/log/amiavis-ng/amavis-ng.log is created with perm 644 and ownership qmailq:nofiles.

Should be easy for Jesper to fix in his install script.
...

Offline smeghead

  • *
  • 563
  • +0/-0
Permanent qmail-queue failure
« Reply #15 on: October 21, 2004, 03:34:58 AM »
yep, just be sure to let him know about the bug and the fix required
..................

Offline smeagol

  • *
  • 6
  • +0/-0
Permanent qmail-queue failure
« Reply #16 on: October 22, 2004, 10:47:33 AM »
I did notify Jesper.
Received his reply. I Expect an updated install script (with the chown line added) will appear soon.
...