Even when I hard code mail_location = maildir:/home/username/Maildir I get the same error message:
Aug 4 01:25:20 ch dovecot: imap(username): Error: Relative home directory paths not supported: 0 This error message makes no sense to me. -- Aaron Lin j...@ircnow.org IRCNow (https://ircnow.org) On Sun, Aug 03, 2025 at 03:30:26PM -0700, j...@ircnow.org wrote: > Greetings Dovecot team/users, > > I am trying to use Dovecot to serve Maildir files. The users' email is > located in ~/Maildir (in each user's home directory). I tried specifying > > mail_location = maildir:~/Maildir > > but I get this error: > > Aug 4 00:06:34 ch dovecot: imap(username): Error: Relative home directory > paths not supported: 0 > > Are relative home directory paths not supported? > > Here is the output of dovecot -n: > > # dovecot -n > # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf > # OS: OpenBSD 7.7 amd64 > # Hostname: ch.ircnow.org > auth_debug = yes > auth_debug_passwords = yes > auth_verbose = yes > auth_verbose_passwords = sha1 > first_valid_uid = 1000 > listen = 104.244.78.185, 2605:6400:c8b7::1 > mail_debug = yes > mail_location = maildir:~/Maildir > mbox_write_locks = fcntl > mmap_disable = yes > namespace inbox { > inbox = yes > location = > mailbox Drafts { > special_use = \Drafts > } > mailbox Junk { > special_use = \Junk > } > mailbox Sent { > special_use = \Sent > } > mailbox "Sent Messages" { > special_use = \Sent > } > mailbox Trash { > special_use = \Trash > } > prefix = > } > passdb { > args = scheme=blf-crypt username_format=%u /etc/dovecot/passwd > driver = passwd-file > } > ssl_cert = </etc/ssl/ch.ircnow.org.crt > ssl_key = # hidden, use -P to show it > userdb { > args = username_format=%u /etc/dovecot/passwd > default_fields = quota_rule=*:storage=1G > driver = passwd-file > } > verbose_ssl = yes > > 1375 bytes received in 0.00 seconds (5.18 MB/s) > > -- > Aaron Lin > j...@ircnow.org > IRCNow (https://ircnow.org) > _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org