[dovecot] Re: command line version of dovecot?

Timo Sirainen tss at iki.fi
Wed Apr 9 19:13:16 EEST 2003


On Wed, 2003-04-09 at 18:52, Kyler Laird wrote:
> > There's the "imap" binary that should do exactly that. Usually installed
> > into /usr/local/libexec/dovecot/imap
> 
> Ah!  That's just the kind of solution I sought.
> 
> Unfortunately it doesn't seem to work for me.  It doesn't
> appear (via strace) to read any configuration file.  It just
> looks in /var/mail/[user] for a Maildir.  I need to to go to
> the Maildir in the user's home (and follow other behaviors
> defined in the config file).

It should look into ~/Maildir first, then ~/mail and ~/Mail unless it's
overridden in MAIL environment. You probably have MAIL=/var/mail/user
set, which is why it looks into there.

Currently it doesn't read any configuration file, and I'm not sure if I
should make it do that.. Well, it could be useful but I'd have to figure
out how to prevent unneeded code duplication for config file parsing.
All settings are passed via environment settings, but they're not
documented (they're basically uppercased versions of the setting names
in config file).

> Should I have found all of this in some documentation?  I
> appreciate the help but I feel like I should be reading
> about this on my own somewhere.

doc/mail-storages.txt explains the MAIL environment.




More information about the dovecot mailing list