Bug 7749 - TxRep report template tags don't work
Summary: TxRep report template tags don't work
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Plugins (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC Linux
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
Depends on:
Reported: 2019-09-07 17:18 UTC by pille
Modified: 2020-04-28 09:51 UTC (History)
1 user (show)

Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description pille 2019-09-07 17:18:15 UTC
the following snippet is from my local.cf, in order to evaluate TxRep:

ifplugin Mail::SpamAssassin::Plugin::TxRep                                                                                                                                                                                                                                                                          
report txrep-email_ip         = _TXREP_EMAIL_IP_                                                                                                                                                                                                                                                                   
report txrep-email_ip-mean    = _TXREP_EMAIL_IP_MEAN_                                                                                                                                                                                                                                                              
report txrep-email_ip-count   = _TXREP_EMAIL_IP_COUNT_                                                                                                                                                                                                                                                             
report txrep-email_ip-prescore= _TXREP_EMAIL_IP_PRESCORE_                                                                                                                                                                                                                                                          
report txrep-email_ip-unknown = _TXREP_EMAIL_IP_UNKNOWN_                                                                                                                                                                                                                                                           
report txrep-email            = _TXREP_EMAIL_                                                                                                                                                                                                                                                                      
report txrep-email-mean       = _TXREP_EMAIL_MEAN_                                                                                                                                                                                                                                                                 
report txrep-email-count      = _TXREP_EMAIL_COUNT_                                                                                                                                                                                                                                                                
report txrep-email-prescore   = _TXREP_EMAIL_PRESCORE_                                                                                                                                                                                                                                                             
report txrep-email-unknown    = _TXREP_EMAIL_UNKNOWN_                                                                                                                                                                                                                                                              
report txrep-ip               = _TXREP_IP_                                                                                                                                                                                                                                                                         
report txrep-ip-mean          = _TXREP_IP_MEAN_                                                                                                                                                                                                                                                                    
report txrep-ip-count         = _TXREP_IP_COUNT_                                                                                                                                                                                                                                                                   
report txrep-ip-prescore      = _TXREP_IP_PRESCORE_                                                                                                                                                                                                                                                                
report txrep-ip-unknown       = _TXREP_IP_UNKNOWN_                                                                                                                                                                                                                                                                 
report txrep-domain           = _TXREP_DOMAIN_                                                                                                                                                                                                                                                                     
report txrep-domain-mean      = _TXREP_DOMAIN_MEAN_                                                                                                                                                                                                                                                                
report txrep-domain-count     = _TXREP_DOMAIN_COUNT_                                                                                                                                                                                                                                                               
report txrep-domain-prescore  = _TXREP_DOMAIN_PRESCORE_                                                                                                                                                                                                                                                            
report txrep-domain-unknown   = _TXREP_DOMAIN_UNKNOWN_                                                                                                                                                                                                                                                             
report txrep-helo             = _TXREP_HELO_                                                                                                                                                                                                                                                                       
report txrep-helo-mean        = _TXREP_HELO_MEAN_                                                                                                                                                                                                                                                                  
report txrep-helo-count       = _TXREP_HELO_COUNT_                                                                                                                                                                                                                                                                 
report txrep-helo-prescore    = _TXREP_HELO_PRESCORE_                                                                                                                                                                                                                                                              
report txrep-helo-unknown     = _TXREP_HELO_UNKNOWN_                                                                                                                                                                                                                                                               
endif # Mail::SpamAssassin::Plugin::TxRep

none of the tags were replaced in the generated report.
i've verified, that TxRep is working (score was added).
i'm not using user+global DB.

additionally the documentation has a typo: 
- _TXREP_XXX_Y_UNKNOW_   New sender (not found in the TXREP list)
+ _TXREP_XXX_Y_UNKNOWN_  New sender (not found in the TXREP list)
Comment 1 Giovanni Bechis 2020-04-28 09:51:58 UTC
"_" is not an allowed char in tag names, fixed in r1877124.
New tags will be names _TXREPEMAILIP_, ...