On Mon, Aug 04, 2003 at 06:45:56AM +0300, Timo Sirainen wrote:
On Mon, 2003-08-04 at 06:25, Charlie Allom wrote:
When I invoke /usr/pkg/libexec/dovecot/imap from the command loine on the mail host, it logs me in, but won't see my emails: .. I know I have many emails in there, and I can see them when I login via telnet localhost 443.
I'd guess it's because you have MAIL environment pointing to some mbox file. Try "unset MAIL", or "export MAIL=~/Maildir" before running imap. Note that imap binary doesn't read your configuration file at all, so if you've changed any defaults you'll have to give them in environment.
You're right. I thought it would be along these lines .. Thanks!
Hmm. Maybe it would be useful to add an option to dovecot binary to read configuration (which it does always anyway) and then exec() a given binary with the configuration moved into environment. Something like:
Well I'll leave this up to you, you're doing very well so far :)
-- charlie@rubberduck.com - Melbourne, Australia http://rubberduck.com/~yeled/ PGP: 0x14AA7941 || finger yeled@lazy.spodder.com