Re: join

2011-06-30 Thread Per Jessen
Per Jessen wrote: > Max Dunlap wrote: > >> Haha, I'm sorry I accidently sent a message. But while I'm at it, I >> was going to ask a question. >> I just set up a healthy postfix server on ubuntu, I've been looking >> at the wiki and I'm not sure which way is the best to get myself >> setup with S

Re: exclude from freemail_domains

2011-06-30 Thread Tom Kinghorn
On 30/06/2011 18:14, Benny Pedersen wrote: On Thu, 30 Jun 2011 14:55:23 +0200, Tom Kinghorn wrote: Some times a little G.F.G.I on my part works wonders. if you need to whitelist a whole domain as freemail make a bug ticket Refer to my original post refer to bug 6542 http://old.nabble.co

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread JKL
On 06/30/2011 09:03 PM, Axb wrote: > On 2011-06-30 20:51, JKL wrote: >> I finally sorted out the database so that it really had the rights it >> needed. ( /me coughs and hides in the corner. ) > > no worries.. we've all been there, at one time or another > >> >> I have passed several hundred piece

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Axb
On 2011-06-30 20:51, JKL wrote: I finally sorted out the database so that it really had the rights it needed. ( /me coughs and hides in the corner. ) no worries.. we've all been there, at one time or another I have passed several hundred pieces of spam messages into the dB. However it says

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread JKL
On 06/30/2011 06:29 PM, Axb wrote: > Your debug data sez: > > On 2011-06-30 18:19, J4K wrote: >> Learned tokens from 0 message(s) (1 message(s) examined) > > permissions? > > -D will usually give you a good pointer on what's going on. > (thanks JM for beating that into my single cell brain) Hi,

Re: join

2011-06-30 Thread Per Jessen
Max Dunlap wrote: > Haha, I'm sorry I accidently sent a message. But while I'm at it, I > was going to ask a question. > I just set up a healthy postfix server on ubuntu, I've been looking at > the wiki and I'm not sure which way is the best to get myself setup > with SA. My old method doesnt work

Re: join

2011-06-30 Thread Max Dunlap
I'm sorry, nevermind. I should read before I reply. This tutorial is great. On Thu, 2011-06-30 at 13:11 -0500, Max Dunlap wrote: > Okay, that makes sense. I'm following this tutorial, it references -o > alias_maps=hash:/etc/postfix/spamalias in master.cf, which doesnt exist. > and header_checks =

Re: join

2011-06-30 Thread Max Dunlap
Okay, that makes sense. I'm following this tutorial, it references -o alias_maps=hash:/etc/postfix/spamalias in master.cf, which doesnt exist. and header_checks = regexp:/etc/postfix/spamheadercheck in main.cf, which also doesn't exist. On Thu, 2011-06-30 at 14:07 -0400, Randy Ramsdell wrote: > Max

Re: join

2011-06-30 Thread Randy Ramsdell
Max Dunlap wrote: Haha, I'm sorry I accidently sent a message. But while I'm at it, I was going to ask a question. I just set up a healthy postfix server on ubuntu, I've been looking at the wiki and I'm not sure which way is the best to get myself setup with SA. My old method doesnt work anymore,

Re: join

2011-06-30 Thread Max Dunlap
Haha, I'm sorry I accidently sent a message. But while I'm at it, I was going to ask a question. I just set up a healthy postfix server on ubuntu, I've been looking at the wiki and I'm not sure which way is the best to get myself setup with SA. My old method doesnt work anymore, the wiki says it ca

Re: join

2011-06-30 Thread Benny Pedersen
On Thu, 30 Jun 2011 12:28:20 -0500, Max Dunlap wrote: join the fun ?

hi

2011-06-30 Thread Max Dunlap

join

2011-06-30 Thread Max Dunlap
join

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Axb
Your debug data sez: On 2011-06-30 18:19, J4K wrote: Learned tokens from 0 message(s) (1 message(s) examined) permissions? -D will usually give you a good pointer on what's going on. (thanks JM for beating that into my single cell brain)

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 06:02 PM, Axb wrote: > Please only reply to the list... > > On 2011-06-30 18:00, J4K wrote: >> >> # sa-learn --username=spamd --ham .HAM/cur/ >> Learned tokens from 717 message(s) (764 message(s) examined) >> # sa-learn --username=spamd --spam .Junk/cur >> Learned tokens from 311 mess

Re: exclude from freemail_domains

