With regard to your original problem, it sounds like you don't have
mysql support compiled into Dovecot (--with-mysql option). Not sure what
the logging problem is. I've debugged authentication using just
auth_debug_passwords=yes, but I didn't enable separate log files so the
messages were in maillog.
On 2012-05-16 09:20, Frank Walter wrote:> Hello
>
> I am struggling with Dovecot 2 (coming from Dovecot 1.0.10) with
> mysql Authentification for Postfix.
> I get errors when using it:
>
> dovecot: auth: Fatal: Unknown database driver 'mysql'
> dovecot: master: Error: service(auth): command startup failed,
> throttling
>
> But a first thing would be to log the real errors, if there are any,
> so I set in
>
> /etc/dovecot/conf.d/10-logging.conf
>
> auth_verbose, auth_verbose_passwords, auth_debug,
> auth_debug_passwords, mail_debug, verbose_ssl
>
> all to yes and I set:
>
> debug_log_path = /var/log/dovecot-debug.log
>
> but there is no logfile after restarting dovecot.
>
> How can I enable a (verbous) own Logfile in Dovecot?
>
> frank