Re: More UTF-8 fun

2013-09-27 Thread John Hardin
On Fri, 27 Sep 2013, Kevin A. McGrail wrote: On 9/27/2013 11:41 PM, John Hardin wrote: On Fri, 27 Sep 2013, Kevin A. McGrail wrote: > or should I be using this: > > header __KAM_CREDIT8 Subject =~ /Your > (\xd0\xa1|C)ompl(\d1\d96|i)mentary/i I had the best results using this format:

Re: More UTF-8 fun

2013-09-27 Thread Kevin A. McGrail
On 9/27/2013 11:41 PM, John Hardin wrote: On Fri, 27 Sep 2013, Kevin A. McGrail wrote: or should I be using this: header __KAM_CREDIT8 Subject =~ /Your (\xd0\xa1|C)ompl(\d1\d96|i)mentary/i I had the best results using this format: header __KAM_CREDIT8 Subject =~ /Your (?:[\xd0][\xa1]|C)o

Re: More UTF-8 fun

2013-09-27 Thread John Hardin
On Fri, 27 Sep 2013, Kevin A. McGrail wrote: or should I be using this: header __KAM_CREDIT8 Subject =~ /Your (\xd0\xa1|C)ompl(\d1\d96|i)mentary/i I had the best results using this format: header __KAM_CREDIT8 Subject =~ /Your (?:[\xd0][\xa1]|C)ompl(?:[\xd1][\x96]|i)mentary/i I found that

More UTF-8 fun

2013-09-27 Thread Kevin A. McGrail
Ok, so as an example, I'm trying to hit this subject: Subject: =?utf-8?B?WW91ciDQoW9tcGzRlm1lbnRhcnkg0KFyZWTRlnQgVXBkYXRlINGWcyBSZWFkeS4uLg==?= Which is a UTF-8 Encoded Subject: Your Сomplіmentary Сredіt Update іs Ready... Some of the characters are multibyte and I've grouped them below. Th

Re: UTF-8 Spam rules

2013-09-27 Thread Kevin A. McGrail
On 9/25/2013 11:15 PM, Karsten Bräckelmann wrote: On Fri, 2013-09-20 at 14:20 -0400, Kevin A. McGrail wrote: Anyone have some examples of rules designed to catch words by content in UTF-8 encoded messages? I'm doing some work on improving this. Right now, I'm just having problems with really p

Re: UTF-8 Spam rules

2013-09-27 Thread Kevin A. McGrail
On 9/20/2013 2:30 PM, David F. Skoll wrote: You won't like my answer, but... You really*have* to normalize everything to Unicode (possible using UTF-8 as the canonical on-disk format) before trying to apply rules or extract Bayes tokens. Then you can do nice things like blocking CJK spams with

Re: bayes: no dbs present, cannot tie DB R/O - Amavis-new

2013-09-27 Thread Axb
On 09/27/2013 02:02 PM, Peter Smith wrote: In the spamasssin config files I have: bayes_path = /var/lib/amavis/.spamassassin/bayes make sure you have this in local.cf: bayes_path /var/lib/amavis/.spamassassin/bayes/bayes and that path /var/lib/amavis/.spamassassin/bayes/ exists h2h Ah

Re: bayes: no dbs present, cannot tie DB R/O - Amavis-new

2013-09-27 Thread Axb
make sure you have this in local.cf: bayes_path /var/lib/amavis/.spamassassin/bayes/bayes and that path /var/lib/amavis/.spamassassin/bayes/ exists h2h On 09/27/2013 09:54 AM, Peter Smith wrote: Hi all, We've just migrated from an old server running SA 3.2.5 and amavisd-new-2.6.1 to a new ma

bayes: no dbs present, cannot tie DB R/O - Amavis-new

2013-09-27 Thread Peter Smith
Hi all, We've just migrated from an old server running SA 3.2.5 and amavisd-new-2.6.1 to a new machine with SA 3.3.2 and amavisd-new-2.7.1 (both Debian). I copied over the bayes-related files, but Amavis isn't loading them: bayes: no dbs present, cannot tie DB R/O: = /var/lib/amavis/.spamassassin