1

Topic: mmap() Error, Invalid Argument - Double slash in path?

======== Required information ====
Ubuntu Server 16.04
0.9.7 Mysql/nginx
non-pro
====

I get a ton of these mmap() errors in the log. I noticed there's a double slash before Maildir. Is this normal? Config error? Dovecot bug?

dovecot: imap(email@email.net): Error: mmap() failed with file /shares/email/vmail/vmail1/email.net/e/m/a/email-2017.02.25.08.09.39//Maildir/dovecot.index.cache: Invalid argument

I noticed this is the setting in dovecot.conf. It does have a trailing slash. I'm afraid to remove it to see what happens since I'm not sure who's responsible for creating the directory structure tongue

# Mail location and mailbox format.
mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/

I'm running dovecot version 2.2.22

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: mmap() Error, Invalid Argument - Double slash in path?

nowhere99 wrote:

I noticed there's a double slash before Maildir

It's fine, it will be treated as single slash.