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

Top Page
Delete this message
Reply to this message
Author: Konstantin Boyandin
Date:  
To: exim-users
Subject: Re: [exim] Exim sends message twice if alias points to itself
Hello,

2008/5/5 Russell King <rmk+exim@???>:

> On Sun, May 04, 2008 at 03:52:50PM +0700, Konstantin Boyandin wrote:


> 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.


Here're the records from main.log related to the problem:

2008-05-05 16:17:59 1Jswpb-0008OH-NU <= user1@???
H=diamond.local [10.1.0. 54] P=esmtpsa =TLSv1:AES256-SHA:256
A=PLAIN:user1 S=627 id=481ED0C6.3090704@???
2008-05-05 16:18:00 1Jswpc-0008OP-1k <= user1@??? U=exim
P=local S=1893 id =481ED0C6.3090704@???
2008-05-05 16:18:00 1Jswpb-0008OH-NU => userlist
<userlist@???> R=dspam_router T=dspam_spamcheck
2008-05-05 16:18:00 1Jswpc-0008OP-1k => |/usr/bin/procmail
(user1@???) <userlist@???> R=userforward
T=address_pipe
2008-05-05 16:18:00 1Jswpc-0008OP-1k => userlist
<userlist@???> R=localuser T=local_delivery
2008-05-05 16:18:00 1Jswpc-0008OP-1k Completed
2008-05-05 16:18:00 1Jswpc-0008OZ-I1 <= user1@??? U=exim
P=local S=1940 id=481ED0C6.3090704@???
2008-05-05 16:18:00 1Jswpb-0008OH-NU => user1 <userlist@???>
R=dspam_router T=dspam_spamcheck
2008-05-05 16:18:00 1Jswpb-0008OH-NU Completed
2008-05-05 16:18:00 1Jswpc-0008OZ-I1 => |/usr/bin/procmail
<user1@???> R=userforward T=address_pipe
2008-05-05 16:18:00 1Jswpc-0008OZ-I1 Completed