How to "source" a .conf file
Posted: 25 Jul 2022 17:58
Hi,
Does anyone know if there is an easy way to "source" a mailscanner .conf file from another? Like for example, if I wanted to include some special rules for a certain group of e-mails/domains - I could just import the changes to the main ruleset.
Currently I have 2 rulesets for filename.rules.conf - they're almost identical except a couple lines. I'd rather not have to explain via comments that these 2 files need to be modified in tandem, except those 2 rules that are different.
Also, offhand - does anyone know if the first rule you hit is what counts - or is it the last. Or is it the first deny you hit that denies you but you have to pass all the rest? I've been using it a few years and still not sure how it works exactly.
Thanks
Does anyone know if there is an easy way to "source" a mailscanner .conf file from another? Like for example, if I wanted to include some special rules for a certain group of e-mails/domains - I could just import the changes to the main ruleset.
Currently I have 2 rulesets for filename.rules.conf - they're almost identical except a couple lines. I'd rather not have to explain via comments that these 2 files need to be modified in tandem, except those 2 rules that are different.
Also, offhand - does anyone know if the first rule you hit is what counts - or is it the last. Or is it the first deny you hit that denies you but you have to pass all the rest? I've been using it a few years and still not sure how it works exactly.
Thanks