Hi,> So, there is now way that Dovecot can create folders with "detail" name for mail sent to "alias+detail" address? >did you take a look into the logs? E.g. in my setup, dovecot complains when sieve should put the message into a folder which does not exist. Maybe it logs something also in your case why it does not create the folder. Regards Bjoern
Yo Denis, As bjoern and Anton already said, you need a sieve script that has a rule that says every mail that has the "detail" keyword in the "to" header must go to the "detail" folder. It works with static values. But I don't know if you can dynmicaly create folders with the "detail" part put in a variable for example, ask the sieve to create it if it doesn't exist, then deliver mail to it. Yassine Le 2/18/21 ? 1:27 PM, Bjoern Franke a ?crit?:> Hi, > >> So, there is now way that Dovecot can create folders with "detail" name for mail sent to "alias+detail" address? >> > did you take a look into the logs? E.g. in my setup, dovecot complains > when sieve should put the message into a folder which does not exist. > > Maybe it logs something also in your case why it does not create the folder. > > Regards > Bjoern
On Thu, 18 Feb 2021 13:27:34 +0100 Bjoern Franke <bjo at schafweide.org> wrote:> Hi, > > > So, there is now way that Dovecot can create folders with "detail" > > name for mail sent to "alias+detail" address? > > did you take a look into the logs? E.g. in my setup, dovecot complains > when sieve should put the message into a folder which does not exist. > > Maybe it logs something also in your case why it does not create the > folder. > > Regards > BjoernHi! I'm sorry I didn't word it more clearly. The problem is not with creating folders, just with putting messages into them. If I send a message to "user+detail", the "detail" folder is created just fine, and the message is put there. Problems are axactly with one use case: when I send a message to "alias+detail". In that case it is just put into INBOX regardless of whatever I try to define in sieves with ":detail" rule. -- Respectfully, Denis Shadrin
On Thu, 18 Feb 2021 13:27:34 +0100 Bjoern Franke <bjo at schafweide.org> wrote:> Hi, > > > So, there is now way that Dovecot can create folders with "detail" > > name for mail sent to "alias+detail" address? > > did you take a look into the logs? E.g. in my setup, dovecot complains > when sieve should put the message into a folder which does not exist. > > Maybe it logs something also in your case why it does not create the > folder. > > Regards > BjoernHi! I'm sorry I didn't word it more clearly. The problem is not with creating folders, just with putting messages into them. If I send a message to "user+detail", the "detail" folder is created just fine, and the message is put there. Problems are axactly with one use case: when I send a message to "alias+detail". In that case it is just put into INBOX regardless of whatever I try to define in sieves with ":detail" rule. -- Respectfully, Denis Shadrin