Implement smarter authservid algorithm

This commit is contained in:
Hocuri
2022-12-12 19:16:52 +01:00
parent f37e50cc71
commit 2abfe3621f
8 changed files with 178 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
Authentication-Results: mail.buzon.uy;
dkim=pass (2048-bit key; secure) header.d=buzon.uy header.i=@buzon.uy header.b="AyOucyBM";
dkim-atps=neutral
From: <bob@buzon.uy>
To: <alice@buzon.uy>
This is actually not a realworld message, but a handwritten one. It is needed for test_realworld_authentication_results() to pass for buzon.
Unfortunately, we don't know if buzon.uy actually adds Authentication-Results for emails that come from other buzon.uy accounts. So, we don't know if Authentication-Results checking works with buzon.uy.

View File

@@ -0,0 +1,2 @@
From: bob <bob@disroot.org>
To: alice@disroot.org

View File

@@ -0,0 +1,10 @@
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=UpITNcvK;
spf=pass (google.com: domain of bob@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=bob@gmail.com;
dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Authentication-Results: mx.google.com;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=UpITNcvK;
spf=pass (google.com: domain of bob@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=bob@gmail.com;
dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
From: Bob <bob@gmail.com>
To: "alice@gmail.com" <alice@gmail.com>

View File

@@ -0,0 +1,2 @@
From: bob@mailo.com
To: alice@mailo.com

View File

@@ -0,0 +1,2 @@
From: bob@riseup.net
To: alice@riseup.net