We use Postfix on our gateways that only transport to destination
servers, they do not have any local users except for standard
system/root/admin accounts. How can I get Postfix to not allow senders
to use the hostname in their email address. Would it work and is it safe
to add such a REJECT to a sender_check hash file or another way to
prevent? This example below shows the sender using multiple addresses
including two of three with the hostname. When the end user receives the
mail, it shows from ene...@mx2.webtent.net....
Return-Path: <jaylencha...@mx-rtr01.darcedynamicenergy.com>
Received: from mx2.webtent.net (mx2.webtent.net [216.139.202.4])
by vps.example.com (8.14.4/8.14.4) with ESMTP id sBAHWD0n016442
for <sa...@example.com>; Wed, 10 Dec 2014 12:32:13 -0500
Received: from localhost (localhost [127.0.0.1])
by mx2.webtent.net (ESMTP Postfix Internet Mail Exchange) with ESMTP id
AFA50D7AFD
for <sa...@example.com>; Wed, 10 Dec 2014 12:32:12 -0500 (EST)
Received: from mx2.webtent.net ([127.0.0.1])
by localhost (mx2.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP
id 26200-09 for <sa...@example.com>;
Wed, 10 Dec 2014 12:32:10 -0500 (EST)
Received: from mx-rtr01.darcedynamicenergy.com
(mx-rtr01.darcedynamicenergy.com [104.243.25.21])
by mx2.webtent.net (ESMTP Postfix Internet Mail Exchange) with ESMTP id
76F59D7B4E
for <sa...@example.com>; Wed, 10 Dec 2014 12:32:07 -0500 (EST)
Date: Wed, 10 Dec 2014 09:32:07 -0800
Subject: Customized for residential use
From: ene...@mx2.webtent.net,
"au...@mx2.webtent.net":Home Efficiency <cha...@darcedynamicenergy.com>
Reply-to: ene...@mx2.webtent.net,
"au...@mx2.webtent.net":Home Efficiency <cha...@darcedynamicenergy.com>
Message-ID:
<nzub9vqf.m2.20141210093440749.21021455140875qztojngcvigp...@mx-rtr01.darcedynamicenergy.com>
To: <sa...@example.com>
X-RCPT-To: <sa...@example.com>
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
-- Thanks, Robert