Messages sent to alias+detail end up in INBOX

Daryl Richards daryl at isletech.net
Thu Feb 18 21:36:01 EET 2021


On 2021-02-18 2:23 p.m., ml at shadrinden.ru wrote:

> So there are two questions:
> 
> 1. Is there a way to make dovecot-lmtp preserve the detail part of the address in the envelope?
> 
> or
> 
> 2. Is there a way to cut a part of the address from the header "To"? I mean, cut the part between the + and the @ and use this part as a variable for fileinto. I have tried this:
> 
> if header :matches "to" "+(*)@" {
>    fileinto :create "Tagged/${1}";
>    stop;
> }
> 
> but the message is still dropped into INBOX.

Just to ask - when you say 'alias' do you mean something is re-writing 
the address based on some rule? If so, it sounds to me like that is 
dropping the +detail...

-- 
Daryl Richards
Isle Technical Services Inc.


More information about the dovecot mailing list