Rule to whitelist all current INBOX addresses?

Use this forum for discussions about SpamAssassin and anti-spam in general.
Post Reply
kdiamond
Normal user
Normal user
Posts: 94
Joined: 2013-03-20 10:51

Rule to whitelist all current INBOX addresses?

Post by kdiamond » 2020-12-21 01:46

Hi.

Can we, by any chance, have a rule that would whitelist all Inbox FROM addresses?

Inbox should be clean anyway. If there is some spam that manages to avoid the SPAM filter we clean it manually, so it's is fair to assume all current inbox emails are valid without any SPAM check.

Thank you

Br,
Dali

palinka
Senior user
Senior user
Posts: 2472
Joined: 2017-09-12 17:57

Re: Rule to whitelist all current INBOX addresses?

Post by palinka » 2020-12-21 14:09

That's more or less what txrep is.

https://cwiki.apache.org/confluence/dis ... SSIN/TxRep

I never tried it. I'm not sure it can be run on windows.

There's also this script (not spamassassin): https://www.hmailserver.com/forum/viewt ... =whitelist

palinka
Senior user
Senior user
Posts: 2472
Joined: 2017-09-12 17:57

Re: Rule to whitelist all current INBOX addresses?

Post by palinka » 2020-12-21 14:17

Sorry - didn't read carefully enough. Those things are for recipients, not senders.

You could script something to do this. Loop through all messages, pull out senders, reduce list to unique senders, then whitelist each address on the list.

hMailServer whitelisting short circuits spamassassin.

Post Reply