Skip to content

Reject invalid email addresses #440

@acheong08

Description

@acheong08

I've been getting a ton of spam lately.

Here's a header:

X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mox-Reason: no-bad-signals; not using any dmarc result;
	address/dkim/spf/ip-based reputation (inconclusive, no address/spf/dkim/ip
	 reputation);
	content: not junk, spamscore 0.00, threshold 0.25 (stricter due to missing
	 tls) (ham words: Subject:database 0.010, accountproceed 0.010,
	 Subject:server 0.010, Subject:mails 0.010, Subject:email 0.010,
	 Subject:hold 0.010, Subject:have 0.010, Subject:been 0.010, From:domain
	 0.010, From:email 0.010), (spam words: generated 0.808, dear 0.641,
	 reserved 0.634, rights 0.612);
	no known reputation and no bad signals;
Delivered-To: acheong@duti.dev
Return-Path: <>
Authentication-Results: mail.duti.dev;
	iprev=pass (without dnssec) policy.iprev=35.252.109.202;
	dkim=none reason="no dkim signatures";
	spf=none;
	dmarc=none
Received-SPF: none (no domain, ehlo is an ip literal and mailfrom is empty)
	client-ip=35.252.109.202; envelope-from="\"\"@10.88.0.3"; helo=10.88.0.3;
	receiver=mail.duti.dev; identity=""
Received: from
	[10.88.0.3] (202.109.252.35.bc.googleusercontent.com [35.252.109.202]) by
	mail.duti.dev ([2.58.53.24]) via tcp with ESMTP id 0WBNuTOgnAHCFv3JX64NJg
	for <acheong@duti.dev>; 22 May 2026 11:27:16 +0000
Content-Type: multipart/related; boundary="===============3702814871923690882=="
MIME-Version: 1.0
From: "(domain)" <(email)(domain)>
To: acheong@duti.dev
Subject: =?utf-8?q?mails_have_been_put_on_hold_in_the_email_server_database=2E?=
X-Priority: 2

The From address is not valid, and therefore SPF and DKIM are bypassed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions