On 06/10/2019 16:04 Gerben Wierda via dovecot <dovecot@dovecot.org> wrote:


Suppose my mail_location is:

mail_location = maildir:/private/var/mail/nl.rna.mail/%u

But I would like to use a simple lookup table to replace %u with another value, say '8DB4E345-9144-4F92-8C9F-9D47BB61CBF8’ instead of ‘username’. Is there a (simple) way to do this?

Gerben Wierda
Chess and the Art of Enterprise Architecture
Mastering ArchiMate
Architecture for Real Enterprises at InfoWorld
On Slippery Ice at EAPJ


From your passdb or userdb, return user attribute. See https://doc.dovecot.org/configuration_manual/authentication/user_extra_field/
---
Aki Tuomi