Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: kruhm on February 04, 2005, 08:04:50 PM
-
The server stopped receiving mail. Checking the maillog I noticed:
SMTP error: 451 Writing data to qmail-queue failed.
Feb 2 12:33:41 sme fetchmail[10540]: SMTP error: 451 Temporary qmail-queue failure.
Then I checked smtpfront-qmail and noticed:
Then noticed in smtpfront-qmail:
@40000000420068ed2a5983bc Bareword found where operator expected at /usr/lib/perl5/site_perl/5.6.1/Archive/Zip.pm line 2955, near "AZ_IO_ERROR unl"
@40000000420068ed2a5b681c (Do you need to predeclare AZ_IO_ERROR?)
@40000000420068ed2a67201c AMAVIS: Couldn't load AMAVIS::Extract::Zip at /usr/lib/perl5/site_perl/5.6.1/AMAVIS.pm line 247.
Command: perl -e 'use AMAVIS::Extract::Zip'
Gives me:
Bareword found where operator expected at /usr/lib/perl5/site_perl/5.6.1/Archive/Zip.pm line 2955, near "AZ_IO_ERROR unl"
(Do you need to predeclare AZ_IO_ERROR?)
Unrecognized character \x01 at /usr/lib/perl5/site_perl/5.6.1/Archive/Zip.pm line 2955.
Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/AMAVIS/Extract/Zip.pm line 15.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/AMAVIS/Extract/Zip.pm line 15.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
The only way I can workaround to receive mail is to set "Scan outgoing email" to "no" in the ANTIVIRUS panel.
I've tried to fix this myself but alas I'm 'reduced' to ask for help from the SME gods.
Any help would be appreciated.
thanxs,
dak
-
remove all clam rpm's and use swert knurtsen latest antivirus contrib. It fixed my mailproblem (caused by upgrading from 6.0 to 6.5beta1)
-
Which rpm's would those be?
Giving a quick lookover through the script it seems they should be:
-clamav-es-libs
-clamav-es
-amavis-ng
-sme-antivirus
Are these correct? Any others?
thanks,
dak
-
I didn't erase amavis. It worked for me.
I also removed the spam rpm's and used the installation cd (6.5b2) and upgraded again, so the missing rpm's where installed again. After that I ran the antivirus script of swert.
installed: iso 6.0, upgraded to 6.5b2
broken spam/antivirus and domain email probs (same as you). Deinstalled spam rpms, used 6.5b2 iso to upgrade, fixed some bug, deinstalled clam rpms en used the script of swert. Fixed it all.
good luck!
-
You do know that 6.5b2 is not designed to upgrade any 6.x although it may be working and although the upgrading option is presented on installation?
-
I know, but some shitty update script wrecked my libs that where nesseray for rpm. So rpm was broken and I thought if I have to reinstall I can first try to upgrade :)
-
Just for the record (& in the spirit of contribs), I was never able to fix this problem. I don't know why it happened. Also, the workaround (set "Scan outgoing email" to "no" in the ANTIVIRUS panel) also stopped scanning for viruses and spam for incoming mail (my admin reports were 0'ed out).
It was taking too long to fix, so my final solution was to rebuilt the box from scratch and pratice my backup skills. Not a bad solution considering it only takes about 2 hours and researching the problem with trial and error took many more.
In my research, I did find some cool tools that I thought I should mention in regards to the qmail-queue (apparently I wasn't the first person to have a problem :-o ):
first, qmhandle -gives you an easy way to view and manage the qmail queue.
found here: http://sourceforge.net/projects/qmhandle/
second, queue-repair -it fixes a queue restored from backups, incorrect ownership or permissions of directories and files, missing or extra split subdirectories, unexpected files or other directories, or creating a valid queue from scratch.
found here: www.qcc.ca/~charlesc/software/queue_repair/
(there's also Qmailmrtg, but that isn't relevant to fixing a problem, it's just fun :-D )
lastly, i ran into this problem a second time on a different server in a different location. the problem is because the sme is in server only mode with a firewall. if your server is behind a firewall, you have to make sure to open the following ports and point to sme address.
Outgoing TCP port 2703 (Razor2)
TCP port 7 (Echo)
thanxs,
dak