João Dias

Active Member
Oct 23, 2018
I received this type of spoofing how can I create rules to not pass? I have Dkim and active SPF...

The header...

Return-Path: <d.huebenthal@itex.de>
Received: from mail-01.my-domain.com (LHLO mail-01.my-domain.com)
( by mail-01.my-domain.com with LMTP; Sun, 6 Aug 2023 04:46:48
+0100 (WEST)
Received: from localhost (localhost [])
by mail-01.my-domain.com (Postfix) with ESMTP id 537A3200E72E3
for <user.u.name@my-domain.com>; Sun, 6 Aug 2023 04:46:48 +0100 (WEST)
X-Virus-Scanned: amavisd-new at my-domain.com
X-Spam-Flag: NO
X-Spam-Score: 3.991
X-Spam-Level: ***
X-Spam-Status: No, score=3.991 required=6.6 tests=[BAYES_50=0.8,
autolearn=no autolearn_force=no
Received: from mail-01.my-domain.com ([])
by localhost (mail-01.my-domain.com []) (amavisd-new, port 10024)
with ESMTP id 3RlJNAYwMTOv for <user.u.name@my-domain.com>;
Sun, 6 Aug 2023 04:46:47 +0100 (WEST)
Received: from mail.my-domain.com (unknown [])
by mail-01.my-domain.com (Postfix) with ESMTPS id DA04F200DCB67
for <user.u.name@my-domain.com>; Sun, 6 Aug 2023 04:46:47 +0100 (WEST)
Received: from mail.my-domain.com (localhost [])
by mail.my-domain.com (Proxmox) with ESMTP id 679BF100131
for <user.u.name@my-domain.com>; Sun, 6 Aug 2023 04:46:47 +0100 (WEST)
Received-SPF: pass (itex.de: is authorized to use 'd.huebenthal@itex.de' in 'mfrom' identity (mechanism 'a' matched)) receiver=mail.my-domain.com; identity=mailfrom; envelope-from="d.huebenthal@itex.de"; helo=sh20212.ispgateway.de; client-ip=
Received: from sh20212.ispgateway.de (sh20212.ispgateway.de [])
by mail.my-domain.com (Proxmox) with ESMTPS id 67EAA1000F0
for <user.u.name@my-domain.com>; Sun, 6 Aug 2023 04:46:45 +0100 (WEST)
Received: from sh20212.ispgateway.de (php73.df_default [IPv6:fd00:dead:beef::a])
by sh20212.ispgateway.de (Postfix) with ESMTPS id 1AE79D06D2D0
for <user.u.name@my-domain.com>; Sun, 6 Aug 2023 04:56:39 +0200 (CEST)
Received: (from 503535@localhost)
by sh20212.ispgateway.de (8.15.2/8.15.2/Submit) id 3762udod1540140;
Sun, 6 Aug 2023 04:56:39 +0200
Date: Sun, 6 Aug 2023 04:56:39 +0200
Message-Id: <202308060256.3762udod1540140@sh20212.ispgateway.de>
X-Authentication-Warning: sh20212.ispgateway.de: 503535 set sender to d.huebenthal@itex.de using -f
To: user.u.name@my-domain.com
Subject: =?UTF-8?B?TsOjbyBwZW5zZSBxdWUgdm9jw6ogw6kgaW50ZWxpZ2VudGU=?=
X-PHP-Originating-Script: 503535:mails.php
From: =?UTF-8?B??= <user.u.name@my-domain.com>
MIME-Version: 1.0;
Content-type: multipart/mixed; boundary="--XXTEEmuIaR"
Last edited:
a) the mail has a score of 3.9 - you could consider putting mails with a score of 3 into quarantine
b) the sending IP is listed in a few DNSBLs - check if one of them might work for your use-case
c) read-up on DMARC - as it's the piece that requires mails from your domain (also in the header-to - as here the envelope address is d.huebenthal@itex.de) to have a dkim signature

I hope this helps!


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!