Hello,

I had the idea to run my own updateserver for two purposes:
 1. distribute own rules
 2. override existing rules

But somehow I fail on #2.


SA rules normally reside in /var/.../spamassassin/$SA-VERSION/channelname/*.cf
Also the are files /var/.../spamassassin/$SA-VERSION/channelname.cf including the real files in channelname/

Now I had some rules overriding existing SA rules in /etc/mail/spamassassin/local.cf These rules I moved to my own channelname and now the defaults from updates_spamassassin_org
are active again.

My guess: rules are included in lexical order from /var/.../spamassassin/$SA-VERSION/channelname.cf and my new channel spamassassin_example_org is *not after* updates_spamassassin_org

I proved my guess by "renaming" the channelfiles to z_spamassassin_example_org
( adjusted the .cf + include also )

Immediately the intended override was active again.

Is my guess right?
If so, any (other then renaming the channel) chance to modify the order?

Thanks
Andreas

Reply via email to