Skip to content

Resolve "rename mail_user should update spamfilter_users"

Many fixes for handling renamed mail_users (via domain change, etc.), handling deletes, etc. spamfilter_users entries for existing mail_user/domain should never be deleted or the spamfilter_wblist entries linked to the entry are abandoned/lost - when a mail_user is set to the inherit the domain's policy, set policy_id=0 instead of deleting. This adds a cleanup routing for old /etc/rspamd/local.d/users/ files which were abandoned in various conditions.

Closes #6200 (closed) Closes #6201 (closed) Closes #6145 (closed) Closes #5484 (closed)

Edited by Jesse Norell

Merge request reports