Hi Michael,

> Sorry for my newbie ignorance but I haven't found an answer in the
> documentation.  Two questions:
>
> 1)  What's the recommended way to make changes to an existing filter or
> action file while maintaining forward compatibility with future package
> upgrades that may change that file?
>
> For example:
>
> -- Suppose I want to add additional regex's to filter.d/postfix.conf.  Do I
> create a postfix.local?

Yes, that would allow the renewal of postfix.conf on upgrades without 
interfering with your settings.

However, there's also a potential trap with this:

the changes might pass unobserved, whereas it might be better to be aware 
of new features or changes when an update is done.

> -- Or, suppose I want to add an unban email to action.d/sendmail-whois.conf.
> Do I create a sendmail-whois.local?

Yes. Although it doesn't really matter. But you'd be probably more 
consistent putting all your local changes/add-ons/work into xxxx.local 
files.

Hope this helps.

There's mention of these things within 
http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#General_settings.

Best regards,

Iosif Fettich


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to