Page 1 of 1

Plus Addressing in Sub Folder

Posted: Tue 1. Oct 2019, 14:46
by guik1
Hi Everyone,

I try many different thing but i can't find one who is working on Keyhelp.

https://wiki.dovecot.org/LDA/Postfix
https://news.gandi.net/en/2018/07/fun-with-sieve-rules/

I would like to have plus addressing automatically going to sub folder without having to create every filter manually.

Do you have something like this already working ?

Re: Plus Addressing in Sub Folder

Posted: Tue 1. Oct 2019, 15:25
by nikko
No, is not automatically working. You can only do that manually.

Re: Plus Addressing in Sub Folder

Posted: Tue 1. Oct 2019, 16:32
by guik1
It's possible with postfix and dovecot so it's just a configuration issue ...

From the GUI it's not yet possible but from dovecot or postfix config file it should be possible...

Re: Plus Addressing in Sub Folder

Posted: Fri 14. Feb 2020, 19:49
by guik1
Hi Everyone,

I finally found what i was looking for :

require ["variables", "fileinto", "envelope", "subaddress", "mailbox"];
# rule:[PLUSFOLDER]
if envelope :matches :detail "to" "*" {
fileinto :create "INBOX.${1}";
}

Hope it will help someone :)