<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I did try that, but it makes no difference - note the error
message in the Dovecot log file, which actually shows the '*'
verbatim (or the '?', if you use that), so the special character
actually goes through to doveadm (I'm not sure how!) <br>
</p>
<div class="moz-cite-prefix">On 31/12/2022 17:10, Marc wrote:<br>
</div>
<blockquote type="cite"
cite="mid:34c5717cc39547cab737b4b3b9f67514@f1-outsourcing.eu">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I'm trying to get a list of all dovecot users, on a simple test setup on
my local network (which "works", in that I can get IMAP mails from dovecot):
passdb {
driver = passwd-file
args = /var/mail/vhosts/%d/shadow
}
userdb {
driver = passwd-file
args = /var/mail/vhosts/%d/passwd
}
The command 'doveadm user -u <a class="moz-txt-link-abbreviated" href="mailto:foo@example.com">foo@example.com</a>' correctly shows that user.
However, any attempt to wildcard the user fails:
# doveadm user -u *@example.com
Error: auth-master: userdb list: User listing returned failure
Fatal: user listing failed
The log file shows
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap=""> quotes? shell expands *
</pre>
</blockquote>
</body>
</html>