Blacklisting on headers

Need help? Ask here.

Moderator: Moderators

Post Reply
Chiny
Posts: 4
Joined: Tue Jan 24, 2017 2:47 am

Blacklisting on headers

Post by Chiny »

Generally useful but getting urgent with MailChimp's recent change of opt-in policy, would be the ability to blacklist on headers. Immediately I'd blacklist anything with [X-header contains MailChimp] although some/most would need a whitelist for their genuine sign-up to MailChimp stuff.

Unless there is already a way...
Seth
Site Admin
Posts: 309
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: Blacklisting on headers

Post by Seth »

Not a blacklist exactly, but what we can do is create a custom rule for SpamAssassin and then a score can be added for that.

(I apologize for the late response, we're supposed to get email notices when there's a new post.)
Seth Mattinen, Roller Network LLC
Seth
Site Admin
Posts: 309
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: Blacklisting on headers

Post by Seth »

If you have some header samples readily available can you share them? I can dig through my email as well, but I don't have anything I know was from MailChimp off the top of my head.
Seth Mattinen, Roller Network LLC
Chiny
Posts: 4
Joined: Tue Jan 24, 2017 2:47 am

Re: Blacklisting on headers

Post by Chiny »

No MailChimp spam at the moment. How about ccsend ? Another lot plaguing my Inbox at present. Perhaps I should be able to zap on X-CMAE headers (Cloudmark ?). Lots of potential X-headers to use.

I would have thought I could blacklist on sender:
Sender: Vendes <newsletter@vendes.ccsend.com>
but blacklisting ccsend.com fails.

X-CMAE-Score: 100
X-CMAE-Verdict: spam
X-Envelope-From: zapped@in.constantcontact.com
X-Feedback-ID:message-id:from:reply-to:list-unsubscribe:list-unsubscribe-post:sender:to; zapped
X-Campaign-Activity-ID: zapped
X-Channel-ID:zapped
X-Mailer: Roving Constant Contact 2012 (http://www.constantcontact.com)
X-Return-Path-Hint: zapped==@in.constantcontact.com
X-Roving-Campaignid: zapped
X-Roving-Id: zapped
X-Feedback-ID: zapped
X-CTCT-ID: zapped
Seth
Site Admin
Posts: 309
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: Blacklisting on headers

Post by Seth »

X-CMAE is already supported in SpamAssassin as the "CMAE_1" test. You can add a custom score for it at https://acc.rollernet.us/mail/filter/spamassassin.php
Seth Mattinen, Roller Network LLC
Post Reply