On Thu, 18 Feb 2021 13:08:28 +0000 Darac Marjal <mailingl...@darac.org.uk> wrote: > What I use is: > > if envelope :detail :regex "to" "(.+)" { > set :upperfirst :lower "detail" "${1}"; > fileinto :create "Tagged/${detail}"; > stop; > } > > Which says "if the envelope detail is not empty, copy it to a variable > called 'detail' and titlecase it, then file the message into > Tagged/$detail, creating that if necessary". I think the most relevant > part here is using a regex to match on the detail - that copies the > value of the detail into $1, which you can then use as you see fit. Hi! Are you sure it works with aliases? I have tried putting it in my sieve, but for me it works only for "user+detail", i.e. when I use an actually existing user name + detail. If I use an "alias+detail", the message is still dropped into INBOX. -- Respectfully, Denis Shadrin
- Messages sent to alias+detail end up in INBOX ml
- Re: Messages sent to alias+detail end up in INBOX Anton Dollmaier
- Re: Messages sent to alias+detail end up in INBO... ml
- Re: Messages sent to alias+detail end up in ... ml
- Re: Messages sent to alias+detail end up... ml
- Re: Messages sent to alias+detail e... Bjoern Franke
- Re: Messages sent to alias+deta... Yassine Chaouche
- Re: Messages sent to alias+... Darac Marjal
- Re: Messages sent to alias+... Yassine Chaouche
- Re: Messages sent to alias+... ml
- Re: Messages sent to alias+... ml
- Re: Messages sent to alias+... Daryl Richards
- Re: Messages sent to alias+... ml
- Re: Messages sent to alias+... Daryl Richards
- Re: Messages sent to alias+... ml
- Re: Messages sent to alias+... Yassine Chaouche
- Re: Messages sent to alias+... Yassine Chaouche
- Re: Messages sent to alias+... ml
- Re: Messages sent to alias+deta... ml
- Re: Messages sent to alias+deta... Postmaster