Skip to content

Add module to save rejected mails for debugging - #5849

Open
heptalium wants to merge 1 commit into
rspamd:masterfrom
heptalium:meissner-module-save_rejected
Open

heptalium wants to merge 1 commit into
rspamd:masterfrom
heptalium:meissner-module-save_rejected

Conversation

@heptalium

Copy link
Copy Markdown
Contributor

When installing and configuring a new server some ham mails might be rejected too. And as the mails are rejected there is no possibility to learn them as ham. By enabling the new save_rejected module all rejected mails are saved in a directory so rspamc learn_ham can be used to learn false positives as ham. In the corresponding merge request in the docs repository is an example for a systemd timer to remove older mails in the directory.

@vstakhov

Copy link
Copy Markdown
Member

What's wrong with https://docs.rspamd.com/modules/metadata_exporter#settings-send_mail-backend ? Why do we need an extra module?

@heptalium

Copy link
Copy Markdown
Contributor Author

I didn't know that it is possible with the metadata_exporter. And I don't yet completely understand how to configure it.
On the other hand, the new module addresses a problem that especially people might have, who are new to Rspamd.
And I think for those people it is much easier to enable an additional module then configuring the metadata_exporter and prevent the mailserver from looping back to Rspamd to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants