You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Marc Perkel <su...@junkemailfilter.com> on 2011/06/14 19:03:05 UTC
MySQL bayes setup question
I must be blind but I can seem to find the files or instructions for
creating the mysql databases to set up bayes.
Thanks in advance
--
Marc Perkel - Sales/Support
support@junkemailfilter.com
http://www.junkemailfilter.com
Junk Email Filter dot com
415-992-3400
Re: MySQL bayes setup question
Posted by Marc Perkel <su...@junkemailfilter.com>.
On 6/14/2011 12:10 PM, Dave Wreski wrote:
> Marc,
>
>>>>> You can also find the readme for sql support there, or check out:
>>>>> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/README.bayes
>>>>>
>>>>>
>>>>> It's quite easy to setup and get running.
>>>>
>>>> I can't seem to find the bayes_mysql.sql file anywhere.
>>>>
>>> Depending on your distribution it could be in a number of places. You
>>> could try a:
>>> find / -name bayes_mysql.sql
>>>
>>> If you have svn installed you can download it via svn. You can also
>>> download it with wget (or view in browser) directry via:
>>> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/bayes_mysql.sql
>>>
>>>
>>> From there it's as easy an configuring your local.cf to use Bayes SQL
>>> and creating the tables in mysql. Don't forget to backup your existing
>>> bayes tokens and such before doing any changes. You can later restore
>>> that backup to Mysql so you don't lose any training.
>>
>> Thanks - that's what I was looking for.
>
> You might also find this helpful:
>
> http://www200.pair.com/mecham/spam/debian-spamassassin-sql.html
>
> Regards,
> Dave
>
>
Thanks Dave, that was useful.
--
Marc Perkel - Sales/Support
support@junkemailfilter.com
http://www.junkemailfilter.com
Junk Email Filter dot com
415-992-3400
Re: MySQL bayes setup question
Posted by Dave Wreski <dw...@guardiandigital.com>.
Marc,
>>>> You can also find the readme for sql support there, or check out:
>>>> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/README.bayes
>>>>
>>>> It's quite easy to setup and get running.
>>>
>>> I can't seem to find the bayes_mysql.sql file anywhere.
>>>
>> Depending on your distribution it could be in a number of places. You
>> could try a:
>> find / -name bayes_mysql.sql
>>
>> If you have svn installed you can download it via svn. You can also
>> download it with wget (or view in browser) directry via:
>> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/bayes_mysql.sql
>>
>> From there it's as easy an configuring your local.cf to use Bayes SQL
>> and creating the tables in mysql. Don't forget to backup your existing
>> bayes tokens and such before doing any changes. You can later restore
>> that backup to Mysql so you don't lose any training.
>
> Thanks - that's what I was looking for.
You might also find this helpful:
http://www200.pair.com/mecham/spam/debian-spamassassin-sql.html
Regards,
Dave
Re: MySQL bayes setup question
Posted by Marc Perkel <su...@junkemailfilter.com>.
On 6/14/2011 10:40 AM, Morgan Bishop wrote:
> On 6/14/2011 1:23 PM, Marc Perkel wrote:
>>
>>
>> On 6/14/2011 10:19 AM, Morgan Bishop wrote:
>>> On 6/14/2011 1:03 PM, Marc Perkel wrote:
>>>> I must be blind but I can seem to find the files or instructions
>>>> for creating the mysql databases to set up bayes.
>>>>
>>>> Thanks in advance
>>>>
>>> I'm not sure, but I believe you are looking for bayes_mysql.sql in
>>> the spamassassin documentation directory. Depending on your
>>> install/distribution it may be in /usr/share/doc/spamassassin/sql/
>>>
>>> You can also find the readme for sql support there, or check out:
>>> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/README.bayes
>>>
>>>
>>> It's quite easy to setup and get running.
>>>
>>>
>>
>> I can't seem to find the bayes_mysql.sql file anywhere.
>>
> Depending on your distribution it could be in a number of places. You
> could try a:
> find / -name bayes_mysql.sql
>
> If you have svn installed you can download it via svn. You can also
> download it with wget (or view in browser) directry via:
> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/bayes_mysql.sql
>
>
> From there it's as easy an configuring your local.cf to use Bayes SQL
> and creating the tables in mysql. Don't forget to backup your
> existing bayes tokens and such before doing any changes. You can
> later restore that backup to Mysql so you don't lose any training.
>
>
Thanks - that's what I was looking for.
--
Marc Perkel - Sales/Support
support@junkemailfilter.com
http://www.junkemailfilter.com
Junk Email Filter dot com
415-992-3400
Re: MySQL bayes setup question
Posted by Benny Pedersen <me...@junc.org>.
On Tue, 14 Jun 2011 13:40:33 -0400, Morgan Bishop wrote:
>
> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/bayes_mysql.sql
note that MyISAM should be changed to INNODB on bayes_token if you have
INNODB avail, other tables can still be as is
Re: MySQL bayes setup question
Posted by Morgan Bishop <mo...@morg.org>.
On 6/14/2011 1:23 PM, Marc Perkel wrote:
>
>
> On 6/14/2011 10:19 AM, Morgan Bishop wrote:
>> On 6/14/2011 1:03 PM, Marc Perkel wrote:
>>> I must be blind but I can seem to find the files or instructions for
>>> creating the mysql databases to set up bayes.
>>>
>>> Thanks in advance
>>>
>> I'm not sure, but I believe you are looking for bayes_mysql.sql in
>> the spamassassin documentation directory. Depending on your
>> install/distribution it may be in /usr/share/doc/spamassassin/sql/
>>
>> You can also find the readme for sql support there, or check out:
>> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/README.bayes
>>
>>
>> It's quite easy to setup and get running.
>>
>>
>
> I can't seem to find the bayes_mysql.sql file anywhere.
>
Depending on your distribution it could be in a number of places. You
could try a:
find / -name bayes_mysql.sql
If you have svn installed you can download it via svn. You can also
download it with wget (or view in browser) directry via:
http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/bayes_mysql.sql
From there it's as easy an configuring your local.cf to use Bayes SQL
and creating the tables in mysql. Don't forget to backup your existing
bayes tokens and such before doing any changes. You can later restore
that backup to Mysql so you don't lose any training.
Re: MySQL bayes setup question
Posted by Marc Perkel <su...@junkemailfilter.com>.
On 6/14/2011 10:19 AM, Morgan Bishop wrote:
> On 6/14/2011 1:03 PM, Marc Perkel wrote:
>> I must be blind but I can seem to find the files or instructions for
>> creating the mysql databases to set up bayes.
>>
>> Thanks in advance
>>
> I'm not sure, but I believe you are looking for bayes_mysql.sql in the
> spamassassin documentation directory. Depending on your
> install/distribution it may be in /usr/share/doc/spamassassin/sql/
>
> You can also find the readme for sql support there, or check out:
> http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/README.bayes
>
>
> It's quite easy to setup and get running.
>
>
I can't seem to find the bayes_mysql.sql file anywhere.
--
Marc Perkel - Sales/Support
support@junkemailfilter.com
http://www.junkemailfilter.com
Junk Email Filter dot com
415-992-3400
Re: MySQL bayes setup question
Posted by Morgan Bishop <mo...@morg.org>.
On 6/14/2011 1:03 PM, Marc Perkel wrote:
> I must be blind but I can seem to find the files or instructions for
> creating the mysql databases to set up bayes.
>
> Thanks in advance
>
I'm not sure, but I believe you are looking for bayes_mysql.sql in the
spamassassin documentation directory. Depending on your
install/distribution it may be in /usr/share/doc/spamassassin/sql/
You can also find the readme for sql support there, or check out:
http://svn.apache.org/repos/asf/spamassassin/branches/3.3/sql/README.bayes
It's quite easy to setup and get running.
Re: MySQL bayes setup question
Posted by a....@ukgrid.net.
Look in the "sql" directory in the source code,
Andy.
Quoting Marc Perkel <su...@junkemailfilter.com>:
> I must be blind but I can seem to find the files or instructions for
> creating the mysql databases to set up bayes.
>