2011-06-30 Thread Benny Pedersen
On Thu, 30 Jun 2011 14:55:23 +0200, Tom Kinghorn wrote: Some times a little G.F.G.I on my part works wonders. if you need to whitelist a whole domain as freemail make a bug ticket but yes freemail_domain test.example.org freemail_whitelist postmas...@test.example.org freemail_whitelist ab...

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Axb
Please only reply to the list... On 2011-06-30 18:00, J4K wrote: # sa-learn --username=spamd --ham .HAM/cur/ Learned tokens from 717 message(s) (764 message(s) examined) # sa-learn --username=spamd --spam .Junk/cur Learned tokens from 311 message(s) (368 message(s) examined) pls run sa-lear

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 05:54 PM, Axb wrote: > > ok.. you said "Spamd runs as root." > > in that case: > > bayes_sql_override_username spamd > > then as per Bowie: > > sa-learn --username=spamd --ham /path/to/ham > sa-learn --username=spamd --spam /path/to/spam > > then > sa-learn --dump magic > > Ahh, I m

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Axb
On 2011-06-30 17:50, J4K wrote: On 06/30/2011 05:38 PM, Axb wrote: On 2011-06-30 17:34, J4K wrote: On 06/30/2011 05:27 PM, Axb wrote: spamassassin --lint -D bayes Spamd runs as root. * make a user/group spamd and run as such don't run as root. I'm a tad confused: spamd is launched

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Axb
On 2011-06-30 17:34, J4K wrote: > On 06/30/2011 05:27 PM, Axb wrote: >> spamassassin --lint -D bayes > Spamd runs as root. add user user spamd and run as such don't run spamd as root. set: bayes_sql_override_username spamd then feed bayes manually then run sa-learn --dump magic and sh

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Bowie Bailey
On 6/30/2011 11:34 AM, J4K wrote: > On 06/30/2011 05:27 PM, Axb wrote: >> spamassassin --lint -D bayes > Hi Axb, > > Spamd runs as root. > > # spamassassin --lint -D bayes ... > Jun 30 17:32:12.720 [2775] dbg: bayes: using username: postfix Have you tried specifying the username for sa-learn?

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 05:27 PM, Axb wrote: > spamassassin --lint -D bayes Hi Axb, Spamd runs as root. # spamassassin --lint -D bayes Jun 30 17:32:10.858 [2775] dbg: FuzzyOcr: focr_bin_helper: 'pnmnorm,pnminvert,ppmtopgm' Jun 30 17:32:10.858 [2775] info: FuzzyOcr: Adding <3> new helper apps Jun 30 17

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Axb
On 2011-06-30 17:16, J4K wrote: use_bayes 1 skip_rbl_checks 1 bayes_auto_learn 0 # bayes_auto_learn_threshold_nonspam0.1 # bayes_auto_learn_threshold_spam 13.0 bayes_expiry_max_db_size30 bayes_auto_expire 1 bayes_sql_override_username postfix

Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
[SNIP] Hi there, This is the table I have in mysql, and the one I intend to populate with data:- mysql> describe bayes_vars; ++--+--+-+++ | Field | Type | Null | Key

Re: BOTNET IPv6 patch

