Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 86D5C200C45 for ; Tue, 28 Mar 2017 20:27:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 856AD160B89; Tue, 28 Mar 2017 18:27:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CBF74160B6B for ; Tue, 28 Mar 2017 20:27:55 +0200 (CEST) Received: (qmail 42782 invoked by uid 500); 28 Mar 2017 18:27:53 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 42771 invoked by uid 99); 28 Mar 2017 18:27:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2017 18:27:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 558641A00BB for ; Tue, 28 Mar 2017 18:27:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.498 X-Spam-Level: * X-Spam-Status: No, score=1.498 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id saaUGzH3nDVW for ; Tue, 28 Mar 2017 18:27:50 +0000 (UTC) Received: from ga.impsec.org (unknown [207.210.83.140]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 80EF25F253 for ; Tue, 28 Mar 2017 18:27:49 +0000 (UTC) Received: from athena.impsec.org (localhost [127.0.0.1]) by ga.impsec.org (8.13.7/8.13.7) with ESMTP id v2SIRaB3001967 for ; Tue, 28 Mar 2017 11:27:37 -0700 Received: from athena.impsec.org (tunnel.impsec.org [127.0.0.1]) by athena.impsec.org (8.14.9/8.14.9) with ESMTP id v2SIRaqW032519 for ; Tue, 28 Mar 2017 11:27:36 -0700 Received: from localhost (jhardin@localhost) by athena.impsec.org (8.14.9/8.14.9/Submit) with ESMTP id v2SIRaf8032513 for ; Tue, 28 Mar 2017 11:27:36 -0700 X-Authentication-Warning: athena.impsec.org: jhardin owned process doing -bs Date: Tue, 28 Mar 2017 11:27:36 -0700 (PDT) From: John Hardin To: users@spamassassin.apache.org Subject: Re: Matching To and Received addresses In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed archived-at: Tue, 28 Mar 2017 18:27:56 -0000 On Tue, 28 Mar 2017, Dominic Benson wrote: >> On 28 Mar 2017, at 19:04, Markus wrote: >> >> So you can't compare the "for " with "To: dorothy@example.com". You can do that with a Header ALL rule; it will work more reliably as a local rule because you know how your local MTA is annotating the envelope recipient address in the headers, where a rule provided as part of the base set would be hit-or-miss and hugely complex and would better be done in a plugin. >> How likely is it to be in legitimate mail? Highly unlikely (if ever), >> so you'd be pretty safe outright rejecting mail that behaves this way, >> to be honest. > > On the face of it I would have thought that CC and BCC both seem like quite commonplace ways for this to come up in ham. Indeed. Markus must not get much email. If you do develop such a rule for metas, be very careful how you use it. -- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- Ignorance is no excuse for a law. ----------------------------------------------------------------------- 4 days until April Fools' day