[xmail] Re: HOWTO run SpamAssassin on Windows in coincidence with XMail (the simple solution)

2004-04-19 Thread Filip Supera
Michal Altair Valasek a crit : @ECHO OFF C:\perl\bin\perl.exe -T -w C:\perl\bin\spamassassin -e %1 NUL IF %ERRORLEVEL%==0 GOTO NOSPAM :SPAM ECHO 550 Message rejected because looks like spam. Consider reformulating it. %1.rej EXIT 19 :NOSPAM ECHO %1 is not spam C:\spam.log EXIT 0 Thank

[xmail] Re: HOWTO run SpamAssassin on Windows in coincidence with XMail (the simple solution)

2004-04-19 Thread Michal Altair Valasek
|exit /b 0 |exit /b 19 | |Is that right ? It does not matter. Command exit x would exit batch and command interpreter with errorlevel x. Command exit / x would not exit command interpreter but only the batch file. Because in this case the only thing = to be run is this batch, it works with /b as

[xmail] Re: HOWTO run SpamAssassin on Windows in coincidence with XMail (the simple solution)

2004-04-19 Thread Wim Verveen
The main problem is that SpamAssassin does not produce XMail-compatible message, the pseudo-headers on top are not present. So this is over = =3D the possibility of simple batch file. xSpamassasinf solves this issue I think? However that creates the problem that xmail needs to process the mail

[xmail] Re: HOWTO run SpamAssassin on Windows in coincidence with XMail (the simple solution)

2004-04-19 Thread Dario Jakopec
Hi, I think it would be worth trying to run spamd instead of spamassassin directly, it is quicker and consumes far less memcpu (without any cygwin environment). I have a filter in c that implements smapc on windows and info about spamd setup, you can find it here:

[xmail] Re: HOWTO run SpamAssassin on Windows in coincidence with XMail (the simple solution)

2004-04-19 Thread William Denniss
On Mon, 2004-04-19 at 16:15, Filip Supera wrote: Then, your solution rejects spam. Maybe you could consider adding a second parameter to allow marking without rejecting. Leaving the reject decision to the end user's MUA filtering system ? Don Drakes spamassasin filter works great on linux

[xmail] Re: HOWTO run SpamAssassin on Windows in coincidence with XMail (the simple solution)

2004-04-19 Thread Wim Verveen
H=E9, I didn't now about that onw. I will try -Oorspronkelijk bericht- Van: Dario Jakopec [mailto:[EMAIL PROTECTED] Verzonden: maandag 19 april 2004 15:46 Aan: [EMAIL PROTECTED] Onderwerp: [xmail] Re: HOWTO run SpamAssassin on Windows in coincidence = with XMail (the simple solution) Hi,