[Dovecot] Debugging Plug-In

Pascal Volk user+dovecot at localhost.localdomain.org
Fri Jul 30 05:27:23 EEST 2010

On 07/30/2010 04:15 AM John O'Brien wrote:
> Hi,
> I'm very new to Dovecot plug-in development.
> Is there a simple way to do so some simple logging.
> I want and equivalent of printf to be able stick strings in /var/log/maillog.
> Regards,
> John

When developing for v1.2x use check for mail_debug and use i_info(). See
for example:

But when you say you are 'very new' to plugin development, I hope you
are using 'very new' Dovecot v2.0. ;-)
Then simply use i_debug().

The trapper recommends today: beeffeed.1021104 at localdomain.org

More information about the dovecot mailing list