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 - 13:27:29 CDT

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

    Morning all ..

            I just setup a new server, using postfix+virtual (sendmail-style)
    ... I have two files setup:

            mydestination = hash:/usr/local/etc/postfix/hostnames
            virtual_maps = hash:/usr/local/etc/postfix/virtual

    hostnames contains:

    ===
    pluto# cat hostnames
    moon.hub.org moon.hub.org
    pluto.hub.org pluto.hub.org
    ===

    virtual contains:

    ===
    pluto# cat virtual
    adminmoon.hub.org adminmoon.hub.org
    scrappymoon.hub.org scrappymoon.hub.org
    moon.hub.org adminmoon.hub.org

    adminpluto.hub.org adminpluto.hub.org
    pluto.hub.org adminpluto.hub.org

    ===

    If I send an email to scrappymoon.hub.org from outside of the server, it
    gets delivered to adminpluto.hub.org ... if I send it from within the
    server, it goes to scrappymoon.hub.org ...

    I've tried stop'n'starting the server, in case maybe it was an
    smtpd/reload issue, but that makes no difference ...

    from the logs, thi one worked:

    Sep 2 18:18:22 pluto postfix/pickup[25212]: 6D503329B4E: uid=0 from=<root>
    Sep 2 18:18:22 pluto postfix/cleanup[27269]: 6D503329B4E: message-id=<20020902181821.6D503329B4Epluto.hub.org>
    Sep 2 18:18:25 pluto postfix/qmgr[27270]: 6D503329B4E: from=<rootpluto.hub.org>, size=296, nrcpt=1 (queue active)
    Sep 2 18:18:25 pluto postfix/lmtp[27272]: 6D503329B4E: to=<scrappymoon.hub.org>, relay=/var/run/socket/lmtp[/var/run/socket/lmtp], delay=4, status=sent (250 2.1.5 Ok)

    and this one failed:

    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)

    and, to show what the 'failed' message looked like:

    pluto# cat p/pluto.hub.org/a/user/admin/5.
    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