Messages sent to alias+detail end up in INBOX

ml at shadrinden.ru ml at shadrinden.ru
Thu Feb 18 14:19:44 EET 2021


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 at shadrinden.ru> wrote:

> On Wed, 17 Feb 2021 18:13:13 +0300
> <ml at shadrinden.ru> wrote:
> 
> > If I understand this correctly, this is needed so that the messages
> > sent to alias+detail at mydomain.tld had "Delivered-To" header not with
> > value of "user at mydomain.tld" but with value of
> > "user+detail at 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 at mydomain.tld" instead of "Delivered-To:
> > user+detail at 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 at mydomain.tld" header. But they are still dropped into the
> INBOX folder, so that was not the cause of the problem.
> 
> --
> Respectfully,
> Denis Shadrin


More information about the dovecot mailing list