Re: [exim] Exim sends message twice if alias points to itsel…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Russell King
Data:  
Para: Konstantin Boyandin
CC: exim-users
Assunto: Re: [exim] Exim sends message twice if alias points to itself
On Sun, May 04, 2008 at 03:52:50PM +0700, Konstantin Boyandin wrote:
> user1 and user2 get the duplicates, userlist gets the only message (as
> expected).
>
> The duplicates differ in the only header field (save references to
> Message-Id). One of them contains
>
> Received: from exim by example.com with local (Exim 4.62)
>         (envelope-from <user1@???>)
>         id 1JsZny-0002Ee-Rj
>         for userlist@???; Sun, 04 May 2008 15:42:46 +0700


This line says that you got this message via the <userlist@???>
address.

> Received: from exim by example.com with local (Exim 4.62)
>         (envelope-from <user1@???>)
>         id 1JsZnz-0002Ez-4F
>         for user1@???; Sun, 04 May 2008 15:42:47 +0700


And this one via the <user1@???> address.

I've not seen you post any log lines showing your problem yet, so...

I've just setup a similar scenario to your first email:

# exim -bt userlist
userlist@??? is undeliverable: Unknown user
    <-- userlist@???
linux@???
    <-- userlist@???
  router = procmailuser, transport = procmail_delivery
rmk@???
    <-- userlist@???
  router = procmailuser, transport = procmail_delivery


What you need to do is to look in the exim main log file to find out
what's going on. You should have something like:

2008-05-05 10:08:03 1Jswfz-0002oj-8q <= linux@??? U=linux P=local S=596 id=20080505090802.GC5995@???
2008-05-05 10:08:04 1Jswfz-0002oj-8q ** userlist@???: Unknown user
2008-05-05 10:08:04 1Jswfz-0002oj-8q => rmk <userlist@???> R=procmailuser T=procmail_delivery
2008-05-05 10:08:05 1Jswfz-0002oj-8q => linux <userlist@???> R=procmailuser T=procmail_delivery
2008-05-05 10:08:06 1Jswg1-0002p5-U2 <= <> R=1Jswfz-0002oj-8q U=exim P=local S=1466
2008-05-05 10:08:06 1Jswfz-0002oj-8q Completed
2008-05-05 10:08:07 1Jswg1-0002p5-U2 => linux <linux@???> R=procmailuser T=procmail_delivery
2008-05-05 10:08:07 1Jswg1-0002p5-U2 Completed

Here, you can see linux@ sent an email to userlist@ which was expanded
to userlist@, rmk@ and linux@. The message to userlist@ failed because
no local user of that name exists.

Posting _your_ log lines corresponding to the duplicate messages will
probably show what's going on.

--
Russell King