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

Timo Sirainen tss at iki.fi
Tue Dec 20 18:48:57 EET 2011


On 20.12.2011, at 16.52, Marco Carcano wrote:

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

You're missing: mail_plugins = mail_log

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

But with:

grep 'pop3.*mmanzoni.*del=0' deliver.log*

There are log entries listed since December 12? (So they haven't gotten deleted from the logs already?)

Also what kind of tools are ever accessing mails? Is it just Dovecot LDA + IMAP + POP3? No doveadm or any external tools?


More information about the dovecot mailing list