On 5.10.2012, at 10.45, Micha Krause wrote:
./imap -O -o mail=maildir:/tmp/vmail/domain/user:LAYOUT=fs
Wow, thats a really cool way to debug/test mailboxes, is this documented somewhere?
No. The -O, -o, -k and some other options should be put into some new global.inc where it gets included to all doveadm/dovecot/doveconf man pages..
What does -O do, any other interesting options?
All the global settings are:
-O ignores dovecot.conf and just uses the default settings. -o <key>=<value> can be used multiple times to override any setting -k preserves environment variables (which can also be used to override settings, e.g. MAIL=foo) -c <path> changes dovecot.conf path -i <name> changes to dovecot.conf used by the given instance name -L logs directly to destination specified by log_path/info_log_path/debug_log_path, bypassing log process (allowing logging to different location than normally, log process always logs only to one location)