Re: [Dovecot] debug user's message retrieval

2011-09-09 Thread Костырев Александр Алексеевич
Yep, I do have info like that but I need more cowbell)



-Original Message-
From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On 
Behalf Of Joseba Torre
Sent: Friday, September 09, 2011 7:38 PM
To: dovecot@dovecot.org
Subject: Re: [Dovecot] debug user's message retrieval

On Viernes 09 Septiembre 2011 04:36:13 Костырев Александр Алексеевич escribió:
> I forgot to mention that when I go to user's directory there's no
> letters at all.
> 
> On Fri, 2011-09-09 at 13:30 +1100, Костырев Александр Алексеевич wrote:
> > Hi there!
> > 
> > Is there any method to log user's activity with pop3 service?
> > 
> > I'll try to explain situation:
> > 
> > In maillog I saw that my dovecot lmtp saved four letters in user's
> > mailbox.
> > After a while I got a call from that user saying that he received
> > nothing.
> > 
> > Is there any method to log that that user RETR every single letter,
> > maybe with full names of letter's id or something like that?

The default pop3 log is enough for me:

Sep  9 05:46:37 server1 dovecot: POP3(user1): Disconnected: Logged out 
top=0/0, retr=1/41706, del=1/1, size=41685

This means that user1 received 1 message, deleted 1 message, and total 
downloaded size was 41685. Don't you have a similar line for your user?
-- 
Joseba Torre. Vicegerencia de TICs, área de Explotación


Re: [Dovecot] debug user's message retrieval

2011-09-09 Thread Костырев Александр Алексеевич
It seems like it’s what I looked for.
Many thanks!


--


-Original Message-
From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On 
Behalf Of Urban Loesch
Sent: Friday, September 09, 2011 5:30 PM
To: Dovecot Mailing List
Subject: Re: [Dovecot] debug user's message retrieval

Hi,

perhaps the "mail_log" plugin can help you.


# mail_log plugin provides more event logging for mail processes.
plugin {
   # Events to log. Also available: flag_change append
   mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
   # Group events within a transaction to one line.
   mail_log_group_events = no
   # Available fields: uid, box, msgid, from, subject, size, vsize, flags
   # size and vsize are available only for expunge and copy events.
   mail_log_fields = uid box msgid size from
}

...

Regards
Urban

Костырев Александр Алексеевич wrote:
> I forgot to mention that when I go to user's directory there's no
> letters at all.
> 
> On Fri, 2011-09-09 at 13:30 +1100, Костырев Александр Алексеевич wrote:
>> Hi there!
>>
>> Is there any method to log user's activity with pop3 service?
>>
>> I'll try to explain situation:
>>
>> In maillog I saw that my dovecot lmtp saved four letters in user's
>> mailbox.
>> After a while I got a call from that user saying that he received
>> nothing.
>>
>> Is there any method to log that that user RETR every single letter,
>> maybe with full names of letter's id or something like that?
>>
> 


Re: [Dovecot] debug user's message retrieval

2011-09-09 Thread Joseba Torre
On Viernes 09 Septiembre 2011 04:36:13 Костырев Александр Алексеевич escribió:
> I forgot to mention that when I go to user's directory there's no
> letters at all.
> 
> On Fri, 2011-09-09 at 13:30 +1100, Костырев Александр Алексеевич wrote:
> > Hi there!
> > 
> > Is there any method to log user's activity with pop3 service?
> > 
> > I'll try to explain situation:
> > 
> > In maillog I saw that my dovecot lmtp saved four letters in user's
> > mailbox.
> > After a while I got a call from that user saying that he received
> > nothing.
> > 
> > Is there any method to log that that user RETR every single letter,
> > maybe with full names of letter's id or something like that?

The default pop3 log is enough for me:

Sep  9 05:46:37 server1 dovecot: POP3(user1): Disconnected: Logged out 
top=0/0, retr=1/41706, del=1/1, size=41685

This means that user1 received 1 message, deleted 1 message, and total 
downloaded size was 41685. Don't you have a similar line for your user?
-- 
Joseba Torre. Vicegerencia de TICs, área de Explotación


Re: [Dovecot] debug user's message retrieval

2011-09-08 Thread Urban Loesch

Hi,

perhaps the "mail_log" plugin can help you.


# mail_log plugin provides more event logging for mail processes.
plugin {
  # Events to log. Also available: flag_change append
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  # Group events within a transaction to one line.
  mail_log_group_events = no
  # Available fields: uid, box, msgid, from, subject, size, vsize, flags
  # size and vsize are available only for expunge and copy events.
  mail_log_fields = uid box msgid size from
}

...

Regards
Urban

Костырев Александр Алексеевич wrote:

I forgot to mention that when I go to user's directory there's no
letters at all.

On Fri, 2011-09-09 at 13:30 +1100, Костырев Александр Алексеевич wrote:

Hi there!

Is there any method to log user's activity with pop3 service?

I'll try to explain situation:

In maillog I saw that my dovecot lmtp saved four letters in user's
mailbox.
After a while I got a call from that user saying that he received
nothing.

Is there any method to log that that user RETR every single letter,
maybe with full names of letter's id or something like that?





Re: [Dovecot] debug user's message retrieval

2011-09-08 Thread Костырев Александр Алексеевич
I forgot to mention that when I go to user's directory there's no
letters at all.

On Fri, 2011-09-09 at 13:30 +1100, Костырев Александр Алексеевич wrote:
> Hi there!
> 
> Is there any method to log user's activity with pop3 service?
> 
> I'll try to explain situation:
> 
> In maillog I saw that my dovecot lmtp saved four letters in user's
> mailbox.
> After a while I got a call from that user saying that he received
> nothing.
> 
> Is there any method to log that that user RETR every single letter,
> maybe with full names of letter's id or something like that?
> 

-- 
 
С уважением,
Костырев Александр
системный администратор
ЗАО "Сервер-Центр"
тел.: (423) 262-02-62 (доб. 2037)
факс: (423) 262-02-10
a.kosty...@serverc.ru

www.serverc.ru

icq: 404-198-497


[Dovecot] debug user's message retrieval

2011-09-08 Thread Костырев Александр Алексеевич
Hi there!

Is there any method to log user's activity with pop3 service?

I'll try to explain situation:

In maillog I saw that my dovecot lmtp saved four letters in user's
mailbox.
After a while I got a call from that user saying that he received
nothing.

Is there any method to log that that user RETR every single letter,
maybe with full names of letter's id or something like that?