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 [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Scripting Corner > Spamassassin Filter


Posted by: cablegirl Jan 15 2005, 02:20 PM
Hi I have been using the spamassasin filter SAFILTER V1.3 it has worked for a fair while whith no problems but since I upgraded to XMAIL 1.21 it stopped working??

I tried to go back to XMAIL 1.20 but the filter still does not work....

It does not even right a log file in the logs folder, the filter and the locations are in the right place. Is there any way you can debug XMAIL to see if its able to load the filter and or test to se if maybe the filter is not able to communicate with Spam Assassin??

Any help is appreciated!!

Posted by: BooT Jan 15 2005, 04:58 PM
Hi cablegirl

U running Xmail on Win32?

for Win32:
Stop Xmail.To run Xmail in debug mode go to
c:\mailroot\bin
and start xmail with this cmd line
Xmail --debug -Md

There you will see if the filter fires or not.

Posted by: cablegirl Jan 15 2005, 09:16 PM
This is what it outputed, I am on linux and not windows but the same thing applies.... I take it from lookig at this the filter is not loading???

Could this be a problem with XMAIL filters in and out???


SMAIL thread [00] started
SMAIL thread [01] started
SMAIL thread [02] started
SMAIL thread [03] started
SMAIL thread [04] started
SMAIL thread [05] started
SMAIL thread [06] started
SMAIL thread [07] started
SMAIL thread [08] started
SMAIL thread [09] started
SMAIL thread [10] started
SMAIL thread [11] started
SMAIL thread [12] started
SMAIL thread [13] started
SMAIL thread [14] started
SMAIL thread [15] started
[XMail 1.20 CTRL Server] started
[XMail 1.20 POP3 Server] started
[XMail 1.20 ESMTP Server] started
[XMail 1.20 PSYNC Server] started
[XMail 1.20 FINGER Server] started
LMAIL thread [00] started
LMAIL thread [01] started
LMAIL thread [02] started


Posted by: cablegirl Jan 16 2005, 12:57 AM
Okay I removed everything from my system related to xmail and spamassassin and reinstalled it all again.... It works I know get the logs written to the logs folder but it is not filtering anything as spam I have used this in my spamassassin config file to test

_____________________________________________________
required_hits 1
report_safe 0
rewrite_header Subject [Spam Test]

blacklist_from *@gmail.com
_____________________________________________________

When I send an email from that domain it says in the log "NOT SPAM"

If I have black listed the domain and it is not filtering it as spam what could that be??

It is spamassassin 3 on Linux Fedora...

Posted by: cablegirl Jan 16 2005, 01:42 AM
Further to this I have tried the debug option again now it is at least writing to the logs here is what I got...

SMAIL thread [00] started
SMAIL thread [01] started
SMAIL thread [02] started
SMAIL thread [03] started
SMAIL thread [04] started
SMAIL thread [05] started
SMAIL thread [06] started
SMAIL thread [07] started
SMAIL thread [08] started
SMAIL thread [09] started
SMAIL thread [10] started
SMAIL thread [11] started
SMAIL thread [12] started
SMAIL thread [13] started
SMAIL thread [14] started
SMAIL thread [15] started
[XMail 1.21 CTRL Server] started
[XMail 1.21 POP3 Server] started
[XMail 1.21 ESMTP Server] started
[XMail 1.21 PSYNC Server] started
[XMail 1.21 FINGER Server] started
LMAIL thread [00] started
LMAIL thread [01] started
LMAIL thread [02] started

Exactly the same as before no change??? How do you tell if the filter is loading out of that?

It si writing to the logs directory but everything is treated as non spam even black listed!!

Posted by: atomant Jan 16 2005, 10:42 AM
This is real-time output so you need to send a message or wait untill one arrive to your server. Then you'll see the output.

Posted by: cablegirl Jan 16 2005, 11:33 AM
Okay I got it to run again I reinstalled Fedora and then installed XMAIL 1.21 and no upgrade...

I guess when I upgraded the RPM I must have broken something?


Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)