Re: Using spamassassin modules from a git repo

2021-04-09 Thread Jared Hall
I do kind of like Tom Hendrikx idea of putting cloning the folder into somewhere in /usr/local/etc and putting a modified pre file in /etc/spamassassin/. But it's true it's not perfect. Yes.  Tom's idea is correctish; perhaps a more "true" solution for some. ZERO-TRUST.  SpamAssassin is

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Michael Grant
> To update SpamAssassin module from time to time from Git I am using > Puppet/Ansible that will put the code in the right places. > On simpler install I am using a Makefile like this one: > > >

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Giovanni Bechis
On 4/8/21 7:51 PM, Bill Cole wrote: >> So clearly it's not ideal to clone a spamassassin module into >> /etc/spamassassin! >> >> I'm curious if someone has a clean solution here that allows updating >> the module from time to time from git. > > That module? No. I have the utmost respect for and

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Bill Cole
On 8 Apr 2021, at 5:05, Michael Grant wrote: I'm running debian on my mail server. I use etckeeper to track changes in /etc. Often I run across modules such as spamassassin-esp and maybe I would consider playing with Jared Hall's CHAOS module. I'm curious what the recommended best practice

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Michael Grant
On Thu, Apr 08, 2021 at 07:00:57PM +0200, Benny Pedersen wrote: > On 2021-04-08 18:54, Michael Grant wrote: > > > This may be a stupid question... but for a spamassassin module, for > > example spamassassin-esp, how would one normally "install" this so > > that it reads the .pre file? > > all

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Benny Pedersen
On 2021-04-08 18:54, Michael Grant wrote: This may be a stupid question... but for a spamassassin module, for example spamassassin-esp, how would one normally "install" this so that it reads the .pre file? all content should be placed in same dir as local.cf and custom plugins should have

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Michael Grant
On Thu, Apr 08, 2021 at 04:11:25PM +0200, Benny Pedersen wrote: > On 2021-04-08 11:05, Michael Grant wrote: > > > loadplugin Mail::SpamAssassin::Plugin::Esp spamassassin-esp/Esp.pm > > include spamassassin-esp/Esp.cf > > loadplugin must not be in cf files, it belongs to pre files This may be a

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Benny Pedersen
On 2021-04-08 11:05, Michael Grant wrote: loadplugin Mail::SpamAssassin::Plugin::Esp spamassassin-esp/Esp.pm include spamassassin-esp/Esp.cf loadplugin must not be in cf files, it belongs to pre files

Re: Using spamassassin modules from a git repo

2021-04-08 Thread Tom Hendrikx
How about cloning outside your etc directory, for instance in /usr/local? And then adding the correct paths to local.cf, as usual. Kind regards, Tom On 08-04-2021 11:05, Michael Grant wrote: I'm running debian on my mail server. I use etckeeper to track changes in /etc. Often I run