[Dovecot] Mail lost - maybe a bug???

Marco Carcano marco at carcano.ch
Tue Dec 20 16:52:21 EET 2011


Hello Timo

and thanks again for the ultra quick reply!

> Enabling mail_log plugin and/or lazy_expunge plugin would have helped
> more (both mentioned in my previous mail).

Sorry - I thought I have enabled it, but maybe I  did something wrong  
with the configuration and it was not enabled:

here is what I did in order to enable mail_log:

syslog_facility = local5

mail_debug = yes

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
}

>
> There's really nothing in the LDA log that could explain why the  
> message
> gets lost. It most likely was successfully delivered by LDA, but got
> deleted afterwards for some reason.
>
> You mean that this user's mails are never supposed to be deleted via
> POP3? Verify that with:

yes, you got it - it is never supposed only because we are debugging ;O)

>
> grep 'pop3.*mmanzoni.*del=[^0]' /var/log/dovecot.log
>
> or wherever those POP3 disconnection messages are logged, i.e. you
> should find lots of messages with:
>
> grep 'pop3.*mmanzoni.*del=0' /var/log/dovecot.log
>
>

OK, tried the following - I have varoius log files

grep 'pop3.*mmanzoni.*del=[^0]' deliver.log*

and got nothing

grep 'pop3.*criva.*del=[^0]' deliver.log*

and got

deliver.log.1:Dec 15 12:26:16 srv001 dovecot: pop3(criva):  
Disconnected: Logged out top=0/0, retr=1/8147, del=1613/1613,  
size=619997598
deliver.log.1:Dec 15 12:27:39 srv001 dovecot: pop3(criva):  
Disconnected: Logged out top=0/0, retr=200/50212479, del=200/200,  
size=50208702
deliver.log.1:Dec 15 12:29:08 srv001 dovecot: pop3(criva):  
Disconnected: Logged out top=0/0, retr=600/203527129, del=600/600,  
size=203515938
deliver.log.1:Dec 15 12:30:49 srv001 dovecot: pop3(criva):  
Disconnected: Logged out top=0/0, retr=1000/310592896, del=1000/1000,  
size=310574037
deliver.log.1:Dec 15 12:31:10 srv001 dovecot: pop3(criva):  
Disconnected: Logged out top=0/0, retr=399/44426198, del=399/399,  
size=44418942
deliver.log.2:Dec 15 00:11:09 srv001 dovecot: pop3(criva):  
Disconnected: Logged out top=0/0, retr=10530/1684049964,  
del=10530/10530, size=1683854308

so yes, I'm pretty sure that mmanzoni never deletes messages

belive to me - usually I try to solve problems myself without  
disturbing anyone else, but this time is really hard and I do not know  
if I could face it alone

I hope you can help

kind regards

Marco Carcano




More information about the dovecot mailing list