XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Spamassassin For Win32 Systems

Closed TopicStart new topicStart Poll

> Spamassassin For Win32 Systems
hschneider
Posted: May 22 2003, 01:59 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Thanks for the contrib!


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
petlof
Posted: May 22 2003, 02:24 PM
Quote Post


Member
***

Group: Members
Posts: 61
Member No.: 312
Joined: 15-October 02



Forgot to write that you need to change the two directory pointers in the beginning of sa_filter.pl
One for where you want your log-files and one for where you want to put temp-mail while the filter is working.

so change
my $XMAIL_LOG_PATH="c:\\MailRoot\\filters\\sa\\logs";
my $TMP_DIR="c:\\mailroot\\filters\\sa\\tmp";

So that they correspond to your system.


--------------------
Peter Löfås peter.lofas@alternativet.nu

http://www.alternativet.nu
PMEmail PosterUsers WebsiteICQMSN
Top
smago
Posted: Jul 10 2003, 04:42 PM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 549
Joined: 22-April 03



I try to install Spamassassin on win2k advanced server and I found an "XMSpamAssassinFilterInstaller.msi" file but when I run it
it ask me to install Xmail server or I installed it....

Thx happy.gif
PMEmail Poster
Top
hschneider
Posted: Jul 10 2003, 04:49 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Please contact its author. You are the 2nd one with that problem ... If he gets a lots of requests, he might fix it faster ...


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
smago
Posted: Jul 11 2003, 08:49 AM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 549
Joined: 22-April 03



Ok I install Spamassassin...
I put this ligne in filters.in.tab : "*"<tab>"*"<tab>"0.0.0.0/0"<tab>"0.0.0.0/0"<tab>"safilter.tab"
I put safilter.tab file in Filters directory
(safilter.tab: "c:\perl\bin\perl.exe c:\Program Files\xmail-1.15\MailRoot\filters\sa\sa_filter.pl" <tab> "-f" <tab> "-r" <tab> "@@RCPT" <tab> "-t" <tab> "@@FILE" )

Spamassassin works if I test it in commmand ligne (Ex : spamassassin -D -t < sample-spam.txt > spam.txt) but when I send a spam mail it do nothink....
PMEmail Poster
Top
smago
  Posted: Jul 11 2003, 09:43 AM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 549
Joined: 22-April 03



I found my a solution :

It a Path problem ... because I have space in Path...
c:\perl\bin\perl.exe c:\Program Files\xmail-1.15\MailRoot\filters\sa\sa_filter.pl --> c:\perl\bin\perl.exe c:\Progra~1\xmail-1.15\MailRoot\filters\sa\sa_filter.pl

Sorry for my stupide question happy.gif
PMEmail Poster
Top
hschneider
Posted: Jul 11 2003, 12:00 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Stupid questions don't exist ... BTW: You've found a solution for all nerved SA/Win32 users! Thanks!


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
smago
  Posted: Jul 11 2003, 02:11 PM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 549
Joined: 22-April 03



I forgot some one in sa_filter.pl change "Program files" to "Progra~1" if you path use program files directory

Ex:
my $XMAIL_LOG_PATH="c:\Program files\xmail-1.15\MailRoot\filters\sa\logs";
my $TMP_DIR="c:\Program files\xmail-1.15\MailRoot\filters\sa\tmp";

repalce by:
my $XMAIL_LOG_PATH="c:\Progra~1\xmail-1.15\MailRoot\filters\sa\logs";
my $TMP_DIR="c:\Progra~1\xmail-1.15\MailRoot\filters\sa\tmp";

Now I have some probleme whitch SA header I don't know why but I have an jump line between Mail header and spam header... conclusion spam header is merge
with message

EX:
mail message send :
hello this is a test !

mail after spamassasin :
Spam-Status: No, hits=0.0 required=5.0
tests=none
version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

hello this is a test !
PMEmail Poster
Top
smago
  Posted: Jul 16 2003, 09:47 AM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 549
Joined: 22-April 03



Spamassassin don't work with XMail 1.16 but it work with XMail 1.15. I think it's a Header probleme...

tongue.gif
PMEmail Poster
Top
hschneider
Posted: Jul 16 2003, 09:50 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



The difference between these version are the filter return codes. They need to be adapted in SA and other scripts.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
smago
Posted: Jul 21 2003, 11:29 AM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 549
Joined: 22-April 03



it's true hschneider, return codes change return code 100 change to 7

if you want to use Spamassassin with Xmail 1.16 you must edit "sa_filter.pl"

Old line :
# We're always modifying the message because spamassassin will add some X-Spam- headers
# if it's spam or not.

exit 100;

new line:
# We're always modifying the message because spamassassin will add some X-Spam- headers
# if it's spam or not.

exit 7;
PMEmail Poster
Top
smago
Posted: Jul 21 2003, 11:36 AM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 549
Joined: 22-April 03



I modify sa_filter.pl



Attached File ( Number of downloads: 560 )
Attached File  sa_filter.zip
PMEmail Poster
Top
bim
Posted: Aug 12 2003, 06:57 PM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



Hmmm, I just rebooted and now things work mellow.gif

sorry about that one

I'm on to the next problem now however... So if anyone knows why every newline now is turned into a double newline, let me know! rolleyes.gif
PM
Top
bim
Posted: Aug 13 2003, 11:38 AM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



I commented out
$checkedEmail=~s/(?<!\r)\n/\r\n/g;
which seems to resolve the double newlines...
PM
Top
stealth
Posted: Sep 11 2003, 02:51 PM
Quote Post


Newbie
*

Group: Members
Posts: 8
Member No.: 726
Joined: 11-September 03



Thanks to this thread I got spamassassin to work on Win2003.
Thanks very much!

But now I want more, but do not no how to get there:
I have spamassassin to mark spam as spam.
I want to move this spam to a sub-directory in the mailbox.
How do I do that?

PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll