SORBS

Questions and answers about how to do stuff
Post Reply
efagokan1
Posts: 24
Joined: 28 Mar 2022 05:57

SORBS

Post by efagokan1 »

Hello

Gmail ip addresses enter SORBS lists. That's why emails go to spam.
How can I remove only one domain from SORBS control?

Thanks.
User avatar
Aryfir
Posts: 21
Joined: 04 Sep 2020 13:52

Re: SORBS

Post by Aryfir »

Hi,

Since i dont know how many SORBS score you have and i assume that your matching rule of SORBS is RCVD_IN_SORBS;

Put this on your local.cf

Code: Select all

header		GMAIL_TLD From =~ /(gmail.com)/i
describe	GMAIL_TLD Gmail Trusted
score		GMAIL_TLD 0.0

Code: Select all

meta		CUSTOM_GMAIL_WHLST (GMAIL_TLD + RCVD_IN_SORBS)
describe	CUSTOM_GMAIL_WHLST Message received in 2 rules
score		CUSTOM_GMAIL_WHLST -1.0

Logic is simple, whenever email coming from gmail.com it will give zero score (GMAIL_TLD) and meta will combine ruleset from GMAIL_TLD & RCVD_IN_SORBS to give minus 1 score (you may edit this score to fit on your needs)

Please run spamassassin --lint cli to check if that config is correct and follow with systemctl restart spamassassin
efagokan1
Posts: 24
Joined: 28 Mar 2022 05:57

Re: SORBS

Post by efagokan1 »

Hello

Customers are using Google Workspace. So they use their own domain names. I can't add everyone individually.
How else can we find a solution?

Thanks.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: SORBS

Post by pdwalker »

Can you show me the spamassassin rule hit you are getting that causes the emails to be flagged as spam?

In my installation, I have two rules containing the string SORBS and they are
1/ RCVD_IN_SORBS_DUL
2/ RCVD_IN_SORBS_WEB
Post Reply