On 19.10.2010, at 9.01, Antonio Perez-Aranda wrote: > Umm, and ¿Is it possible to log FETCH actions without modifying the code? > > Mail logger plugin can't let me set FETCH as event to log. > > Then I could count the number of header/body retrieved.
You could write a plugin, but other than that you can't do it currently. http://dovecot.org/patches/2.0/stats-plugin.c could be helpful here, it logs about every command.
