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.
SORBS
Re: SORBS
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
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
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