On 27. Jun 2026, at 23.12, inaugurator--- via dovecot <[email protected]> wrote: > > I need help. I’m trying to reproduce an issue, but I keep hitting so many > errors that I’m completely stuck. I'm reproducing this on a single machine. > > 1. Setting up the environment: > > groupadd -g 500 vmail && useradd -M -u 500 -g vmail -s /bin/false vmail && > mkdir -p /tmp/mail && chown vmail:vmail /tmp/mail > > 2. Starting up Dovecot. > 3. User mailboxes don’t exist yet. > 4. Saving an email via CLI: > > doveadm save -u user1 -m INBOX /tmp/1.eml > > 5. Checking the email UID, but it’s missing: > > curl -u "user1:hello" -k imap://localhost:143/INBOX -X "UID SEARCH ALL" > + SEARCH .. > mail_home = /tmp/mail/%{user}
Don't save mails to /tmp. With systemd Dovecot gets a unique /tmp directory when running as a service. So doveadm sees a different /tmp than the running dovecot. _______________________________________________ dovecot mailing list -- [email protected] To unsubscribe send an email to [email protected]
