Hello,
I am trying to clean up header generated when sending email on a Fedora2 test box. Namely there is one reference to localhost and one reference to 127.0.0.1, both of which I'd like to clean up. I am including the following 2 snippets, pertinent portion of sendmail.mc and the headers generated when sending the email using either BSD Mail, or sendmail itself from the command line.
localhost is in transaction 1, 127.0.0.1 is in transaction 2.
I'm thinking this is a no-brainer for someone better with sendmail then I. $50 for first answer that corrects the problem.
FEATURE(always_add_domain)dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
MASQUERADE_AS(`my-site.com')dnl
MASQUERADE_DOMAIN(`davebauer.net.')dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
Return-Path:
Delivered-To: dave@test.com
Received: (qmail 12046 invoked from network); 11 Feb 2007 06:02:14 -0000
Received: from unknown (HELO redhat.home) (76.169.254.159)
by scmd01.serverconcepts.net with (EDH-RSA-DES-CBC3-SHA
encrypted) SMTP; Sun, 11 Feb 2007 00:02:14 -0600
Received: from redhat.home (redhat.home [127.0.0.1])
by redhat.home (8.13.5/8.13.5) with ESMTP id l1B63Qew006441
for ; Sat, 10 Feb 2007 22:03:26 -0800
Received: (from dbauer@localhost)
by redhat.home (8.13.5/8.13.5/Submit) id l1B63PgA006440
for dave@test.com; Sat, 10 Feb 2007 22:03:26 -0800
Date: Sat, 10 Feb 2007 22:03:26 -0800
From: Dave Bauer
Message-Id: <200702110603.l1B63PgA006440@redhat.home>
To: dave@magicmegabytes.com
Subject: Test5
I am trying to clean up header generated when sending email on a Fedora2 test box. Namely there is one reference to localhost and one reference to 127.0.0.1, both of which I'd like to clean up. I am including the following 2 snippets, pertinent portion of sendmail.mc and the headers generated when sending the email using either BSD Mail, or sendmail itself from the command line.
localhost is in transaction 1, 127.0.0.1 is in transaction 2.
I'm thinking this is a no-brainer for someone better with sendmail then I. $50 for first answer that corrects the problem.
FEATURE(always_add_domain)dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
MASQUERADE_AS(`my-site.com')dnl
MASQUERADE_DOMAIN(`davebauer.net.')dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
Return-Path:
Delivered-To: dave@test.com
Received: (qmail 12046 invoked from network); 11 Feb 2007 06:02:14 -0000
Received: from unknown (HELO redhat.home) (76.169.254.159)
by scmd01.serverconcepts.net with (EDH-RSA-DES-CBC3-SHA
encrypted) SMTP; Sun, 11 Feb 2007 00:02:14 -0600
Received: from redhat.home (redhat.home [127.0.0.1])
by redhat.home (8.13.5/8.13.5) with ESMTP id l1B63Qew006441
for ; Sat, 10 Feb 2007 22:03:26 -0800
Received: (from dbauer@localhost)
by redhat.home (8.13.5/8.13.5/Submit) id l1B63PgA006440
for dave@test.com; Sat, 10 Feb 2007 22:03:26 -0800
Date: Sat, 10 Feb 2007 22:03:26 -0800
From: Dave Bauer
Message-Id: <200702110603.l1B63PgA006440@redhat.home>
To: dave@magicmegabytes.com
Subject: Test5