Hi all,

I'm having a difficult time understanding why one of my machines is
showing modified "Return-Path" and "From" headers while another is not.
I'm hoping someone can point me in the right direction.  Here's the
environment:

Two CentOS 4 servers, both running the same version of Postfix (2.2.10).
This was installed via binary RPM so I'm certain the Postfix build is
identical.



My issue is this:  When mail is sent to one of the servers ('cam-d3'),
the "From" header is modified to have "owner-" prefixing the actual
address from which it was sent.  Similarly, "Return-Path" is updated to
include an "owner-" prefix.  This is not happening on the other server
('imps') and I have no idea why.



I don't know what information would be relevant here so here are some
selected data points (taken from root's 'mbox' and live configuration
data).  First, I've attached an example of a message sent to an address
on the machine which adds "owner-".  Here are abbreviated headers
showing the "From" and "Return-Path" changes:

>From owner-dtmtest-...@helpdesk.thinkingphones.com  Wed Feb  4 14:35:04
2009
Return-Path: <owner-dtmtest-...@helpdesk.thinkingphones.com>
X-Original-To: dtmtest-...@helpdesk.thinkingphones.com
Delivered-To: r...@helpdesk.thinkingphones.com

[cut -- see attached "cam-d3.txt" for full headers] 

From: "Damon Miller" <da...@thinkingphones.com>
To: <dtmtest-...@helpdesk.thinkingphones.com>
X-OriginalArrivalTime: 04 Feb 2009 19:35:08.0941 (UTC)
FILETIME=[B04D53D0:01C986FF]
Status: RO

The address is an alias to root and the "owner-" prefix is added
regardless of source address.



Contrast this with a message sent to an address on the other machine:

>From testacco...@gmail.com  Wed Feb  4 09:30:44 2009
Return-Path: <testacco...@gmail.com>
X-Original-To: thinkingphones-supp...@thinkingphonenetworks.com
Delivered-To: r...@thinkingphonenetworks.com

