Page 1 of 1

SORBS

Posted: 24 Mar 2023 07:22
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.

Re: SORBS

Posted: 25 Mar 2023 03:58
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

Re: SORBS

Posted: 28 Mar 2023 07:11
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.

Re: SORBS

Posted: 24 Apr 2023 04:07
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