
fmartin at linkedin
Jul 31, 2013, 2:56 PM
Post #14 of 22
(135 views)
Permalink
|
On Jul 31, 2013, at 11:19 PM, RGB Camera <zauschneria [at] gmail<mailto:zauschneria [at] gmail>> wrote: On Wed, Jul 31, 2013 at 2:06 PM, Franck Martin <fmartin [at] linkedin<mailto:fmartin [at] linkedin>> wrote: On Jul 31, 2013, at 10:08 PM, Kevin Miller <Kevin_Miller [at] ci<mailto:Kevin_Miller [at] ci>> wrote: > Problem is, the from adddress is often a "Joe job" - i.e., a forged address, so the domain mentioned there likely doesn't have anything to do with the actual source of the mail. It seems to me that if the domain isn't the actual source of he spam, it can be detrimental to be filtering on it, particularly if Bayes is learning from it or your MTA auto-reports it to RBLs. > Why would they use a forged domain which is on a blacklist? Indeed, if someone uses a forged domain which is on a blacklist in the header of their mail, we want to block that email too. Some smart B2B spammers know about this loophole in SpamAssassin and don't use their domain name in the message body, using it only in the header where the URI checks aren't done. Let me give some background... I'm part of the people that adopted DMARC (cf www.dmarc.org<http://www.dmarc.org>) this provide protection for the domains that are heavily spoofed. Why I'm not keen in reproducing the DMARC checks in spamassassin, because it is better handled via a milter like opendmarc (because of reporting capabilities which is important), I would not make a fuss if I see something like DMARC in spamassassin. During the development of DMARC, we realized that there are a few holes to plug for it to be more effective, as well as realizing, in general, domain reputation will become more and more important. One of this rule, is to check how the From: header is formed cf http://tools.ietf.org/html/draft-ietf-appsawg-malformed-mail-07 and rate negatively when some headers are malformed The other is to extract all the domains from the following fields: envelope from, from: sender, reply-to and helo/ehlo, and check them against DNSBL There may be other rules, but this is what comes to mind, last one is suggested on spamhaus FAQ but does not seem to have made it in spamassassin. While at the moment DMARC is for domains heavily spoofed, the above rules should benefit everyone
|