Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: nigeltodd 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?
-
.. and the message would be ...
-
Exactly that - is an error 554 if i recall.
-
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
-
You could always use the version at http://pagefault.org. It works perfectly well.
-
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.
-
Before I used the pagefault contribs and it working fine... later I installed the other from knudsens and... same has you...
:cry:
-
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.
-
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
-
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
-
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
-
Smeagol, perhaps you could verify this on your system and report back to Jesper and/or this thread.
-
That is exactly what I did (and wrote as you can see;)
Works fine after the chown.
-
.. no, I think you have reset the perms on the files in the folder as well!?
-
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.
-
yep, just be sure to let him know about the bug and the fix required
-
I did notify Jesper.
Received his reply. I Expect an updated install script (with the chown line added) will appear soon.