CFS mailscanner Front End - Whitelisting

Discuss the ConfigServer MailScanner Front-End script
Post Reply
DigitalEssence
Junior Member
Posts: 21
Joined: 03 Nov 2016, 12:10

CFS mailscanner Front End - Whitelisting

Post by DigitalEssence »

Hi,

I recently whitelisted a domain (*@strava.com) and the very next email that came in wasn't whitelisted.

After writing a very long support email with example headers and all the information required I noticed that the email didn't actually come from strava.com but @email.strava.com. Thankfully I noticed before pressing send (this time).


My question to you all is::

Is it possible to whitelist:

*@*.domain-name.com

rather than just:

*@domain-name.com

Thanks.

Hedley
Sergio
Junior Member
Posts: 1712
Joined: 12 Dec 2006, 14:56

Re: CFS mailscanner Front End - Whitelisting

Post by Sergio »

Yes, you can do it if the email was flagged by SPAMASSASSIN as an spam.
The way to do it is to add a rule to your spamassassin directory with a minus score to what you want to white list

Example:
header MY_WL ALL =~ /\@.*strava.\.com/i
score MY_WL -10
description MY_WL My WhiteList domains
.
Sergio
Post Reply