2011-06-30 Thread Matthew Newton
Hi, On Thu, Jun 30, 2011 at 04:07:57PM +0200, Mark Martinec wrote: > (I'm Cc'ing to Matthew in case he wants to check how it turns out > on his mailer). Arrived over IPv6 fine here, and did not hit (patched) BOTNET. Cheers Matthew -- Matthew Newton, Ph.D. Systems Architect (UNIX and Networ

Re: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 01:45 PM, J4K wrote: > On 06/30/2011 11:37 AM, J4K wrote: >> On 06/30/2011 11:09 AM, J4K wrote: >>> On 06/29/2011 09:55 PM, Lawrence @ Rogers wrote: On 29/06/2011 4:58 PM, JKL wrote: > select count(spam_count) from bayes_vars Run this query SELECT username,spam

Re: BOTNET IPv6 patch

2011-06-30 Thread Mark Martinec
Yves, > > Btw, this Cc should be arriving over IPv6 too... > Sorry, it's here indeed. And Botnet has caught it again. :( > > Some of the headers: > > Received: from mail.ijs.si ([2001:1470:ff80::25]) > > by dotforward.de with esmtp (Exim 4.71) > > (envelope-from ) > > id 1Qc3nH-

Now: Bayes with mysql Was: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 01:45 PM, J4K wrote: > On 06/30/2011 11:37 AM, J4K wrote: >> On 06/30/2011 11:09 AM, J4K wrote: >>> On 06/29/2011 09:55 PM, Lawrence @ Rogers wrote: On 29/06/2011 4:58 PM, JKL wrote: > select count(spam_count) from bayes_vars Run this query SELECT username,spam

Re: exclude from freemail_domains

2011-06-30 Thread Tom Kinghorn
On 30/06/2011 14:50, Henrik K wrote: On Thu, Jun 30, 2011 at 02:41:10PM +0200, Tom Kinghorn wrote: Heheh, as the original author I should have remembered this.. I'm glad you found the right switch. hehe no problem :o) Some times a little G.F.G.I on my part works wonders. regards Tom

Re: exclude from freemail_domains

2011-06-30 Thread Henrik K
On Thu, Jun 30, 2011 at 02:41:10PM +0200, Tom Kinghorn wrote: > On 30/06/2011 07:41, Tom Kinghorn wrote: > >On 29/06/2011 19:28, Lawrence @ Rogers wrote: > >>A proper From header would be: > >> > >>From: lawrencewilli...@nl.rogers.com > > Afternoon list > > The rule which brought about the desire

Re: exclude from freemail_domains

2011-06-30 Thread Tom Kinghorn
On 30/06/2011 07:41, Tom Kinghorn wrote: On 29/06/2011 19:28, Lawrence @ Rogers wrote: A proper From header would be: From: lawrencewilli...@nl.rogers.com Afternoon list The rule which brought about the desired result is adding the following to the local.cf file ifplugin Mail::SpamAssassin

Re: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 11:37 AM, J4K wrote: > On 06/30/2011 11:09 AM, J4K wrote: >> On 06/29/2011 09:55 PM, Lawrence @ Rogers wrote: >>> On 29/06/2011 4:58 PM, JKL wrote: select count(spam_count) from bayes_vars >>> Run this query >>> >>> SELECT username,spam_count,ham_count FROM bayes_vars >>> >>> Thi

Re: BOTNET IPv6 patch

2011-06-30 Thread Matthew Newton
On Thu, Jun 30, 2011 at 12:06:06PM +0100, Matthew Newton wrote: > > Doesn't seem to work. It's a false positive again. And Botnet recognises > > the incoming IPv6 address as some IPv4 address and reports that one. > > That doesn't look right - unless your munging has really messed it > up. BOTNET

Re: BOTNET IPv6 patch

2011-06-30 Thread Matthew Newton
Hi Yves, On Wed, Jun 29, 2011 at 09:03:52PM +0200, Yves Goergen wrote: > I was looking for an IPv6 fix for Botnet before but nobody (including > me) was able to do it. I have now looked at your solution and to my > Perl-unexperienced eyes, it looks promising. > > I have installed it on my server

Re: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Benny Pedersen
On Thu, 30 Jun 2011 11:41:16 +0200, J4K wrote: loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody should not be in a cf file but in a pre file, check other pre files to enable it Thank-you. Moved this into v320.pre remember to run sa-compile aswell after sa-update(s)

Re: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 11:38 AM, Benny Pedersen wrote: > On Thu, 30 Jun 2011 11:09:18 +0200, J4K wrote: > >> loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody > > should not be in a cf file but in a pre file, check other pre files to > enable it Thank-you. Moved this into v320.pre

Re: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread Benny Pedersen
On Thu, 30 Jun 2011 11:09:18 +0200, J4K wrote: loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody should not be in a cf file but in a pre file, check other pre files to enable it

Re: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/30/2011 11:09 AM, J4K wrote: > On 06/29/2011 09:55 PM, Lawrence @ Rogers wrote: >> On 29/06/2011 4:58 PM, JKL wrote: >>> select count(spam_count) from bayes_vars >> Run this query >> >> SELECT username,spam_count,ham_count FROM bayes_vars >> >> This will give a list of usernames that have bee

Re: BOTNET IPv6 patch

2011-06-30 Thread Benny Pedersen
On Thu, 30 Jun 2011 09:05:20 +0200, Yves Goergen wrote: Is somebody else interested in testing this Botnet version and have me sending a message to him? maybe me ? does my ipv6 have reverse ptr dns ? btw subscribe to isc.org mailllists (bind, dhcp...) thay are on ipv6

Re: [Q] Writing rule for career opportunity type messages

2011-06-30 Thread J4K
On 06/29/2011 09:55 PM, Lawrence @ Rogers wrote: > On 29/06/2011 4:58 PM, JKL wrote: >> select count(spam_count) from bayes_vars > Run this query > > SELECT username,spam_count,ham_count FROM bayes_vars > > This will give a list of usernames that have been used to learn ham > and spam into SpamAssa

Re: BOTNET IPv6 patch

2011-06-30 Thread Yves Goergen
On 30.06.2011 01:03 CE(S)T, Mark Martinec wrote: > Btw, this Cc should be arriving over IPv6 too... Mark, I didn't receive your direct copy until now. And the list message arrived through IPv4 (mail.apache.org). But I did receive a message through IPv6 from somebody else, and this time Botnet di