On Wed, 2009-01-14 at 23:08 +0100, Andrzej Adam Filip wrote:
Timo Sirainen tss@iki.fi wrote:
On Wed, 2009-01-14 at 22:21 +0100, Andrzej Adam Filip wrote:
Do you think it wold be worthwhile to add command line options to "deliver" and "imap" to make them ignore "system wide" configuration file and use ~/.dovecotrc instead?
How about:
dovecot -c ~/.dovecotrc
I need "single IMAP session via stdin/stdout". I think you meant: dovecot -c ~/.dovecotrc --exec-mail imap
As I understand imap command supports no command line options [1.0.15]
Right.
Can "full imap command configuration" be achieved via MAIL and MBOX_LOCKS environment variables?
Yes, all settings are passed via environment. They're not documented anywhere though (but http://wiki.dovecot.org/PostLoginScripting gives some hints). But what's wrong with using --exec-mail?