OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Marc G. Fournier (scrappy_at_hub.org)
Date: Mon Sep 02 2002 - 14:42:04 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Mon, 2 Sep 2002, Wietse Venema wrote:

    > This is the deliver of a queue file named 8A245329B6D:
    >
    > > Sep 2 18:22:08 pluto postfix/smtpd[27971]: connect from earth.hub.org[64.49.215.11]
    > > Sep 2 18:22:08 pluto postfix/smtpd[27971]: 8A245329B6D: client=earth.hub.org[64.49.215.11]
    > > Sep 2 18:22:08 pluto postfix/cleanup[27972]: 8A245329B6D: message-id=<20020902152203.B2186-100000hub.org>
    > > Sep 2 18:22:08 pluto postfix/qmgr[27941]: 8A245329B6D: from=<scrappyhub.org>, size=603, nrcpt=1 (queue active)
    > > Sep 2 18:22:08 pluto postfix/smtpd[27971]: disconnect from earth.hub.org[64.49.215.11]
    > > Sep 2 18:22:09 pluto postfix/lmtp[27975]: 8A245329B6D: to=<adminpluto.hub.org>, relay=/var/run/socket/lmtp[/var/run/socket/lmtp], delay=1, status=sent (250 2.1.5 Ok)
    >
    > This is an email that is FORWARDED from one Postfix machine to another.
    > That is, it is processed TWICE by different mail systems.
    >
    > How can you be so sure that the address rewriting problem is on
    > the receiving host? Looking at the "for" address, it appears that
    > the unwanted address substitution is done on an intermediate machine.

    Okay, then why is the first machine re-writing it? The only thing I can
    think of is that it has something to do with moon being a CNAME for pluto:

    earth> nslookup moon.hub.org
    Server: jupiter.hub.org
    Address: 64.49.215.5

    Name: pluto.hub.org
    Address: 64.49.215.234
    Aliases: moon.hub.org

    earth> nslookup pluto.hub.org
    Server: jupiter.hub.org
    Address: 64.49.215.5

    Name: pluto.hub.org
    Address: 64.49.215.234

    but I haven't modified the mail system on earth at all ... but, with that
    theory in mind, I just sent a test email to the same account from one of
    my sendmail machines, and it gets delivered properly:

    ==============
    Return-Path: <marcacadiau.ca>
    Received: from pluto.hub.org ([unix socket])
            by pluto.hub.org (Cyrus v2.2.prealpha) with LMTP; Mon, 02 Sep 2002 19:39:36 +0000
    X-Sieve: CMU Sieve 2.2
    Received: from garlic.acadiau.ca (garlic.acadiau.ca [131.162.138.193])
            by pluto.hub.org (Postfix) with ESMTP id 18B8D329AA8
            for <scrappymoon.hub.org>; Mon, 2 Sep 2002 19:39:33 +0000 (GMT)
    Received: from atelier.acadiau.ca (atelier.acadiau.ca [131.162.138.223])
            by garlic.acadiau.ca (8.12.5/8.12.5) with ESMTP id g82JdV4K086537
            for <scrappymoon.hub.org>; Mon, 2 Sep 2002 16:39:31 -0300 (ADT)
            (envelope-from marcacadiau.ca)
    Date: Mon, 2 Sep 2002 16:40:25 -0300 (ADT)
    From: "Marc G. Fournier" <marc.fournieracadiau.ca>
    To: scrappymoon.hub.org
    Subject: testing ...
    Message-ID: <20020902164015.P11515-100000atelier.acadiau.ca>
    MIME-Version: 1.0
    Content-Type: TEXT/PLAIN; charset=US-ASCII
    X-Virus-Scanned: by amavisd-milter (http://amavis.org/)

    Marc G. Fournier marc.fournieracadiau.ca
    Senior Systems Administrator Acadia University

      "These are my opinions, which are not necessarily shared by my employer"
    =====================

    So, what should I be looking at one earth's postfix install that would be doing the translation?

    >
    > Wietse
    >
    > > Return-Path: <scrappyhub.org>
    > > Received: from pluto.hub.org ([unix socket])
    > > by pluto.hub.org (Cyrus v2.2.prealpha) with LMTP; Mon, 02 Sep 2002 18:22:08 +0000
    > > X-Sieve: CMU Sieve 2.2
    > > Received: from earth.hub.org (earth.hub.org [64.49.215.11])
    > > by pluto.hub.org (Postfix) with ESMTP id 8A245329B6D
    > > for <scrappypluto.hub.org>; Mon, 2 Sep 2002 18:22:08 +0000 (GMT)
    > > Received: from earth.hub.org (earth.hub.org [64.49.215.11])
    > > by earth.hub.org (Postfix) with ESMTP id 1FCE72CC7F8
    > > for <scrappymoon.hub.org>; Mon, 2 Sep 2002 15:22:08 -0300 (ADT)
    > > Date: Mon, 2 Sep 2002 15:22:08 -0300 (ADT)
    > > From: "Marc G. Fournier" <scrappyhub.org>
    > > To: scrappymoon.hub.org
    > > Message-ID: <20020902152203.B2186-100000hub.org>
    > > MIME-Version: 1.0
    > > Content-Type: TEXT/PLAIN; charset=US-ASCII
    > >
    > >
    > > From the one received line, it looks like postfix on pluto.hub.org is
    > > re-writing the 'for' part?
    > >
    > > Is there a setting here that I've mis-configured?
    > >
    > > -
    > > To unsubscribe, send mail to majordomopostfix.org with content
    > > (not subject): unsubscribe postfix-users
    > >
    > >
    >
    >

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users