[dovecot] Re: Using on AIX

Timo Sirainen tss at iki.fi
Wed Apr 23 20:10:20 EEST 2003

On Wed, 2003-04-23 at 19:32, Adam Lackorzynski wrote:
> In mail-index-open.c:289(mail_index_create_memory) you use a path
> variable which is undefined.

Whops. Should have compiled it first :)

> Now, with the filler still in, it works for an empty inbox. If a mailbox
> contains something (7 mails in this case), I get:
> imap-login: Apr 23 16:22:16 Info: Login: xxx [x.x.x.x]
> imap(xxx): Apr 23 16:22:16 Error: Corrupted index data file HOME/Mail/f/.imap/sf1/.imap.index.data: Invalid location field for record 7

Yes, what I'd like to know is if INDEX=MEMORY gives the same error once
it actually works.

> And for "default_mail_env = mbox:~/Mail:INDEX=MEMORY", I'm getting:
> imap(xxx): Apr 23 16:16:54 Error: msync() failed with index file (in-memory index for HOME/Mail/f/sf1): Invalid argument

OK, 0.99.9-test8 now doesn't call msync() for anon-mmaped memory.

More information about the dovecot mailing list