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.
On Thu, 18 Feb 2021 14:36:01 -0500 Daryl Richards <daryl at isletech.net> wrote:> 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...I mean the aliases defined in /etc/aliases, like jane: joe -- Respectfully, Denis Shadrin