[exim] local mail routes ok, world mail rejected

Inizio della pagina
Delete this message
Reply to this message
Autore: Phillip Carroll
Data:  
To: exim-users
Oggetto: [exim] local mail routes ok, world mail rejected
I am trying to migrate from an FC2 VPS running exim with DA (Lasman-written exim.conf for DA) to a self-managed CentOS 5.5 system.  I am using Webmin/SFTP/command line to run the new system. 

I have hacked an exim.conf to use a routing scheme similar to the DA setup.  It appears to work perfectly when email is originated locally (exim -bt localname (or) exim -d (etc..)).  However, mail originated outside the box is always rejected. 

 




      From zoney70@??? Sat Jul 10 20:39:19 2010
Envelope-to: exim-users@???
Received: from web52408.mail.re2.yahoo.com ([206.190.48.171]:40934)
    by tahini.csx.cam.ac.uk with smtp (Exim 4.72)
    (envelope-from <zoney70@???>) id 1OXftO-00015x-Jp
    for exim-users@???; Sat, 10 Jul 2010 20:39:19 +0100
Received: (qmail 57210 invoked by uid 60001); 10 Jul 2010 19:39:17 -0000
Message-ID: <452844.57082.qm@???>
X-YMail-OSG: 2eLrRKoVM1leVSSebb60tLRJjKkrLkpiDsX8qvU4c4P6Hk7
    DucRcDQkPmbdwnp86qL4zKM42Cn3QeeJuCz0XPglb_LYlnOGDw7nBpOTBqd0
    mG5.Fp8yLDVR1b3IpT1YlJP5grjo1326Hcs6KsFUcAUYmXLiUL0Z8Cll2PcN
    8r509oCOIHD.SLGtouRLuZIapZ3ksKhr61UXUH6xmczIom7Hm99iahHtwLDK
    Ummr4Y0XZxU42Grpuq5vkLF1HOr5uzA.JvA1yyPgVaMmXrcssrguRvpbKE9I
    cvFIjCYmkDqXUnvWY08OT38YnleK0vjM9Esk__GfpSmF3hrG0XKjypVA-
Received: from [71.226.53.113] by web52408.mail.re2.yahoo.com via HTTP;
    Sat, 10 Jul 2010 12:39:17 PDT
X-Mailer: YahooMailClassic/11.2.4 YahooMailWebService/0.8.104.276605
Date: Sat, 10 Jul 2010 12:39:17 -0700 (PDT)
From: Phillip Carroll <zoney70@???>
To: exim-users@???
MIME-Version: 1.0
X-Spam-Score: 4.0 (++++)
X-Spam-Status: No, scoren0 required~0 tests÷L.716, BAYES_50.4,
    DNS_FROM_RFC_ABUSE.2, DNS_FROM_RFC_POST>708,
    HTML_30_40.374, HTML_MESSAGE.6 autolearnO version^1.8
X-Mailman-Approved-At: Sun, 11 Jul 2010 11:50:29 +0100
Content-Type: text/plain; charset?o-8859-1
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
Subject: Re: [exim] Flag this message local mail routes ok,
    world mail rejected
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject¾subscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subjectŽlp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject¥bscribe>
X-List-Received-Date: Sat, 10 Jul 2010 19:39:19 -0000


I inadvertently sent before completing the message. 

World email is rejected by the router:

localuser:
  driver = accept
  check_local_user
  transport = local_delivery
  cannot_route_message = Unknown user

I assume this is because check_local_user fails.  However, then why does the same router route to local_delivery transport when I originate the message locally?  Baffling.




      From prvs?080ad440Xim-users@??? Sun Jul 11 22:48:04 2010
Envelope-to: Exim-users@???
Received: from smtp.spodhuis.org ([2a02:898:31:0:48:4558:736d:7470]:62802
    heloH.spodhuis.org) by tahini.csx.cam.ac.uk with esmtp (Exim 4.72)
    (envelope-from <prvs?080ad440Xim-users@???>)
    id 1OY4NT-0006EU-Fy
    for Exim-users@???; Sun, 11 Jul 2010 22:48:01 +0100
Received: by smtp.spodhuis.org with local
    id 1OY4NS-000OBW-Bu; Sun, 11 Jul 2010 21:47:58 +0000
Date: Sun, 11 Jul 2010 14:47:58 -0700
From: Phil Pennock <exim-users@???>
To: Phillip Carroll <admin@???>
Message-ID: <20100711214758.GA92939@???>
Mail-Followup-To: Phillip Carroll <admin@???>,
    Exim-users@???
References: <4C390E0E.8040308@???>
MIME-Version: 1.0
Content-Type: text/plain; charsetÃ-ascii
Content-Disposition: inline
In-Reply-To: <4C390E0E.8040308@???>
X-Spam-Score: -2.1 (--)
X-Spam-Status: No, scoreÒ.1 required~0 tests÷L.372, BAYES_00Ñ.5,
    EXIM_EXP_VARÑ, NO_RELAYSÐ.001 autolearnŠm version^1.8
Cc: Exim-users@???
Subject: Re: [exim] alias lookup not working as expected
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: exim-users@???
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject¾subscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subjectŽlp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject¥bscribe>
X-List-Received-Date: Sun, 11 Jul 2010 21:48:04 -0000


On 2010-07-10 at 17:19 -0700, Phillip Carroll wrote:
> If I understand exim correctly check_local_user looks up $local_part as
> a local user. Therefore, I added $local_part to the fail message in the
> localuser transport to see what is being looked up. (With the resuilt
> shown above) Given the fact that mercury is only an alias and not the
> actual aliased user, that explains the failure of check_local_user.
> Then I don't understand why the data assignments in the virtual_aliases
> routers are not passing the actual user through to the localuser router.


Why are you using "unseen" on the Router which does the aliasing? That
means that the aliased address is being generated as a secondary routing
recipient and the main address continues through.

-Phil