[Rspamd-Users] LUA Script to collect recipient addresses
Kai Bojens
kb at artfiles.de
Mon Mar 24 07:22:59 UTC 2025
Am 23.03.25 um 21:40 schrieb christian via Users:
> I'm trying to implement a LUA script that writes the recipients of all my users' outgoing emails to a file. I simply want to get a list of email addresses that are considered GOOD so that I can later rate them with a better score using a multimap.
rspamd has the "replies module" which might work better for you:
https://www.rspamd.com/doc/modules/replies.html
"This module gathers the message-id header of emails that authenticated users have sent and saves the corresponding hashes to Redis. These hashes expire after a predetermined length of time, which can be set to a maximum of 24 hours by default. Additionally, the module creates hashes of the in-reply-to headers of all received messages and checks them for matches, i.e., messages that were sent in response to messages that our system initiated."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.rspamd.com/pipermail/users/attachments/20250324/5ac21524/attachment.bin>
More information about the Users
mailing list