Spamassassin failed install

jpl

New member
Joined
Aug 24, 2005
Messages
1
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?
 
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.
 
broken

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 <= [email protected] 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 <[email protected]> for [email protected]
2005-08-25 19:34:33 1E8CFt-000PhC-Ed <= [email protected] U=mail P=virus-scanned S=1375 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <[email protected]> for [email protected]
2005-08-25 19:34:33 1E8CFt-000Pgn-8n => admin <[email protected]> F=<[email protected]> 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 <= [email protected] U=mail P=spam-scanned S=1686 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <[email protected]> for [email protected]
2005-08-25 19:34:33 1E8CFt-000Phn-Oc <= [email protected] U=mail P=virus-scanned S=1970 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <[email protected]> for [email protected]
2005-08-25 19:34:33 1E8CFt-000PhI-G9 => admin <[email protected]> F=<[email protected]> 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 <[email protected]> F=<[email protected]> 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 <= [email protected] U=mail P=spam-scanned S=2110 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <[email protected]> for [email protected]
2005-08-25 19:34:34 1E8CFu-000PiO-2R <= [email protected] U=mail P=virus-scanned S=2394 id=20050825073348.GSVB1606.mta2-rme.xtra.co.nz@SN300601540128 T="jkh" from <[email protected]> for [email protected]
2005-08-25 19:34:34 1E8CFt-000Pht-QB => admin <[email protected]> F=<[email protected]> R=nod32 T=nod32_transport S=2158
2005-08-25 19:34:34 1E8CFt-000Pht-QB Completed
 
conflict

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
 
the fix for nod32 users

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
 
Back
Top