Sorry for taking so long.  Here's the raw email file.

Return-Path: <kennedydhcp...@chapman.edu>
X-Original-To: maus...@chapman.edu
Delivered-To: maus...@chapman.edu
Received: from duncan-kennedydhcp146.chapman.edu (law254.chapman.edu
[206.211.146.254])
        by edric.chapman.edu (Postfix) with ESMTP id 8744D568F4
        for <maus...@chapman.edu>; Wed, 20 May 2009 16:00:00 -0700 (PDT)
Received: by duncan-kennedydhcp146.chapman.edu (Postfix, from userid 0)
        id F02A21CF900; Wed, 20 May 2009 16:00:00 -0700 (PDT)
To: maus...@chapman.edu
Subject: Alert duncan-kennedydhcp146.chapman.edu updates available!
Message-Id: <20090520230000.f02a21cf...@duncan-kennedydhcp146.chapman.edu>
Date: Wed, 20 May 2009 16:00:00 -0700 (PDT)
From: kennedydhcp...@chapman.edu (root)
X-Chapman-MailScanner-Information: Please contact the ISP for more
information
X-Chapman-MailScanner: Found to be clean
X-Chapman-MailScanner-SpamCheck: 
X-Chapman-MailScanner-From: kennedydhcp...@chapman.edu
X-Spam-Status: No

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * rpmforge: ftp-stud.fht-esslingen.de
 * base: repos.lax-noc.com
 * updates: mirrors.cat.pdx.edu
 * addons: ftp.osuosl.org
 * extras: repos.lax-noc.com

acpid.i386                               1.0.4-7.el5_3.1        updates

ntp.i386                                 4.2.2p1-9.el5.centos.2 updates


____________________________
Matt Ausmus
Network Administrator
Chapman University
635 West Palm Street
Orange, CA  92868
(714)628-2738
maus...@chapman.edu 
 
"You can lead a horse to water, but if you can get him to float on his back,
you've got something."
-HARTLEY'S FIRST LAW

-----Original Message-----
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema
Sent: Wednesday, May 27, 2009 6:00 PM
To: Postfix users
Subject: Re: Sender address rewrite

Ausmus, Matt:
> Hello all,
>
> This is my first post.
>
> I'm using postfix 2.3.3 on some Centos 5.x boxes strictly to send mail
> for alerting purposes.  I've got relaying setup to go to our main smtp
> server which is running FreeBSD 6.x and postfix.  What I'm trying to do
> is for the outgoing messages to show the hostn...@chapman.edu so I can
> look at the incoming message and know what box the alert is coming from.
> The scripts I'm using are utilizing mailx to send the messages.
>
> I setup sender_canonical and the address rewriting is working properly.
> The problem that I'm having is that the mail is displayed in my mail
> client as just root.  When I open the message it shows:
>
> Root [hostn...@chapman.edu] or "root" <hostn...@chapman.edu>
>
> Depending on the client.  I checked the header of the message and it
> shows (this is an excerpt:  From: kennedydhcp...@chapman.edu (root)).
> What I want to do is get rid of "Root[...]" and just have the rewritten
> email address displayed in the mailbox list.
>
> How can I accomplish this?

You need to show what is in the email file itself, not what
the mail client is showing you.

        Wietse

Reply via email to