On Tue, Apr 16, 2019 at 11:14:42AM -0300, Silas wrote:
Hi!
I'm trying to setup Postfix + Dovecot for virtual user delivery via
LMTP. Configuration seems fine (output of postconf -nf below) but I
still get "User unknown in local recipient table". Details follow:
[snip]
mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost
Days after struggling with this (and just after I sent this email) I
discovered the domain cannot be listed in mydestination. I.e., I had to
setup it as a virtual domain so virtual_transport takes effect.
My current setting is:
mydestination =
virtual_mailbox_domains = /etc/postfix/vhosts
virtual_transport = lmtp:unix:/tmp/lmtp
(Yes, for testing purposes, I created the socket at /tmp/lmtp).
And vhosts has a list of virtual domains.
Letting mydestination empty is the recommended way to do so? Note that
I don't more than one domains, only one, but I do have virtual users.
Thanks!