You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Charles Gregory <cg...@hwcn.org> on 2010/02/26 16:20:06 UTC

tflags userconf

Hallo!

Back on topic.... :)

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?

- C

Re: tflags userconf

Posted by Charles Gregory <cg...@hwcn.org>.
On Fri, 26 Feb 2010, RW wrote:
> 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

Ah. I didn't see that because I was grepping * for 'SPF'... :)
Thanks.

- C


Re: tflags userconf

Posted by RW <rw...@googlemail.com>.
On Fri, 26 Feb 2010 10:20:06 -0500 (EST)
Charles Gregory <cg...@hwcn.org> 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