( Proci85 | 2019. 06. 05., sze – 13:14 )

Belefutottam egy új hibába:


Received: from out.mail.ec.europa.eu (out.mail.ec.europa.eu [147.67.249.5])
    (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))
    (No client certificate requested)
    by mail.xxx.xx (Postfix) with ESMTPS id 0D90B1200FE
    for <xxx@xxxx.xxx>; Mon,  3 Jun 2019 07:15:22 +0200 (CEST)
Received: from S-DC-EMP020-I.net1.cec.eu.int (158.166.6.142) by
 S-DC-EDG009-Q.rcnet.cec.eu.int (147.67.249.5) with Microsoft SMTP Server
 (TLS) id 14.3.439.0; Mon, 3 Jun 2019 07:15:21 +0200
Received: from opvmwsehtx4.publications.win (158.167.96.63) by
 SMTPMAIL.cec.eu.int (158.166.6.142) with Microsoft SMTP Server (TLS) id
 14.3.439.0; Mon, 3 Jun 2019 07:15:21 +0200
Received: from tedmonitor-pk.opoce.cec.eu.int (158.167.99.97) by
 opvmwsehtx4.publications.win (158.167.96.63) with Microsoft SMTP Server id
 14.3.439.0; Mon, 3 Jun 2019 07:15:21 +0200 

A spamassassin kommentje a fejlécben:


X-Spam-Status: Yes, score=5.1 required=5.0 tests=HTML_FONT_LOW_CONTRAST,
    HTML_MESSAGE,MIME_HTML_ONLY,SPF_FAIL,SPF_HELO_NONE,UNPARSEABLE_RELAY,
    URIBL_BLOCKED autolearn=disabled version=3.4.2
X-Spam-Report: *  0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
    *      blocked.  See
    *      http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
    *      for more information.
    *      [URIs: europa.eu]
    *  3.0 SPF_FAIL SPF: sender does not match SPF record (fail)
    *      [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=no_reply%40publications.europa.eu;ip=158.166.6.142;r=xxxx.hu]
    *  0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
    *  0.5 HTML_FONT_LOW_CONTRAST BODY: HTML font color similar or
    *      identical to background
    *  1.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
    *  0.5 HTML_MESSAGE BODY: HTML included in message
    *  0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay
    *      lines
X-Spam-Level: ***** 

A 158.166.6.142 IP-be köt bele. Az nem a legelső és nem a legutolsó szerver.

A domain txt rekordjai:


$ host -t TXT publications.europa.eu
publications.europa.eu descriptive text "v=spf1 include:_spf.tech.ec.europa.eu -all"

$ host -t TXT _spf.tech.ec.europa.eu
_spf.tech.ec.europa.eu descriptive text "v=spf1 ip4:147.67.11.0/28 ip4:147.67.249.0/28 include:spf-00244802.pphosted.com -all"

$ host -t TXT spf-00244802.pphosted.com
spf-00244802.pphosted.com descriptive text "v=spf1 ip4:185.132.180.112 ip4:185.183.28.74"

A legutolsó szerver, ami elhagyta a netet és bedobta hozzám a levelet a 147.67.249.5, amit engedélyez az első SPF bejegyzés.
A 158.166.6.142 -t nem találom sehol, de a 158.167.99.97 -t sem, ami az első. Miért az utánakövetkezőbe kötött csak bele?

A levél közbenső útja érdekes SPF szempontjából? Mi van, ha belső IP-kel kommunikál (spamszűrő, vírusirtő, egyéb blackboxos megoldás) és végül egy külső MTA. Nem a külső MTA a mérvadó SPF szempontjából?

Nem értem egy ideje a SpamAssassin működését ezen a téren.