[Dovecot] why wont /usr/pkg/libexec/dovecot/imap see my Maildir

Charlie Allom charlie at rubberduck.com
Mon Aug 4 07:25:40 EEST 2003


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 at rubberduck.com - Melbourne, Australia
 http://rubberduck.com/~yeled/
 PGP: 0x14AA7941 || finger yeled at lazy.spodder.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20030804/de07f664/attachment-0003.bin>


More information about the dovecot mailing list