spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al B <albtr...@hotmail.com>
Subject RE: Ignore forwarding headers from specific sender
Date Thu, 30 Jul 2015 23:37:22 GMT
It appears that Hotmail does include the Resent-From header, see below.  I think I've gotten
around the issue by creating a python script to strip the forwarding headers, before sending
the email to Spamassassin.

Delivered-To: myaccount@gmail.com
Received: by 10.76.62.4 with SMTP id u4csp713921oar; Thu, 30 Jul 2015 11:24:17
 -0700 (PDT)
X-Received: by 10.66.222.161 with SMTP id qn1mr111009366pac.66.1438280657527;
 Thu, 30 Jul 2015 11:24:17 -0700 (PDT)
Return-Path: <myaccount@hotmail.com>
Received: from COL004-OMC4S16.hotmail.com (col004-omc4s16.hotmail.com.
 [65.55.34.218]) by mx.google.com with ESMTPS id
 ok5si4006717pdb.157.2015.07.30.11.24.17 for <myaccount@gmail.com>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Jul 2015
 11:24:17 -0700 (PDT)
Received-SPF: pass (google.com: domain of myaccount@hotmail.com designates
 65.55.34.218 as permitted sender) client-ip=65.55.34.218;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
 myaccount@hotmail.com designates 65.55.34.218 as permitted sender)
 smtp.mail=myaccount@hotmail.com; dmarc=pass (p=NONE dis=NONE)
 header.from=hotmail.com
Received: from COL004-MC3F33.hotmail.com ([65.55.34.199]) by
 COL004-OMC4S16.hotmail.com over TLS secured channel with Microsoft
 SMTPSVC(7.5.7601.23008); Thu, 30 Jul 2015 11:21:55 -0700
Resent-Message-ID: <COL004-MC3F33F2189C5CC400F50951E5C98B0@phx.gbl>
Resent-To: myaccount@gmail.com
Resent-Date: Thu, 30 Jul 2015 11:21:55 -0700
Resent-From: myaccount@hotmail.com
X-HM-Routing-Path: +tYAoiJsCIZZ+5v4HRyIibLIG7ufv4KPyAQNAnIf34/uop6v2JKIAU5O09+6m5C1q04HwYX26tsK7oE6J82ofaue6IycEJm0994KgOCqqg3M+s7+G4+eG11m9nPUmd2BIpp1RNtTW0n4bZeN+lMudft9uWiOpe4snBAWz438JUKMr9zvIodFWE/LjRZPJUvL9la5i7Ny3v4=

> Date: Thu, 30 Jul 2015 20:28:58 +0100
> From: rwmaillists@googlemail.com
> To: users@spamassassin.apache.org
> Subject: Re: Ignore forwarding headers from specific sender
> 
> On Thu, 30 Jul 2015 13:21:35 -0500
> Al B wrote:
> 
> > I have 2 accounts:
> > myaccount@gmail.commyaccount@hotmail.com
> > I've been using Spamassassin with both accounts and all has been
> > well. Recently I decided to have Hotmail forward email to my Gmail
> > account, so that I only have to check one account. Is there anyway
> > to tell Spamassassin to ignore any headers added by
> > myaccount@hotmail.com? blacklist_from spam@spam.com An email I
> > receive from spam@spam.com using the Hotmail account is correctly
> > identified as being from a blacklisted sender. However, the same
> > email after being forwarded to Gmail is seen as coming from
> > myaccount@hotmail.com and is not blacklisted. Is there anyway around
> > this?
> 
> Not if there is a Resent-From header. However, that heady is usually
> only added on manual forwarding, not when mail is being redirected
> automatically.
> 
> 
> 
 		 	   		  
Mime
View raw message