Re: Facilitating installation and update of anti-spam filter

Grant Taylor <[email protected]> Mon, 11 Jul 2022 14:16:30 -0600
Newsgroups gmane.network.inn
Organization TNet Consulting
Message-ID <[email protected]>
On 7/11/22 11:28 AM, Julien ÉLIE wrote:
> Hi Grant,

Hi Julien,

> Instead of a new mailing-list, why not use existing newsgroups like 
> news.admin.misc, news.software.misc or news.admin.announce? (the latter 
> is moderated)

Sure.

I think it's probably okay to depend on Usenet in the context of a piece 
of Usenet server software.

Depending on Usenet outside of Usenet is a little bit of a stretch IMHO.

There is also something to be said for non-Usenet based communications 
in support of Usenet.  E.g. when the Usenet software isn't working and 
you need help to get it working.  --  Though that's out of context.  /me 
shuts his mouth.

> I see what you mean.  Unfortunately, INN does not support that feature 
> for all configuration files; nocem.ctl and moderators do not have that; 
> control.ctl.local can somehow do the job

The other thing that I've been known to do in some cases like this is to 
fall back to m4 (et al.) to combine files for me to produce the new output.

Or maybe sed.

Maybe automating some of this with a script / make file.  (See how older 
FreeBSD used make files to manipulate some things for Sendmail.)

> (but essentially to add new rules, the idea isn't to put a drop of 
> everything at the beginning of control.ctl.local and then re-add 
> stuff...).

I wasn't thinking dropping everything.  More of a most recent setting 
wins type thing.  E.g.

example_file:
    USER_ONE=Bob
    USER_TWO=Ed
    source example_file.local

example_file.local:
    USER_ONE=Tom

Hence the example_file.local overwriting the USER_ONE value to be Tom 
while retaining the USER_TWO value of Ed.

> Probably, though we could try to start a better communication about such 
> changes in one or several newsgroups.

+1



-- 
Grant. . . .
unix || die

-- 
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed