Re: Fedora sa-update and systemd randomized timer

2020-12-31 Thread Kevin A. McGrail
Sounds good here. All saupdate does is a very lightweight DNS check.

On Thu, Dec 31, 2020, 19:54 Kenneth Porter  wrote:

> With the discussion of the KAM channel and Fedora's sa-update script that
> uses directory-based channel configuration, I went snooping into their
> script and systemd units. It looks like sa-update.cron has a 2-hour random
> delay before it looks for updates. I'm thinking it would be nice to move
> that delay into the systemd timer unit using the RandomizedDelaySec
> feature. This would allow the script to be run from the command line for
> immediate testing without waiting for the delay. The delay would be done
> by
> systemd, instead. The delay in the script should be configurable and able
> to be disabled in /etc/sysconfig/spamassassin, anyway. (For example, if it
> was to be used with the pre-systemd RHEL 6.) I'm throwing this here in
> case
> anyone sees a reason not to do this, before opening a bugzilla.
>
>


Fedora sa-update and systemd randomized timer

2020-12-31 Thread Kenneth Porter
With the discussion of the KAM channel and Fedora's sa-update script that 
uses directory-based channel configuration, I went snooping into their 
script and systemd units. It looks like sa-update.cron has a 2-hour random 
delay before it looks for updates. I'm thinking it would be nice to move 
that delay into the systemd timer unit using the RandomizedDelaySec 
feature. This would allow the script to be run from the command line for 
immediate testing without waiting for the delay. The delay would be done by 
systemd, instead. The delay in the script should be configurable and able 
to be disabled in /etc/sysconfig/spamassassin, anyway. (For example, if it 
was to be used with the pre-systemd RHEL 6.) I'm throwing this here in case 
anyone sees a reason not to do this, before opening a bugzilla.




Re: Happy Thanksgiving and Announcing the Apache SpamAssassin Channel for the KAM Rule Set

2020-12-31 Thread Matus UHLAR - fantomas

On Sat, Nov 28, 2020 at 1:29 PM Matus UHLAR - fantomas 
wrote:

is there any estimate on how often should we expect any updates to it?


On 31.12.20 15:22, Kevin A. McGrail wrote:

I typically make multiple changes on every business day.  Some of those
changes are to an RBL that we will likely enable by default.  We're also
working on more automated tooling as well.

Since it's just a DNS check, feel free to query hourly!


yes, since I use Debian, I'll have to make script myself.
I don't exactly remember what did I do for SOUGHT ruleset...

however, I asked because I wanted to do any automation which seemed not easy
without updates :-)


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The only substitute for good manners is fast reflexes.


Re: Happy Thanksgiving and Announcing the Apache SpamAssassin Channel for the KAM Rule Set

2020-12-31 Thread Kevin A. McGrail
On Sat, Nov 28, 2020 at 1:29 PM Matus UHLAR - fantomas 
wrote:

> is there any estimate on how often should we expect any updates to it?


Hi Matus,

I typically make multiple changes on every business day.  Some of those
changes are to an RBL that we will likely enable by default.  We're also
working on more automated tooling as well.

Since it's just a DNS check, feel free to query hourly!

Regards,
KAM
--
Kevin A. McGrail
Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171



>