<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 15/03/2020 02:32 Ferenc <
<a href="mailto:dovecot@bezemkast.nl">dovecot@bezemkast.nl</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi!
</div>
<div>
<br>
</div>
<div>
I've set up Postfix with virtual users. I wanted to get Dovecot and LMTP up and running with
</div>
<div>
Passwd-file UserDB, which they do, but I can't figure out how to make use of a catch-all.
</div>
<div>
<br>
</div>
<div>
Currently, mail to
<a href="mailto:joe@example.com">joe@example.com</a> needs Joe to be in the Passwd-file. I would like
</div>
<div>
<a href="mailto:anyone@example.com">anyone@example.com</a> to go to Joe's mailbox, or actually mail to @example.com should go to Joe. But
</div>
<div>
what do I put in the Passwd-file?
</div>
<div>
<br>
</div>
<div>
I need this for several domains. Like @somedomain.org should go to
<a href="mailto:jim@example.com">jim@example.com</a> and
</div>
<div>
@anydomain.net to
<a href="mailto:jake@example.com">jake@example.com</a>. I've googled myself silly but I cannot find the it. Everybody
</div>
<div>
is hooked on a sql userdb which seems like overkill to me. With Postfix doing local delivery this
</div>
<div>
is rather trivial. With Dovecot LDA I got it working by using virtual_alias_maps and the right
</div>
<div>
parameters in master.cf. But with LMTP I'm stumped.
</div>
<div>
<br>
</div>
<div>
cheers,
</div>
<div>
Ferenc
</div>
</blockquote>
<div>
<br>
</div>
<div>
You do it in postfix using virtual alias, just like before.
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>