Re: [exim] Exim Consolidating users

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: Jonathan Gilpin
Kopio: exim-users@exim.org
Aihe: Re: [exim] Exim Consolidating users
On 2010-02-24 at 19:10 +0000, Jonathan Gilpin wrote:
> On 24 Feb 2010, at 18:51, Phil Pennock wrote:
>
> > On 2010-02-24 at 18:16 +0000, Jonathan Gilpin wrote:
> >> I'm not using smtp... I have a catchall alias of *@domain going to a maildir. I then end up with a message with two addresses in the Envelope-To: E.G
> >
> > So can you *please* provide the relevant configuration (Router and
> > Transport) so that we have something to look at and work from to
> > diagnose the problem, instead of working blind?
>
> For the routers I have:


[ Snip 4 routers, none of which is the Router causing the problem ]

> A mail to: gg@??? and ga@??? both if which do not exist are caught by the catchall, one email is delivered as shows in the logs:
>
> 2010-02-24 18:15:02 1NkLlE-000AJ2-Pu SA: Action: scanned but message isn't spam: score=2.9 required=4.0 (scanned in 2/2 secs | Message-Id: E1NkLlE-000AJ2-Pu@???). From <root@???> (local) for gg@???, ga@???
> 2010-02-24 18:15:02 1NkLlE-000AJ2-Pu => postmaster <gg@???> R=virtual_local_mailbox T=virtual_local_md_delivery


Okay, so you've rewritten the recipient in another Router which you
haven't shown us. Two of the SMTP RCPT recipients have been rewritten
to the same SMTP recipient, and Exim is not delivering twice to the
*same* recipient, as routed.

This is a very different problem to the one described.

Your catchall is causing you to only try to deliver one copy.

Instead of using a catchall "redirect" router, use a catchall "accept"
router, which stores the mail in the catchall folder directly, but
routed for the original address.

-Phil