[Rspamd-Users] Impact of Whitelisted Messages on Bayes/Neural Learning in rspamd

Florian Piekert floppy at floppy.org
Wed Aug 6 15:18:48 UTC 2025


Hello Denny,

how about attaching them as a zip/7z archive file instead?

Especially due to this "fear" of tainting the neural learner I do this (atm without zip/7z, but as a base64 encoded attachement (mpack)).

Florian

Am 06.08.2025 um 17:10 schrieb Denny Friebe via Users:
> Hello everyone,
> I’m currently using a cronjob to send out a daily spam report to mailboxes that do not use IMAP. This report is intended to inform users about newly received messages that were classified as spam. It includes details such as the reception time, Envelope-From, From, Subject, and the IP address of the sender, all formatted in a table.
> 
> Initially, these reports were themselves marked as spam by rspamd. To address this, I created a multimap based whitelist that includes the full sender email address:
> 
> WHITELIST_FROM {
>      type = "from";
>      map = "$CONFDIR/local.d/whitelist_from.map";
>      description = "Local from whitelist";
>      action = "accept";
> }
> 
> This works as expected. Rspamd now accepts the reports without flagging them as spam.
> 
> However, I am wondering how this affects the Bayes or neural learning process. (i use autolearning)
> Are these whitelisted messages still included in the classifier training despite being accepted via multimap?
> If so, is there a recommended way to exclude them from training to avoid negatively impacting the learning accuracy?




More information about the Users mailing list