[cut -- see attached "imps.txt" for full headers

From: Damon Miller <testacco...@gmail.com>
To: thinkingphones-supp...@thinkingphonenetworks.com
Content-Type: multipart/alternative;
boundary=0015174bdfd82a282d046218a2f3
Status: RO



I'm quite confused by this.  The "owner-" prefix is similar to a VERP
address, but I can't find any VERP-related configuration settings
enabled on either server.



I also dumped the full configs on both servers via 'postconf' and
diff'ed them.  There are three differences:

1.  alias_maps on the server adding "owner-" contains an additional
MySQL-based alias_maps entry, but since I'm using a hash-based entry for
my test this should not be hit.  (Testing confirms this.)

-alias_maps = hash:/etc/postfix/maps/hash/aliases
+alias_maps = hash:/etc/postfix/maps/hash/aliases,
mysql:/etc/postfix/maps/mysql/mysql-alias-maps.cf


2.  local_recipient_maps is using a hash instead of a MySQL for
local_recipient_maps.  (MySQL isn't installed on one of the hosts.)  The
content is identical between the hash file and the MySQL table.

-local_recipient_maps = proxy:unix:passwd.byname
hash:/etc/postfix/maps/hash/local-recipient-maps
+local_recipient_maps = proxy:unix:passwd.byname
mysql:/etc/postfix/maps/mysql/mysql-local-recipient-maps.cf


3.  'mydomain', 'myhostname', and 'mynetworks' differ since the servers
are listening serving different domains, have different hostnames, and
are on different networks.  These all match the OS-level configuration
data.



Any guidance would be much-appreciated.


Regards,

Damon
From owner-dtmtest-...@helpdesk.thinkingphones.com  Wed Feb  4 00:36:21 2009
Return-Path: <owner-dtmtest-...@helpdesk.thinkingphones.com>
X-Original-To: dtmtest-...@helpdesk.thinkingphones.com
Delivered-To: r...@helpdesk.thinkingphones.com
Received: by cam-d3.sip.thinkingphones.net (Postfix)
    id 90590844042; Wed,  4 Feb 2009 00:36:21 -0500 (EST)
Delivered-To: dtmtest-...@helpdesk.thinkingphones.com
Received: from mail-ew0-f20.google.com (mail-ew0-f20.google.com [209.85.219.20])
    by cam-d3.sip.thinkingphones.net (Postfix) with ESMTP id 5C88D84403C
    for <dtmtest-...@helpdesk.thinkingphones.com>; Wed,  4 Feb 2009 00:35:56 
-0500 (EST)
Received: by ewy13 with SMTP id 13so3164217ewy.16
        for <dtmtest-...@helpdesk.thinkingphones.com>; Tue, 03 Feb 2009 
21:35:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:date:message-id:subject
         :from:to:content-type;
        bh=vvJLbAs/L25vIiWXiYMOVhaWOnh6grEG9dI3eLW4rZc=;
        b=IDIl02/vC0n1msftqeNLvvlisaPqVbbpDMGgVTQhoBAEy34KxRqgAllLqeY11SKvhW
         8hFRp0aBqNMTDCkZmozN8LPycAwhe1fahW69WsHy5pIqX8IuRHtQA39H/ZrOziTbvtx8
         XedC1y8wBW0Sgn3VXiBS4wMxef2/64tG1SQ/s=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:date:message-id:subject:from:to:content-type;
        b=p1XhOWrGEBwS83YXIAi++/jW6eXDx525XQCVFbqcuhuNoYMgGPEgT+S50LiGwm3YhY
         PaJFY4vlGr/xd9CESkThrNtZIFdFYcKW1Y4Lg/OXVIccwjwSWENcQ2d13zP2THLL3WMj
         gCiV42Cia474Of44R1JSlrjjRbUXqJJxuYFV4=
MIME-Version: 1.0
Received: by 10.210.58.17 with SMTP id g17mr6571081eba.149.1233725756192; Tue, 
    03 Feb 2009 21:35:56 -0800 (PST)
Date: Wed, 4 Feb 2009 00:35:56 -0500
Message-ID: <4dc60d940902032135i42f472b5xe590ed1d9faca...@mail.gmail.com>
Subject: test
From: Damon Miller <testacco...@gmail.com>
To: dtmtest-...@helpdesk.thinkingphones.com
Content-Type: multipart/alternative; boundary=0015174c0eca72b7c304621129dc
Status: RO
From testacco...@gmail.com  Wed Feb  4 09:30:44 2009
Return-Path: <testacco...@gmail.com>
X-Original-To: thinkingphones-supp...@thinkingphonenetworks.com
Delivered-To: r...@thinkingphonenetworks.com
Received: from mail-ew0-f20.google.com (mail-ew0-f20.google.com [209.85.219.20])
    by imps.thinkingphones.net (Postfix) with ESMTP id 7EADD170050
    for <thinkingphones-supp...@thinkingphonenetworks.com>; Wed,  4 Feb 2009 
09:30:44 -0500 (EST)
Received: by ewy13 with SMTP id 13so3344964ewy.23
        for <thinkingphones-supp...@thinkingphonenetworks.com>; Wed, 04 Feb 
2009 06:30:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:date:message-id:subject
         :from:to:content-type;
        bh=T0xGVZ0g7lCyphk2wZHw84Txu8C3Snb1lmkDYefd0wE=;
        b=IMCAPE2lxZ0G+ZQ1/si0GGh92GVAviGgJHj06rGBWzTt+S7YnrnzWOZttnE0vVLClJ
         JHalXM2JYEQ/XHW1y58l5bh1rUYpRk8iUeatKD7bxrQ7pzdrHjUUHLboHzMkKP7m7OLK
         mGTyeHVFTsYGqfFAC8vtjAp9G3Wo24sERoVMI=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:date:message-id:subject:from:to:content-type;
        b=d0xLVF56b56E92jn4EAAHORJJ1kFNHlPQVojPvtg6OROdRZWl7gwE9tNryL4va5G0Y
         AAujdPtrFkSdFg/wPiFL4y0MAyTWH7/J3TmecnoYuMb8O8ooHspnVgBpqY8KeG7wikJZ
         ql4vFfiln9t9yO+0eM74K3seFr3dQRucLnMSo=
MIME-Version: 1.0
Received: by 10.210.12.18 with SMTP id 18mr1044690ebl.110.1233757846251; Wed, 
    04 Feb 2009 06:30:46 -0800 (PST)
Date: Wed, 4 Feb 2009 09:30:46 -0500
Message-ID: <4dc60d940902040630j9d79cc0v8a5301a10c995...@mail.gmail.com>
Subject: testing after DNS
From: Damon Miller <testacco...@gmail.com>
To: thinkingphones-supp...@thinkingphonenetworks.com
Content-Type: multipart/alternative; boundary=0015174bdfd82a282d046218a2f3
Status: RO

Reply via email to