postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: postfix not delivering all by itself (revised que

postfix not delivering all by itself (revised question)

From: Jay G. Scott <gl_at_nospam>
Date: Fri Oct 22 2010 - 21:42:54 GMT

a while back i posted to the effect that i couldn't get postfix to deliver
mail all by itself.

it was pointed out that because i had two versions of postfix installed
that i was doing a bad thing. you're right. i've fixed that.
i have ONE version of postfix installed. i compiled 2.7.1 from source.
the OS is redhat enterprise. the MTA is properly set up in

mail is getting delivered from my test machine (j6).

the MX records from inside the firewall will list ns5 as the lowest
cost MTA.

the problem:
i contend that (and i'm wrong, but don't know why) j6 should relay
this mail directly to instead, ns5 is
getting involved. what am i doing wrong?
here's the headers from a test email:
>From Fri Oct 22 16:22:47 2010
Return-Path: <>
Received: from ( [])
        by (Postfix) with ESMTP id 80D96417B5
        for <>; Fri, 22 Oct 2010 16:22:47 -0500 (CDT)
Received: from ( [])
        by (8.13.8/8.13.8) with ESMTP id o9MLMlCq032303
        for <>; Fri, 22 Oct 2010 16:22:47 -0500
Received: from ( [])
        by localhost (Postfix) with SMTP id 1427913A301
        for <>; Fri, 22 Oct 2010 16:22:47 -0500 (CDT)
Received: by (Postfix, from userid 0)
        id E1C7A138E28; Fri, 22 Oct 2010 16:22:46 -0500 (CDT)
Subject: test 10

(trimmed for bandwidth.)

-----------------------------------------------------------------------------, trimmed for bandwidth.
myhostname =
mydomain =
myorigin = $mydomain

inet_interfaces = all

mydestination =
local_recipient_maps =
local_transport = error:local mail delivery is disabled
unknown_local_recipient_reject_code = 550

relay_domains = []

relayhost =

relay_recipient_maps = hash:/etc/postfix/pfknown_users
smtp_generic_maps = hash:/etc/postfix/pfgenerics
alias_maps = hash:/etc/postfix/pfmalias
transport_maps = hash:/etc/postfix/pftransport

here are those four files:
gl OK
        pftransport smtp:[]

postconf ... shows that postfix is running w/ the values i put in,
and i've done the postmap or postalias as appropriate on these 4 files.

-- Jay Scott 512-835-3553 Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div. S224 University of Texas at Austin