[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,
I think it would be worth trying to run spamd instead of =
spamassassin
directly, it is quicker and consumes far less mem&cpu (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:
www.henry.it/xmail/xspamc.htm

I also have a spamc command line version if anybody wants to implement =
their
own filter on windows.

Ciao
Dario

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[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 - spamassasin
messages are altered (subject and body - with original attached) but let
though.

dunno if you can use similar ideas on windows but...

Personally wouldn't consider a solution which outright rejects spam -
what is normally done at work is people filter flagged messages to their
deleted items.  They are still there just in case (i.e. when someone
rings up) but can be easily removed.

Will.

-- 
William Denniss - will@ http://tanksoftware.com/

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[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 mem&cpu (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:
www.henry.it/xmail/xspamc.htm

I also have a spamc command line version if anybody wants to implement their
own filter on windows.

Ciao
Dario

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[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 single threaded

-Oorspronkelijk bericht-
Van: Michal Altair Valasek [mailto:[EMAIL PROTECTED]
Verzonden: maandag 19 april 2004 15:04
Aan: [EMAIL PROTECTED]
Onderwerp: [xmail] Re: HOWTO run SpamAssassin on Windows in coincidence
with XMail (the simple solution)

|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
=3D
to
be run is this batch, it works with "/b" as well as withount it.

|Then, your solution rejects spam. Maybe you could consider=3D20
|adding a second parameter to allow marking without=3D20
|rejecting. Leaving the reject decision to the end user's MUA=3D20
|filtering system ?

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.

I am now working on modification of my XMail-WAI, which would work the
following way: filter would move (unmodified) spam messages to separate
folder and you would be able to read them via web interface. They would
=3D
be
kept there for defined time (about a week).

-- Michal Altair Val=3DE1=3DB9ek, Microsoft MVP - ASP.NET=3D20
   ASP Network - v=3DB9e o Microsoft technologi=3DEDch pro Internet

_=3D
__
http://www.aspnetwork.cz/ | [EMAIL PROTECTED]
There is no place like 127.0.0.1=3D20

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[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 well as withount it.

|Then, your solution rejects spam. Maybe you could consider=20
|adding a second parameter to allow marking without=20
|rejecting. Leaving the reject decision to the end user's MUA=20
|filtering system ?

The main problem is that SpamAssassin does not produce XMail-compatible
message, the "pseudo-headers" on top are not present. So this is over =
the
possibility of simple batch file.

I am now working on modification of my XMail-WAI, which would work the
following way: filter would move (unmodified) spam messages to separate
folder and you would be able to read them via web interface. They would =
be
kept there for defined time (about a week).

-- Michal Altair Val=E1=B9ek, Microsoft MVP - ASP.NET=20
   ASP Network - v=B9e o Microsoft technologi=EDch pro Internet
_=
__
http://www.aspnetwork.cz/ | [EMAIL PROTECTED]
There is no place like 127.0.0.1=20

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



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

2004-04-18 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 you Michal.

I don't know if it works lik this but the doc says

exit [/b] [ExitCode]

I suppose one has to replace "exit 0" and "exit 19" :

exit /b 0
exit /b 19

Is that right ?

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 ?

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]