Re: shared SQL DB

2005-06-23 Thread Michael Parker
Matthew Yette wrote: >So to clear up the custom SQL query that's in your presentation: > >It says to use global and then domain level defaults: >SELECT preference, value FROM _TABLE_ WHERE username = _USERNAME_ or >username = '@GLOBAL' or username = _DOMAIN_ order by username ASC > >Does that me

RE: shared SQL DB

2005-06-23 Thread Matthew Yette
hoo: MAPolceNOC MSN: [EMAIL PROTECTED] -Original Message- From: Matthew Yette Sent: Thursday, June 23, 2005 4:45 PM To: Michael Parker Cc: users@spamassassin.apache.org Subject: RE: shared SQL DB Solved it myself: The preference column will contain "score RULENAME" and VALUE

RE: shared SQL DB

2005-06-23 Thread Matthew Yette
PROTECTED] -Original Message- From: Matthew Yette Sent: Thursday, June 23, 2005 4:41 PM To: Michael Parker Cc: users@spamassassin.apache.org Subject: RE: shared SQL DB And I get this in the spamd debug output for all the custom score rules I put in... debug: Score configuration option without act

RE: shared SQL DB

2005-06-23 Thread Matthew Yette
: MAPolceNOC MSN: [EMAIL PROTECTED] -Original Message- From: Matthew Yette Sent: Thursday, June 23, 2005 4:39 PM To: Michael Parker Cc: users@spamassassin.apache.org Subject: RE: shared SQL DB Thanks again! Did that, kept the score directive in the database, but oddly enough, on a test, it

RE: shared SQL DB

2005-06-23 Thread Matthew Yette
) AIM/Yahoo: MAPolceNOC MSN: [EMAIL PROTECTED] -Original Message- From: Michael Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 4:30 PM To: Matthew Yette Cc: users@spamassassin.apache.org Subject: Re: shared SQL DB Matthew Yette wrote: >Also Michael - how would one writ

Re: shared SQL DB

2005-06-23 Thread Michael Parker
Matthew Yette wrote: >Also Michael - how would one write a custom rule in the database? For >example, if I have this in a .cf file: > > >header MY_STOCK Subject =~ /[sS]t[0]ck/i >score MY_STOCK 5.0 > >In which I create a new rule called MY_STOCK, how would I put that into >the userpref table? User

RE: shared SQL DB

2005-06-23 Thread Matthew Yette
arker [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 12:28 PM To: Matthew Yette Cc: users@spamassassin.apache.org Subject: Re: shared SQL DB Matthew Yette wrote: >Hey Michael - > >In the presentation you provided, I have a question re: the AWL and the >lastupdate table

RE: shared SQL DB

2005-06-23 Thread Matthew Yette
users@spamassassin.apache.org Subject: Re: shared SQL DB Matthew Yette wrote: >Hey Michael - > >In the presentation you provided, I have a question re: the AWL and the >lastupdate table column. First off - it won't allow me to create the >column w/o a default value (since it'

Re: shared SQL DB

2005-06-23 Thread Michael Parker
Matthew Yette wrote: >Hey Michael - > >In the presentation you provided, I have a question re: the AWL and the >lastupdate table column. First off - it won't allow me to create the >column w/o a default value (since it's not null). All 0's are fine - but >when I tested it, each row inserted had th

RE: shared SQL DB

2005-06-23 Thread Matthew Yette
EMAIL PROTECTED] -Original Message- From: Matthew Yette Sent: Tuesday, June 14, 2005 1:23 PM To: Michael Parker Cc: users@spamassassin.apache.org Subject: RE: shared SQL DB Great stuff. Thank you Michael, I'll let you know how it goes. -- Matthew Yette Senior Engineer - NOC/Operations

RE: shared SQL DB

2005-06-20 Thread Matthew Yette
TECTED] -Original Message- From: Matthew Yette Sent: Tuesday, June 14, 2005 1:23 PM To: Michael Parker Cc: users@spamassassin.apache.org Subject: RE: shared SQL DB Great stuff. Thank you Michael, I'll let you know how it goes. -- Matthew Yette Senior Engineer - NOC/Operations MA Polce Con

RE: shared SQL DB

2005-06-15 Thread Mike Grice
On Wed, 2005-06-15 at 08:41 -0700, [EMAIL PROTECTED] wrote: > Arvinn Løkkebakken wrote: > > [EMAIL PROTECTED] wrote: > >> I'm running two SpamAssassin servers with enough traffic that > >> file-based Bayes was becoming a bottleneck. I installed MySQL on > >> both and they each maintain their own i

RE: shared SQL DB

2005-06-15 Thread Matthew.van.Eerde
Arvinn Løkkebakken wrote: > [EMAIL PROTECTED] wrote: >> I'm running two SpamAssassin servers with enough traffic that >> file-based Bayes was becoming a bottleneck. I installed MySQL on >> both and they each maintain their own independent database. >> >> > What's the point of running independe

