View Full Version : Spamassassin failed install
Hey All,
We had our put up about six weeks ago and since I was involved in other projects and the server was pretty much on hold for a while I didn't realize spamassassin was not running. Now I went to activate it following the directions on the server and all I'm getting are a bunch of failures.
Any Suggestions?
Bloory
08-24-2005, 10:03 PM
If you give details of the errors people will be able to give specific help. Otherwise, pay someone to login to your server and fix it.
icepick
08-25-2005, 12:29 AM
Hi,
Ok I just installed spamassassin as per instructed by help.directadmin (which my directadmin pointed me to) and have started spamd, edit the exim.conf and uncommented the directive.
Now I get a loop in my email when i send to a spam protected domain:
2005-08-25 19:34:15 exim 4.50 daemon started: pid=96551, -q1h, listening for SMTP on port 25 (IPv4)
2005-08-25 19:34:33 1E8CFt-000Pgn-8n <= barry@unix.co.nz H=mta205-rme.xtra.co.nz [210.86.15.187] P=esmtp S=1091 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <barry@unix.co.nz> for admin@aaa.co.nz
2005-08-25 19:34:33 1E8CFt-000PhC-Ed <= barry@unix.co.nz U=mail P=virus-scanned S=1375 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <mail@web.aaa.co.nz> for admin@aaa.co.nz
2005-08-25 19:34:33 1E8CFt-000Pgn-8n => admin <admin@aaa.co.nz> F=<barry@unix.co.nz> R=nod32 T=nod32_transport S=1139
2005-08-25 19:34:33 1E8CFt-000Pgn-8n Completed
2005-08-25 19:34:33 1E8CFt-000PhI-G9 <= barry@unix.co.nz U=mail P=spam-scanned S=1686 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <barry@unix.co.nz> for admin@aaa.co.nz
2005-08-25 19:34:33 1E8CFt-000Phn-Oc <= barry@unix.co.nz U=mail P=virus-scanned S=1970 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <mail@web.aaa.co.nz> for admin@aaa.co.nz
2005-08-25 19:34:33 1E8CFt-000PhI-G9 => admin <admin@aaa.co.nz> F=<barry@unix.co.nz> R=nod32 T=nod32_transport S=1734
2005-08-25 19:34:33 1E8CFt-000PhI-G9 Completed
2005-08-25 19:34:33 1E8CFt-000PhC-Ed => admin <admin@aaa.co.nz> F=<barry@unix.co.nz> R=spamcheck_director T=spamcheck S=1608
2005-08-25 19:34:33 1E8CFt-000PhC-Ed Completed
2005-08-25 19:34:34 1E8CFt-000Pht-QB <= barry@unix.co.nz U=mail P=spam-scanned S=2110 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <barry@unix.co.nz> for admin@aaa.co.nz
2005-08-25 19:34:34 1E8CFu-000PiO-2R <= barry@unix.co.nz U=mail P=virus-scanned S=2394 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <mail@web.aaa.co.nz> for admin@aaa.co.nz
2005-08-25 19:34:34 1E8CFt-000Pht-QB => admin <admin@aaa.co.nz> F=<barry@unix.co.nz> R=nod32 T=nod32_transport S=2158
2005-08-25 19:34:34 1E8CFt-000Pht-QB Completed
icepick
08-25-2005, 12:46 AM
Ok there seems to be some sort of conflict in my exim.conf with spamassassin.
If spam is turned off, and nod32 on, email works fine.
If spam is turned on and nod32 off email works fine
If both are on, I get the error above.
I added the following for nod32 in my exim.conf...
just after the "begin routers" I have:
# ROUTER CONFIGURATION
nod32:
driver = accept
domains = +local_domains
condition = "${if eq {$received_protocol}{virus-scanned} {0}{1}}"
transport = nod32_transport
verify = false
Just after "begin transport" i added:
# TRANSPORTS CONFIGURATION
nod32_transport:
driver = pipe
command = /usr/bin/nod32mda $local_part@$domain
## user = mailnull
## group = mail
I've tried to move this all over the place, to below spamassassin transport and everything.
Please help
icepick
08-25-2005, 05:24 AM
You need to comment out what I did (I got this from their documentation example) and add the other condition.
# ROUTER CONFIGURATION
nod32:
driver = accept
domains = +local_domains
# condition = "${if eq {$received_protocol}{virus-scanned} {0}{1}}"
condition = ${if and { {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{virus-scanned}} } {1}{0}}
transport = nod32_transport
verify = false
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.