I've sniffed traffic between exim and lmtp

In log of dovecot I have:
17:17:46 msgid=<e1qwtg6-0002o6...@pink.example.com>: G48FNNjoVU63IwAA1nFjLA:
17:17:51 msgid=<e1qwtg6-0002o6...@pink.example.com>: HI8FNNjoVU63IwAA1nFjLA:
17:17:56 msgid=<e1qwtg6-0002o6...@pink.example.com>: gY8FNNjoVU63IwAA1nFjLA:
17:18:01 msgid=<e1qwtg6-0002o6...@pink.example.com>: 5o8FNNjoVU63IwAA1nFjLA:
17:18:08 msgid=<e1qwtg6-0002o6...@pink.example.com>: S5AFNNjoVU63IwAA1nFjLA:
17:18:13 msgid=<e1qwtg6-0002o6...@pink.example.com>: sJAFNNjoVU63IwAA1nFjLA:
17:18:18 msgid=<e1qwtg6-0002o6...@pink.example.com>: FZEFNNjoVU63IwAA1nFjLA:
17:18:23 msgid=<e1qwtg6-0002o6...@pink.example.com>: epEFNNjoVU63IwAA1nFjLA:
17:18:29 msgid=<e1qwtg6-0002o6...@pink.example.com>: 35EFNNjoVU63IwAA1nFjLA:
17:18:31 msgid=<e1qwtg6-0002o6...@pink.example.com>: RJIFNNjoVU63IwAA1nFjLA:
Totally 10 different lmtp ids.

According to wireshark while sending I've got 2 tcp streams with 5 different 
ids in each

Log of one the streams (I've truncated DATA part - it's the same for both 
streams):
http://pastebin.com/w4qJqZMG

*note
I've send message in maillist with
mailx -s 'g' 2...@atlas-2.ru < /boot/initrd.img-686


-----Original Message-----
From: Timo Sirainen [mailto:t...@iki.fi] 
Sent: Thursday, August 25, 2011 5:01 PM
To: Костырев Александр Алексеевич
Cc: dovecot@dovecot.org
Subject: Re: [Dovecot] dovecot and maillists problem

I mean, my point of view of what is happening is is disagreement with the logs 
you showed. So something's weird here and only the LMTP traffic logs can lead 
to more clarity.

On 25.8.2011, at 8.49, Костырев Александр Алексеевич wrote:

>> But that kind of conflicts on your logs that show tons of SQL lookups one 
>> after another..
> 
> I'm not sure that these are conflicts.
> As I see it, it's legitimate lookups for the users who are the members of 
> maillist
> I thought that's correct behavior, am I wrong?
> 
> 
> 
> 
> -----Original Message-----
> From: Timo Sirainen [mailto:t...@iki.fi] 
> Sent: Thursday, August 25, 2011 4:36 PM
> To: Костырев Александр Алексеевич
> Cc: dovecot@dovecot.org
> Subject: Re: [Dovecot] dovecot and maillists problem
> 
> On 25.8.2011, at 8.17, Костырев Александр Алексеевич wrote:
> 
>> The problem is:
>> When I send a letter to short maillist (as above) it get the same ID and 
>> stored only once in the maildir of one user who is the member of that 
>> maillist - that's ok, but
>> When I send a letter to maillist with a large number of recipients it 
>> occurred that it's saved more than one, because of the headers added by 
>> dovecot lmtp (I've changed host name):
>> 
>> diff 
>> letter_in_one_user/1314238006.M841940P6916.pink\,S\=12778136\,W\=12953189 
>> letler_in_second_user/new/1314237993.M460165P6916.pink\,S\=12778136\,W\=12953189
>>  
>> 3,4c3,4
>> <    by pink.example.com (Dovecot) with LMTP id 6UiGJBWuVU4EGwAA1nFjLA
>> <    ; Thu, 25 Aug 2011 13:06:46 +1100
>> ---
>>>     by pink.example.com (Dovecot) with LMTP id VUeGJBWuVU4EGwAA1nFjLA
>>>     ; Thu, 25 Aug 2011 13:06:29 +1100
>> 
>> It's the same letter accept the date and id.
> 
> Try capturing the LMTP traffic between Dovecot and Exim? I'm not sure if 
> there's a good way to capture traffic from UNIX sockets, but at least if Exim 
> and Dovecot talk via TCP there are many ways.
> 
> The different LMTP ids and dates are added only when there are different DATA 
> commands, which would mean that Exim has sent separate RCPT TO + DATA 
> commands for each of these mails. But that kind of conflicts on your logs 
> that show tons of SQL lookups one after another..
> 
> 

  • [Dovecot] dovecot... Костырев Александр Алексеевич
    • Re: [Dovecot... Timo Sirainen
      • Re: [Dov... Костырев Александр Алексеевич
        • Re: ... Timo Sirainen
          • ... Костырев Александр Алексеевич
            • ... Timo Sirainen
              • ... Костырев Александр Алексеевич

Reply via email to