So, there is now way that Dovecot can create folders with "detail" name for mail sent to "alias+detail" address?
On Wed, 17 Feb 2021 18:38:45 +0300 ml@shadrinden.ru wrote:
On Wed, 17 Feb 2021 18:13:13 +0300 ml@shadrinden.ru wrote:
If I understand this correctly, this is needed so that the messages sent to alias+detail@mydomain.tld had "Delivered-To" header not with value of "user@mydomain.tld" but with value of "user+detail@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: user@mydomain.tld" instead of "Delivered-To: user+detail@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+detail@mydomain.tld" header. But they are still dropped into the INBOX folder, so that was not the cause of the problem.
-- Respectfully, Denis Shadrin