hukl on Nostr: In other news: I’ve added a little lua function to my rspamd which checks sender ...
In other news: I’ve added a little lua function to my rspamd which checks sender names of received emails against a list of trusted contacts (email - name). If a mail arrives with a sender name which is on the list, the lua function checks if the email address matches. If not it’s marked as spam and a (UN)TRUSTED_SENDER flag is added
Mails from senders that are not on my trusted_senders.map file will use the normal rspam pipeline
That feels like it should be a default feature, right?
Published at
2026-10-21 09:44:14 UTCEvent JSON
{
"id": "fa5c0de132ca8e81fa6ccba9b02be71de1579aabb61500122212bdb4610c28c3",
"pubkey": "532cf0f7e8e0b0f7676f4b06dfeb7d225f17c13a1ca50f3259314eaba6ec04eb",
"created_at": 1792575854,
"kind": 1,
"tags": [
[
"proxy",
"https://chaos.social/users/hukl/statuses/117478251172493362",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "In other news: I’ve added a little lua function to my rspamd which checks sender names of received emails against a list of trusted contacts (email - name). If a mail arrives with a sender name which is on the list, the lua function checks if the email address matches. If not it’s marked as spam and a (UN)TRUSTED_SENDER flag is added\n\nMails from senders that are not on my trusted_senders.map file will use the normal rspam pipeline\n\nThat feels like it should be a default feature, right?",
"sig": "6939b62e95d5cf9f1a6ad2ac493804e0f0e63a76331aede54e15474475fba3889bd5fc11f91b0b3c75025954eab7717f6d202fd964e414937b773bfbf37135ae"
}