AW: howto do re-scoring of rules with a custom channel?
Hello Kevin, Thanks for your reply. Some tests commit your guess. It's the name. But it's not the name of the actual cf file, it's the name of the channel. Our channel is "saInternalChannel" which means sa-update creates a cf file "saInternalChannel_mydoamin_com.cf" containing the include directives as well as the subfolder containing the actuall rules files. "saInternalChannel" does not evaluate after "updates_spamassassin_org", so the regular SpamAssassin updates overwrite our rescoring. It seems we need to rename our channel to make them being loaded after the regular SpamAssassin update files. (e.g. to "xsaInternalChannel") Best regards, Harald Binkle Von: Kevin A. McGrail [mailto:kmcgr...@pccc.com] Gesendet: Donnerstag, 16. Juli 2015 11:27 An: Support SpamAssassin; users@spamassassin.apache.org Betreff: Re: howto do re-scoring of rules with a custom channel? On 7/16/2015 5:21 AM, Support SpamAssassin wrote: Hi, We created our own internal channel to feed our SpamAssassin installations with some custom rules. Recently tried to re-score a SpamAssassin rule using the channel files, but it does not work. When the channel is updated it correctly downloads the "saInternalChannel_mydoamin_com.cf" containing the include directives as well as the subfolder containing cf files they point to. So the files seem to be at the right place, right beside the usual SpamAssassin update files. Starting spamd in debug mode also shows that the x_saInternal_rescores.cf file containing the re-score config is loaded. But it doesn't apply. If I copy the file to the site-rules folder (beside the local.cf) it works. What do I need to change/do for rescoring SpamAssassin rules in custom channel files? My immediate guess is to rename one of the file with something like 99_ to control the order it's loaded in and see if the loading order gives the desired behavior. regards, KAM JAM Software GmbH Managing Director: Joachim Marder Am Wissenschaftspark 26 * 54296 Trier * Germany Phone: +49 (0)651-145 653 -0 * Fax: +49 (0)651-145 653 -29 Commercial register number HRB 4920 (AG Wittlich) http://www.jam-software.com JAM Software GmbH Gesch?ftsf?hrer: Joachim Marder Am Wissenschaftspark 26 * 54296 Trier * Germany Tel: 0651-145 653 -0 * Fax: 0651-145 653 -29 Handelsregister Nr. HRB 4920 (AG Wittlich) http://www.jam-software.de
Re: AW: howto do re-scoring of rules with a custom channel?
On 7/16/2015 5:51 AM, Support SpamAssassin wrote: Hello Kevin, Thanks for your reply. Some tests commit your guess. It’s the name. But it’s not the name of the actual cf file, it’s the name of the channel. Our channel is “saInternalChannel” which means sa-update creates a cf file “saInternalChannel_mydoamin_com.cf” containing the include directives as well as the subfolder containing the actuall rules files. “saInternalChannel” does not evaluate after “updates_spamassassin_org”, so the regular SpamAssassin updates overwrite our rescoring. It seems we need to rename our channel to make them being loaded after the regular SpamAssassin update files. (e.g. to “xsaInternalChannel”) That makes sense, yes. regards, KAM
Re: howto do re-scoring of rules with a custom channel?
On 7/16/2015 5:21 AM, Support SpamAssassin wrote: Hi, We created our own internal channel to feed our SpamAssassin installations with some custom rules. Recently tried to re-score a SpamAssassin rule using the channel files, but it does not work. When the channel is updated it correctly downloads the “saInternalChannel_mydoamin_com.cf” containing the include directives as well as the subfolder containing cf files they point to. So the files seem to be at the right place, right beside the usual SpamAssassin update files. Starting spamd in debug mode also shows that the x_saInternal_rescores.cf file containing the re-score config is loaded. But it doesn’t apply. If I copy the file to the site-rules folder (beside the local.cf) it works. What do I need to change/do for rescoring SpamAssassin rules in custom channel files? My immediate guess is to rename one of the file with something like 99_ to control the order it's loaded in and see if the loading order gives the desired behavior. regards, KAM
howto do re-scoring of rules with a custom channel?
Hi, We created our own internal channel to feed our SpamAssassin installations with some custom rules. Recently tried to re-score a SpamAssassin rule using the channel files, but it does not work. When the channel is updated it correctly downloads the "saInternalChannel_mydoamin_com.cf" containing the include directives as well as the subfolder containing cf files they point to. So the files seem to be at the right place, right beside the usual SpamAssassin update files. Starting spamd in debug mode also shows that the x_saInternal_rescores.cf file containing the re-score config is loaded. But it doesn't apply. If I copy the file to the site-rules folder (beside the local.cf) it works. What do I need to change/do for rescoring SpamAssassin rules in custom channel files? Best regards, Harald JAM Software GmbH Managing Director: Joachim Marder Am Wissenschaftspark 26 * 54296 Trier * Germany Phone: +49 (0)651-145 653 -0 * Fax: +49 (0)651-145 653 -29 Commercial register number HRB 4920 (AG Wittlich) http://www.jam-software.com JAM Software GmbH Gesch?ftsf?hrer: Joachim Marder Am Wissenschaftspark 26 * 54296 Trier * Germany Tel: 0651-145 653 -0 * Fax: 0651-145 653 -29 Handelsregister Nr. HRB 4920 (AG Wittlich) http://www.jam-software.de