https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7838

--- Comment #12 from Lars D. <[email protected]> ---
My 60_whitelist.cf looks like this:

if can(Mail::SpamAssassin::Conf::feature_blocklist_welcomelist)
  #bz7826 renames whitelist to welcomelist
  header USER_IN_WELCOMELIST_TO     eval:check_to_in_welcomelist()
  describe USER_IN_WELCOMELIST_TO   User is listed in 'welcomelist_to'
  tflags USER_IN_WELCOMELIST_TO     userconf nice noautolearn                  
                                                                               
                        else
  header USER_IN_WHITELIST_TO     eval:check_to_in_whitelist()
  describe USER_IN_WHITELIST_TO   User is listed in 'whitelist_to'
  tflags USER_IN_WHITELIST_TO     userconf nice noautolearn
endif

This look fine.

I.e. the 30_text_de.cf file contains this line:
lang de describe USER_IN_WELCOMELIST_TO Empfängeradresse steht in Ihrer
persönlichen weißen Liste

But no if can(Mail::SpamAssassin::Conf::feature_blocklist_welcomelist).

If my spamassassin does not have the feature „feature_blocklist_welcomelist“,
it will fail because the rule USER_IN_WELCOMELIST_TO does not exist. Right?

My versions:
sa-update version 3.4.2 / svn1840377
  running on Perl version 5.28.1

SpamAssassin version 3.4.2
running on Perl version 5.28.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to