what is this telling me in spam assassin -D --lint ?

2016-02-12 Thread Robert Chalmers
Is this a setting somewhere that I should have in place? Feb 12 09:09:30.509 [73122] dbg: config: fixed relative path: /opt/local/var/spamassassin/3.004001/updates_spamassassin_org/10_default_prefs.cf Feb 12 09:09:30.509 [73122] dbg: config: using

Re: How do I actually add these descriptions then...

2016-02-12 Thread Robert Chalmers
Yes well, back again. sa-update is running, and supposedly updating rules. spam assassin -D —lint still shows a long list… however, no longer shows that first one from a while back… Feb 12 09:09:30.977 [73122] dbg: config: warning: no description set for HK_SCAM_N2 Feb 12 09:09:30.977 [73122]

Re: URIBL/DNSBL from a database

2016-02-12 Thread Martin Gregorie
On Fri, 2016-02-12 at 08:39 -0500, Alex wrote: > Is it possible for spamassassin to query a database directly? > Yes, with a plugin. I've been doing the opposite for some years now: I archive all my outgoing mail and most of my non-spam incoming mail in a Postgres database and use this as a

URIBL/DNSBL from a database

2016-02-12 Thread Alex
Hi, For some time now I've been cycling URLs and IPs through a mariadb database gathered from incoming mail on a honeypot I've created. Surprising how many are received ahead of spamhaus/barracuda. I'm looking for ideas on how to now make this information available to spamassassin on my

Re: URIBL/DNSBL from a database

2016-02-12 Thread David Jones
> >From: Alex >For some time now I've been cycling URLs and IPs through a mariadb >database gathered from incoming mail on a honeypot I've created. >Surprising how many are received ahead of spamhaus/barracuda. Major RBLs like

Re: Child-related errors

2016-02-12 Thread RW
On Thu, 11 Feb 2016 21:05:26 + Martin Gregorie wrote: > On Thu, 2016-02-11 at 19:09 +, RW wrote: > > On Thu, 11 Feb 2016 12:02:13 + > > Martin Gregorie wrote: > > > > > Every so often I see the following in my nightly logwatch rep > > > > > > Child-related errors > > > spamd:

Re: URIBL/DNSBL from a database

2016-02-12 Thread Axb
On 02/12/2016 02:39 PM, Alex wrote: Hi, For some time now I've been cycling URLs and IPs through a mariadb database gathered from incoming mail on a honeypot I've created. Surprising how many are received ahead of spamhaus/barracuda. I'm looking for ideas on how to now make this information

Re: URIBL/DNSBL from a database

2016-02-12 Thread Shawn Bakhtiar
On Feb 12, 2016, at 5:39 AM, Alex > wrote: Hi, For some time now I've been cycling URLs and IPs through a mariadb database gathered from incoming mail on a honeypot I've created. Surprising how many are received ahead of

Re: URIBL/DNSBL from a database

2016-02-12 Thread Marc Perkel
On 02/12/16 05:39, Alex wrote: Hi, For some time now I've been cycling URLs and IPs through a mariadb database gathered from incoming mail on a honeypot I've created. Surprising how many are received ahead of spamhaus/barracuda. I'm looking for ideas on how to now make this information

Re: Child-related errors

2016-02-12 Thread Martin Gregorie
On Fri, 2016-02-12 at 15:06 +, RW wrote: > On Thu, 11 Feb 2016 21:05:26 + > Martin Gregorie wrote: > > > Feb 7 00:29:22 zoogz spamd[9347]: spamd: server killed by SIGTERM, > > shutting down > > Feb 7 00:29:22 zoogz spamd[9347]: spamd: cannot send SIGINT to > > child > > process [9352]:

Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. I re-transferred them several times over ssh, to make sure they were not corrupted. The database files are in the correct

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread John Hardin
On Fri, 12 Feb 2016, Sebastian Arcus wrote: # ls -l /var/spool/spamd/bayes/ total 5912 -rw-rw-rw- 1 spamd spamd 1310720 2016-02-09 08:42 bayes_seen -rw-rw-rw- 1 spamd spamd 4739072 2016-02-09 08:43 bayes_toks When I try to learn a new message on the receiving server (where I moved the bayes

Re: URIBL/DNSBL from a database

