Byteplant Forum

Home » CleanMail Support » CleanMail Server Talk » External Filter
External Filter [message #1854] Wed, 17 October 2007 19:01
dulfe
Messages: 1
Registered: October 2007
Junior Member
Hello...

I am trying NST and it works fine so far... my mayor concern is that for each message NST loads a FULL copy of SpamAssassin and ClamAV...

I downloaded ClamAV for windows and after trying and error I made NST work with Clamd... now it calls the "client" version of the Antivirus (way faster and low CPU load)

SA is another story... I downloaded the windows version of SA... I made the Spamd work in my server... (Spamc.exe / Spamcc.exe work fine on command prompt).. then I tried to create an "External Filter" in NST... but for some reason it does not work... I calls spamcc.exe but it allways returns NO SPAM... well... even if the SA daemon is down... it returns NO SPAM... (really strange)

I tried:
c:\progra~1\spamas~1\spamcc.exe -E <%IN% >%OUT%
c:\progra~1\spamas~1\spamcc.exe -E <"%IN%" >"%OUT%"
c:\progra~1\spamas~1\spamcc.exe -E %IN% %OUT%
c:\progra~1\spamas~1\spamcc.exe -E "%IN%" "%OUT%"
c:\progra~1\spamas~1\spamcc.exe -E %IN%
c:\progra~1\spamas~1\spamcc.exe -E "%IN%"
c:\progra~1\spamas~1\spamcc.exe -E <%IN%
c:\progra~1\spamas~1\spamcc.exe -E <"%IN%"

with not luck... BUT... if I do not use %IN%... it works fine...

c:\progra~1\spamas~1\spamcc.exe -E c:\test\my-spam-test-file.msg

Seems like NST has a problem sending a STDIN to an external filter...

Any ideas?...

Thank you!

Re: External Filter [message #1855 is a reply to message #1854] Thu, 18 October 2007 17:58 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
> I tried:
> c:\progra~1\spamas~1\spamcc.exe -E <%IN% >%OUT%
> c:\progra~1\spamas~1\spamcc.exe -E <"%IN%" >"%OUT%"
> c:\progra~1\spamas~1\spamcc.exe -E %IN% %OUT%
> c:\progra~1\spamas~1\spamcc.exe -E "%IN%" "%OUT%"
> c:\progra~1\spamas~1\spamcc.exe -E %IN%
> c:\progra~1\spamas~1\spamcc.exe -E "%IN%"
> c:\progra~1\spamas~1\spamcc.exe -E <%IN%
> c:\progra~1\spamas~1\spamcc.exe -E <"%IN%"

Just use "c:\progra~1\spamas~1\spamcc.exe -E"
as command line and make sure that "Use Filter Output" is active.



Customer Support
Byteplant GmbH
Previous Topic: Incoming mail action: accept/deliver (marked as junk)
Next Topic: DNSBL rfc-ignorant.org
Goto Forum:
  


Current Time: Wed Sep 28 17:22:58 CEST 2016