[pmg-devel] [PATCH pmg-api v2 1/4] add helper for parsing SA channel.d files
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Jan 15 09:21:43 CET 2021
On 30.12.20 18:15, Stoiko Ivanov wrote:
> RHEL/CentOS based SpamAssassin implementations ship an update script,
> which reads shell snippets from
> /etc/mail/spamassassin/channel.d/*.conf and uses the information there
> to update SA rules from the configured channels [0].
>
> Noticed the existence of this directory/mechanism while reading the
> announcement of the updatechannel for the KAM ruleset [1].
>
> Parsing the file as text, instead of sourcing it in a shell, since I
> hope that the channel files distributed don't rely on running commands
> to get the ruleset url and gpg key.
I'd like to have a, at least minimal, test for new parsers. Ideally a OK one and
problematic one per success or error condition, respectively.
More information about the pmg-devel
mailing list