Re: UTF-8 rule generator script Re: UTF-8 rules, what am I missing?

2014-09-26 Thread Adi
Hello Another problem is that polish messages are (usually) in one of 3 characters encoding: UTF-8, ISO-8859-2, WINDOWS-1250 (CP-1250). I don't know if SA converts the text on the fly. Best Regards.

Re: UTF-8 rule generator script Re: UTF-8 rules, what am I missing?

2014-09-26 Thread Adi
Hello > A couple untested results: > http://www.chaosreigns.com/sa/polish.cf > > To be clear, these files will likely flag ALL Polish or Spanish emails as > spam Your rules maybe are good for testing or if you get only spam mails (not normal messages). But as you say above probably this rules ma

Re: Large commented out body HTML causing SA to timeout/give up/allow spam

2014-09-05 Thread Adi
Hi >> You should consider limiting SA processing to mail size >> up to 150-250 KB. >> >> very few spam messages is bigger. > > I'm happily filtering all mail with SA and it did catch much of spam. > unfortunately there IS spam >256K... Of course, but rather it is such a small percentage compare

Re: Large commented out body HTML causing SA to timeout/give up/allow spam

2014-09-05 Thread Adi
W dniu 2014-09-05 17:55, Justin Edmands pisze: > We are seeing a few emails that are about a 1MB and appear to have You should consider limiting SA processing to mail size up to 150-250 KB. very few spam messages is bigger. Best Regards

Re: RP_MATCHES_RCVD

2014-09-04 Thread Adi
Hi > i got recently a clear spam message which would have > a score of 6.9 but RP_MATCHES_RCVD removed 1.7 points > > is that not a little too much? > think so too. I set it into local.cf: score RP_MATCHES_RCVD -0.1 Best Regards

Re: Individual pre learning - Bayes in SQL

2014-07-30 Thread Adi
Hello I have Bayes in SQL for each users (emails) on test server. SA is trigger by /usr/local/bin/spamc -U /var/run/spamd/spamd.socket -u $local_part@$domain My Bayes dosen't auto learn SPAM, only HAM Some email users have 38 HAM learned but SPAM 0;/ Some settings from userpref table | $GLOB

Re: Individual pre learning - Bayes in SQL

2014-07-25 Thread Adi
Hello > OTOH if someone gets so little spam that they struggle to reach 200, > does it matter? I'm just in the course of transferring the mail accounts from the server where was global bayes (with a lot ham/spam tokens) for an individual userpref/bayes. Before bayes reach 200 spam threshold it

Re: Low Score for @localhost domain

2014-07-25 Thread Adi
W dniu 2014-07-25 14:07, Andre Luiz Paiz pisze: > Hi everybody, > > I received a SPAM that Spamassassing gave a high negative score > (-86.0) to a e-mail message. I believe that is because the spammer Maybe you get -100 for whitelist ? Please check (or pastebin) mail headers (X-Spam*) or look in

Re: Individual pre learning - Bayes in SQL

2014-07-25 Thread Adi
Hello > A token is a word or some piece of derived data. I just means > that email contained 360 of them. Thanks for clarify >> Mail addressed to another person will not be a problem in learning >> process? > > Probably not. It wont make any difference in most cases, but if > one of those addr

Re: Adding header depending on _SCORE_ and settings UserPref

2014-07-24 Thread Adi
Hello Thanks for answer. >> Not yet. if I'm not mistaken amavis is working in delivery time not >> SMTP time? > > AFAIK, it can run in pre-queue mode too. Surely when running as milter. > and IIRC it runs at SMTP time by default. For now I'll leave "my" solution with exec spamc in Exim's transp

Individual pre learning - Bayes in SQL

2014-07-24 Thread Adi
Hello I have Bayes in SQL for each users (emails) on test server. SA is trigger by /usr/local/bin/spamc -U /var/run/spamd/spamd.socket -u $local_part@$domain I looked at the results in database and have doubt. select * from bayes_vars; id | username| spam_count | ham_count | token_count 1

Re: Adding header depending on _SCORE_ and settings UserPref

2014-07-20 Thread Adi
Hello Thanks for answer. > Have you tried the amavis/sa-exim way? Not yet. if I'm not mistaken amavis is working in delivery time not SMTP time? > >> Some my configuration is based on: >> >> http://www.janoszen.com/2013/07/24/filtering-spam-with-exim-and-spamassassin-properly/ > > I looked ont

Re: Adding header depending on _SCORE_ and settings UserPref

2014-07-20 Thread Adi
Hello Thank you for answer. >> 2. In Spamassassin I need compare if _SCORE_ > kill_spam_score >>then add header X_Spam_Remove or X_Spam_Kill > > Adding a custom header (or any action for that matter) depending on the > overall score requires writing a custom plugin. > It looks like :( I'

Re: Adding header depending on _SCORE_ and settings UserPref

2014-07-19 Thread Adi
Hello Thank you for answer. >> If I'm not mistaken, this solution does NOT support UserPref settings ??? > > no idea, but some may do. > I must check it. is it reading usepref (maybe for first recipient). >> Especially if the incoming message is addressed to a few people. > > Technically no

Re: Adding header depending on _SCORE_ and settings UserPref

2014-07-19 Thread Adi
Hello >> >> 2. In Spamassassin I need compare if _SCORE_ > kill_spam_score >> then add header X_Spam_Remove or X_Spam_Kill > > while this is possible, there's no useful use for this. > There are already middleware programs between SA and various MTAs > - amavisd-new, sa-exim... > seems exim ha

Adding header depending on _SCORE_ and settings UserPref

2014-07-18 Thread Adi
Hello I have Spamassassin 3.4 + Exim with router using spamc and exim pipe (before that remove possible X_SPAM* headers in incoming mails). SpamAssassin UserPref is in MySQL database. How can I do that - is it possible? : 1. User set in table userpref variable: kill_spam_score = 17 (this is

Re: how to make a custom ruleset

2009-03-06 Thread Adi Nugroho
On Thursday 05 March 2009 23:44:39 Benny Pedersen wrote: > header SELF_FROM From =~ /\...@my.address/i > header SELF_TO To =~ /\...@my.address/i > meta SELF (SELF_FROM && SELF_TO) > describe SELF Trap mail with forged sender the same as recipient > score SELF 3.0 Finally I understand above rule.

Re: how to make a custom ruleset

2009-03-05 Thread Adi Nugroho
On Thursday 05 March 2009 23:44:39 Benny Pedersen wrote: > ups > > header SELF_FROM From =~ /\...@my.address/i > header SELF_TO To =~ /\...@my.address/i > meta SELF (SELF_FROM && SELF_TO) > describe SELF Trap mail with forged sender the same as recipient > score SELF 3.0 I have tried above syntax

Re: how to make a custom ruleset

2009-03-05 Thread Adi Nugroho
On Thursday 05 March 2009 22:28:23 Martin Gregorie wrote: > describe SELF Trap mail with forged sender the same as recipient > header SELF From =~ /\...@my.address/i > header SELF To =~ /\...@my.address/i > meta SELF 5.0 Dear Martin, Thank you for the rule... I made a file self.cf in /et

how to make a custom ruleset

2009-03-05 Thread Adi Nugroho
Dear all, I found that a lot of spam is using recipient email address as the sender. (from a...@internux.co.id to a...@internux.co.id, or from i...@apache.org to i...@apache.org). Since if we mail to our self, usually we have very low score, I hope it is save to give a BIG score (probably 2 or