2016-02-12 Thread Martin Gregorie
On Fri, 2016-02-12 at 07:30 -0800, Marc Perkel wrote: > Yeah - unless you write your own SA module using DNS is the quick > easy solution. > If Alex already has a set of scripts that populate and maintain the database that he's happy with, then the quick and easy way may be to make a custom SA

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 16:59, Reindl Harald wrote: Am 12.02.2016 um 17:29 schrieb Sebastian Arcus: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. I re-transferred them several

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 20:06 schrieb Marc Perkel: Any chance that the parent directory structure doesn't have enough permissions? The error message says it can't access it so there's your clue. Since the files themselves seem to have good permissions I would look at the directories. see previous

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 16:59, Reindl Harald wrote: Am 12.02.2016 um 17:29 schrieb Sebastian Arcus: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. I re-transferred them several

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Marc Perkel
Any chance that the parent directory structure doesn't have enough permissions? The error message says it can't access it so there's your clue. Since the files themselves seem to have good permissions I would look at the directories. On 02/12/16 08:29, Sebastian Arcus wrote: As per advice

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Bill Cole
On 12 Feb 2016, at 17:34, Sebastian Arcus wrote: Thanks for that suggestion. I think we might be getting somewhere. On original machine: #file bayes_seen bayes_seen: Berkeley DB (Hash, version 9, native byte-order) # file bayes_toks bayes_toks: Berkeley DB (Hash, version 9, native

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 19:14, Reindl Harald wrote: Am 12.02.2016 um 20:06 schrieb Marc Perkel: Any chance that the parent directory structure doesn't have enough permissions? The error message says it can't access it so there's your clue. Since the files themselves seem to have good permissions I would

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread John Hardin
On Fri, 12 Feb 2016, Kris Deugau wrote: In general though, if you're operating at a scale where one server isn't enough to handle your SA load, you may want to start thinking about SQL for Bayes, which can be shared much more easily than pushing file-based Bayes data around. Or Redis (right?)

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 20:49, Bowie Bailey wrote: On 2/12/2016 3:45 PM, Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Kris Deugau
Sebastian Arcus wrote: > On 12/02/16 20:31, Antony Stone wrote: >> On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: >> >>> As per advice from this list, I have been re-using my bayes databases on >>> several different servers running SA. On one of the servers though, the >>> database

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. Are the servers all

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 22:36 schrieb Martin Gregorie: On Fri, 2016-02-12 at 20:58 +, Sebastian Arcus wrote: I'm on Slackware without selinux. I'm not even convinced it is a permission problem at all. If I restrict the permissions of the files on purpose, it actually reports: In that case

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 21:40, Kris Deugau wrote: Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Martin Gregorie
On Fri, 2016-02-12 at 20:58 +, Sebastian Arcus wrote: > I'm on Slackware without selinux. I'm not even convinced it is a > permission problem at all. If I restrict the permissions of the files > on purpose, it actually reports: > In that case ignore my last post, which assumed it was an

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 22:40 schrieb Kris Deugau: In general though, if you're operating at a scale where one server isn't enough to handle your SA load, you may want to start thinking about SQL for Bayes, which can be shared much more easily than pushing file-based Bayes data around no, that

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Antony Stone
On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: > As per advice from this list, I have been re-using my bayes databases on > several different servers running SA. On one of the servers though, the > database is not accepted. Are the servers all the same distro, release and

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Bowie Bailey
On 2/12/2016 3:45 PM, Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Martin Gregorie
On Fri, 2016-02-12 at 15:49 -0500, Bowie Bailey wrote: > On 2/12/2016 3:45 PM, Sebastian Arcus wrote: > > On 12/02/16 20:31, Antony Stone wrote: > > > On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: > > > > > > > As per advice from this list, I have been re-using my bayes > > > >

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 21:31 schrieb Antony Stone: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. Are the

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 21:40, Kris Deugau wrote: Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Benny Pedersen
On 12. feb. 2016 20.06.52 Marc Perkel wrote: # ls -l /var/spool/spamd/bayes/ Set bayes path without bayes bayes: cannot open bayes databases /var/spool/spamd/bayes/bayes_* R/W: Remove bayes from local.cf Sent with AquaMail for Android

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Marc Perkel
For what it's worth - just used Redis. Redis is the only thing that's worked reliably for me.