On Wed, 17 Feb 2021 18:13:13 +0300 <m...@shadrinden.ru> wrote: > If I understand this correctly, this is needed so that the messages > sent to alias+det...@mydomain.tld had "Delivered-To" header not with > value of "u...@mydomain.tld" but with value of > "user+det...@mydomain.tld". Am I right? > > So I have put into the postfix config this line: > > mailbox_command = /usr/lib/dovecot/dovecot-lda -a "$RECIPIENT" > > But in the headers of the received messages I have "Delivered-To: > u...@mydomain.tld" instead of "Delivered-To: > user+det...@mydomain.tld". If this is the source of the problem, then > how should I try to fix it? >
Sorry, I just forgot to comment out this line in the postfix config: mailbox_transport·=·lmtp:unix:private/dovecot-lmtp Now I commented it, and the messages properly have "Delivered-To: user+det...@mydomain.tld" header. But they are still dropped into the INBOX folder, so that was not the cause of the problem. -- Respectfully, Denis Shadrin