On Fri, 26 Feb 2010 10:20:06 -0500 (EST) Charles Gregory <[email protected]> wrote:
> I happened to notice that 'tflags userconf' was specified for a few > tests that, as far as I could tell have on user configurable > parameters. > > Example (3.2.5): > > 25_spf.cf:tflags SPF_PASS nice userconf > > So what 'user configuration' is needed for SPF_PASS that is NOT needed > for SPF_FAIL? In general, what does a 'userconf' specification 'look > for' before permitting a test to run? I don't think userconf determines whether a rule runs. I think it's intended to flag that the rule may change its behaviour according to how it's configured. AFAIK in SA itself its only effect is that userconf rules are excluded from the autolearning and AWL. I'm guessing it's also used to exclude rules from score optimization. There is a comment in 25_spf.cf: # these are "userconf" so that scores are set by hand tflags SPF_PASS nice userconf net tflags SPF_HELO_PASS nice userconf net