Re: shared SQL DB

2005-06-15 Thread Arvinn Løkkebakken
[EMAIL PROTECTED] wrote: Cami wrote: running 2 spamd servers and want to share the BAYES DB between them... so that one never gets too swayed and that both the servers are contantly synced etc... anybody currently running an SQL backend off multiple Spamd servers?? and if so care to part

Re: shared SQL DB

2005-06-14 Thread Gary W. Smith
Ronan, Yes it can/has been done and it works flawlessly. We currently have 4 front end SA processing machines that tie into a single MySQL cluster (running HA with DRBD mirroring for failover). Basically you just need to point your SA's on each machine to the MySQL database. Here is mine: aut

Re: RE: Re: shared SQL DB

2005-06-14 Thread Nigel Frankcom
MAIL PROTECTED] > >-Original Message- >From: Nigel Frankcom [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 14, 2005 1:52 PM >To: JamesDR >Cc: users@spamassassin.apache.org >Subject: Re: Re: shared SQL DB > > >Hi All, > >It's 5 SA actually :

Re: shared SQL DB

2005-06-14 Thread Michael Parker
Matthew Yette wrote: >I would think this would just involve modifying the db connection >functions inside the SA code to verify the primary connection is >established, and if not , roll onto a second (backup) server. > > There are several perl DBD:: modules that can help facilitate failover/rep

RE: Re: shared SQL DB

2005-06-14 Thread Matthew Yette
-1644 (w) 315-356-0597 (f) AIM/Yahoo: MAPolceNOC MSN: [EMAIL PROTECTED] -Original Message- From: Nigel Frankcom [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 1:52 PM To: JamesDR Cc: users@spamassassin.apache.org Subject: Re: Re: shared SQL DB Hi All, It's 5 SA actually :-D

Re: Re: shared SQL DB

2005-06-14 Thread Nigel Frankcom
Hi All, It's 5 SA actually :-D - and I've not noted any problems that didn't come down to slight differences in config between SA servers, once standardised they run much the same. The single MySQL is working well, my only concern being that I still haven't managed to eliminate a potential singl

Re: shared SQL DB

2005-06-14 Thread JamesDR
Ronan McGlue wrote: Hi all, running 2 spamd servers and want to share the BAYES DB between them... so that one never gets too swayed and that both the servers are contantly synced etc... anybody currently running an SQL backend off multiple Spamd servers?? and if so care to part with some

RE: shared SQL DB

2005-06-14 Thread Matthew Yette
ailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 1:17 PM To: Matthew Yette Cc: users@spamassassin.apache.org Subject: Re: shared SQL DB Matthew Yette wrote: >Care to explain how you've come to set this up? We run an ISP-type >solution w/ two identical qmail-scanner/SA/clamav se

Re: shared SQL DB

2005-06-14 Thread Michael Parker
Matthew Yette wrote: >Care to explain how you've come to set this up? We run an ISP-type >solution w/ two identical qmail-scanner/SA/clamav servers set up for >load-balancing purposes (network edge device decides which server to use >at all times). We'd like to consolidate bayes db, auto-whitelis

Re: shared SQL DB

2005-06-14 Thread Michael Parker
[EMAIL PROTECTED] wrote: >Cami wrote: > > >>>running 2 spamd servers and want to share the BAYES DB between >>>them... so that one never gets too swayed and that both the servers >>>are contantly synced etc... >>> >>>anybody currently running an SQL backend off multiple Spamd servers?? >>>and i

Re: shared SQL DB

2005-06-14 Thread Michael Parker
Cami wrote: >> running 2 spamd servers and want to share the BAYES DB between >> them... so that one never gets too swayed and that both the servers >> are contantly synced etc... >> >> anybody currently running an SQL backend off multiple Spamd servers?? >> and if so care to part with some knowle

RE: shared SQL DB

2005-06-14 Thread Matthew.van.Eerde
Cami wrote: >> running 2 spamd servers and want to share the BAYES DB between >> them... so that one never gets too swayed and that both the servers >> are contantly synced etc... >> >> anybody currently running an SQL backend off multiple Spamd servers?? >> and if so care to part with some knowl

Re: shared SQL DB

2005-06-14 Thread Cami
running 2 spamd servers and want to share the BAYES DB between them... so that one never gets too swayed and that both the servers are contantly synced etc... anybody currently running an SQL backend off multiple Spamd servers?? and if so care to part with some knowledge??? SpamAssassin alre

RE: shared SQL DB

2005-06-14 Thread Matthew Yette
Ronan, Care to explain how you've come to set this up? We run an ISP-type solution w/ two identical qmail-scanner/SA/clamav servers set up for load-balancing purposes (network edge device decides which server to use at all times). We'd like to consolidate bayes db, auto-whitelist settings, and lo