🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.mail.mta
Article #62926

SPF do Lemata jeszcze raz :-)

#62926
From: KIKI
Date: Mon, 23 Nov 2020 00:08
91 lines
5130 bytes
Cześć Lemat i inni co się na Postfixie znają :-)

Zgodnie z z zaleceniami Lemata sprawdzam niektóre typy
błędów SPF poprzez header_checks w postfixie

/^Authentication-Results: OpenDMARC; spf=fail/ REJECT SPF FAIL
/^Received-SPF: None/                          REJECT SPF NONE

I te dwa działały, OpenDMARC to moja nazwa w tej zmiennej co mi
podałeś AuthservID OpenDMARC i tam sobie tak nazwałem.

Ale myślałem, że Permerros sam się odrzuci ale teraz dopisałem to:
/^Received-SPF: Permerror/                     REJECT SPF PERMERROR

No bo przyszedł ciekawy mail.....przebił się.
Jak to się stało, że się przebił przy permerrorze i do tego
od siebie do siebie wystłany przez spamera
i prawdopodobnie zrobił CC do ofiary

Trochę tego postfix-policyd-spf-python nie ogarniam. On jest niedorobiony.

debugLevel = 1
TestOnly = 0

HELO_reject      = SPF_Not_Pass  # Fail
Mail_From_reject = SPF_Not_Pass  # Fail
PermError_reject = True          # False
TempError_Defer  = False

skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
--------
To coś: helo=wojciech.gsd.gda.pl
to jest zakon, coś religijnego, widocznie się tam włamali czy
jaki jest powód?

Co myślicie towarzysze? Jak się przed tym bronić?
=====================================================================

>From - Mon Nov 23 00:32:39 2020
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Return-Path: <infoz@piekary.pl>
X-Original-To: biuro@OFIARA.com.pl
Delivered-To: biuro@OFIARA.com.pl
Received: by mx.OFIARA.com.pl (Postfix, from userid 115)
	id 6EEED5E0CA8; Sun, 22 Nov 2020 10:47:24 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.OFIARA.com.pl
X-Spam-Status: Yes, score=6.3 required=5.0 autolearn=no autolearn_force=no
X-Spam-Level: ******
X-Spam-Rbl: <dns:65.101.19.153.bl-h4.rbl.polspam.pl> [127.0.2.4]
	<dns:65.101.19.153.bl-h1.rbl.polspam.pl> [127.0.2.1]
	<dns:65.101.19.153.bl.score.senderscore.com> [127.0.0.2]
	<dns:169.217.0.149.zen.spamhaus.org> [127.0.0.11]
X-Spam-Report: 
	*  0.0 T_SPF_PERMERROR SPF: test of record failed (permerror)
	*  0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
	*  0.0 HTML_MESSAGE BODY: HTML included in message
	*  1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL,
	*      https://senderscore.org/blacklistlookup/
	*      [153.19.101.65 listed in bl.score.senderscore.com]
	*  3.9 BL_1_POLSPAM_PL RBL: Listed on bl-h1.rbl.polspam.pl
	*      [153.19.101.65 listed in bl-h1.rbl.polspam.pl]
	*  0.9 BL_4_POLSPAM_PL RBL: Listed on bl-h4.rbl.polspam.pl
	*      [153.19.101.65 listed in bl-h4.rbl.polspam.pl]
	*  0.1 MISSING_MID Missing Message-Id: header
X-Spam-Relay-Country: _RELAYCOUNTRY_
Received-SPF: Permerror (mailfrom) identity=mailfrom; client-ip=153.19.101.65; helo=wojciech.gsd.gda.pl; envelope-from=infoz@piekary.pl; receiver=<UNKNOWN> 
Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=piekary.pl
Received: from wojciech.gsd.gda.pl (wojciech.gsd.gda.pl [153.19.101.65])
	by mx.OFIARA.com.pl (Postfix) with ESMTP id 3D6805E031F
	for <biuro@OFIARA.auto.pl>; Sun, 22 Nov 2020 10:47:17 +0100 (CET)
Received: from [192.168.1.37] (unknown [149.0.217.169])
	by wojciech.gsd.gda.pl (Postfix) with ESMTPA id 61EF8C121514B;
	Sun, 22 Nov 2020 10:05:08 +0100 (CET)
Content-Type: multipart/alternative; boundary="===============1581443786=="
MIME-Version: 1.0
Subject: [***** SPAM 6.3 *****] Investments Funding Proposal
To: Recipients <infoz@piekary.pl>
From: info  <infoz@piekary.pl>
Date: Sun, 22 Nov 2020 10:05:05 +0100
Reply-To: office_funding@flowellinvestments.com
X-Spam-Prev-Subject: Investments Funding Proposal
Message-Id: <iddddddddddddddddddddddddddddd@mx.OFIARA.com.pl>

You will not see this in a MIME-aware mail reader.
--===============1581443786==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Description: Mail message body
Technical Details
Message-ID: <5fbafd74$0$523$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Newsgroups: pl.comp.mail.mta
X-Mozilla-News-Host: news://news.tpnet.pl:119
From: KIKI <yeir@pemfuh.uu>
Subject: SPF do Lemata jeszcze raz :-)
Date: Mon, 23 Nov 2020 01:08:19 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0
MIME-Version: 1.0
Lines: 91
Message-ID: <5fbafd74$0$523$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 91.232.50.130
X-Trace: 1606090100 unt-rea-b-01.news.neostrada.pl 523 91.232.50.130:65422
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 4889
X-Received-Body-CRC: 464703974
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit