Score:0

postfix : how to check the "from" server ip match server domain for all hops

se flag

I recieve spam emails where the sender server ip does not match the named domain like this examples:

Return-Path: <l.coupin@dtfibre.fr>
[...]
From: "Sparkasse informiert" <l.coupin@dtfibre.fr>
[...]
Received: from amdir.dtfibre.fr (amdir.dtfibre.fr [199.101.190.36])
    by my.example.com (my.example.com) with ESMTPS id 1DDEC74013E
    for <me@example.com>; Wed,  3 Nov 2021 07:16:12 +0100 (CET)
Received: from [127.0.0.1] (unknown [178.159.123.178])
    by amdir.dtfibre.fr (Postfix) with ESMTPSA id 7E85B87E6F
    for <me@example.com>; Wed,  3 Nov 2021 00:36:49 -0400 (AST)

the problem is that the host of 178.159.123.178 is not "unknown", it is "pool.sevtele.com"

what settings can I make to postfix to reject/drop such emails?

anx avatar
fr flag
anx
Do you realize the same IP/name pair can have matched for someone else, while it does not (now, or ever) match for you? Both internal and short-lived names are mentioned in trace headers.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.