<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 06/10/2019 16:04 Gerben Wierda via dovecot <dovecot@dovecot.org> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>Suppose my mail_location is:
<div class="">
<br class="">
</div>
<div class="">
<div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span class="" style="font-variant-ligatures: no-common-ligatures;">mail_location = maildir:/private/var/mail/nl.rna.mail/%u</span>
</div>
</div>
<div class="">
<span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span>
</div>
<div class="">
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?
</div>
<div class="">
<br class="">
<div class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: #000000; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Gerben Wierda
</div>
<div class="" style="color: #000000; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<a class="" href="http://enterprisechess.com/">Chess and the Art of Enterprise Architecture</a>
</div>
<div class="" style="color: #000000; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<a class="" href="http://masteringarchimate.com/">Mastering ArchiMate</a>
</div>
<div class="" style="color: #000000; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<a class="" href="https://www.infoworld.com/blog/architecture-for-real-enterprises/">Architecture for Real Enterprises</a> at InfoWorld
</div>
<div class="" style="color: #000000; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<a class="" href="https://eapj.org/on-slippery-ice/">On Slippery Ice</a> at EAPJ
</div>
</div>
</div>
<br class="">
</div>
</blockquote>
<div>
<br>
</div>
<div>
From your passdb or userdb, return user attribute. See
<a href="https://doc.dovecot.org/configuration_manual/authentication/user_extra_field/?highligh">https://doc.dovecot.org/configuration_manual/authentication/user_extra_field/</a>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>