Re: Messages sent to alias+detail end up in INBOX

2021-02-21 Thread ml
On Sun, 21 Feb 2021 10:28:41 +0100 Yassine Chaouche wrote: > Did you disable enable_original_recipient and have postfix <= 3.2 ? > (I had to do this for a deduplication problem) > > http://www.postfix.org/postconf.5.html#enable_original_recipient > > Yassine -- admin sysweb. > > > Le

Re: Messages sent to alias+detail end up in INBOX

2021-02-21 Thread Yassine Chaouche
Did you disable enable_original_recipient and have postfix <= 3.2 ? (I had to do this for a deduplication problem) http://www.postfix.org/postconf.5.html#enable_original_recipient Yassine -- admin sysweb. Le 2/21/21 à 10:22 AM, Yassine Chaouche a écrit : Could it be postfix's cleanup /

Re: Messages sent to alias+detail end up in INBOX

2021-02-21 Thread Yassine Chaouche
Could it be postfix's cleanup / trivial-rewrite getting in the way and rewriting headers  ? Yassine -- admin sysweb. Le 2/18/21 à 9:10 PM, m...@shadrinden.ru a écrit : On Thu, 18 Feb 2021 14:57:19 -0500 Daryl Richards wrote: Do you have propagate_unmatched_extensions turned on?

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Daryl Richards
On 2021-02-18 2:46 p.m., m...@shadrinden.ru wrote: On Thu, 18 Feb 2021 14:36:01 -0500 Daryl Richards 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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Daryl Richards
On 2021-02-18 2:23 p.m., m...@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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread ml
On Thu, 18 Feb 2021 14:57:19 -0500 Daryl Richards wrote: > Do you have propagate_unmatched_extensions turned on? > > http://www.postfix.org/aliases.5.html shows that has to be on > otherwise it could drop the +detail part... On my machine it is by default set to

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread ml
On Thu, 18 Feb 2021 14:36:01 -0500 Daryl Richards 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 --

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread ml
On Thu, 18 Feb 2021 13:08:28 + Darac Marjal 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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Daryl Richards
On 2021-02-18 7:19 a.m., m...@shadrinden.ru wrote: So, there is now way that Dovecot can create folders with "detail" name for mail sent to "alias+detail" address? Have you checked the dovecot settings for lmtp_save_to_detail_mailbox and recipient_delimiter?

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Postmaster
On Thu, 18 Feb 2021 13:27:34 +0100 Bjoern Franke 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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread ml
On Thu, 18 Feb 2021 13:27:34 +0100 Bjoern Franke 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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread ml
On Thu, 18 Feb 2021 08:44:30 -0500 Daryl Richards wrote: > On 2021-02-18 7:19 a.m., m...@shadrinden.ru wrote: > > So, there is now way that Dovecot can create folders with "detail" > > name for mail sent to "alias+detail" address? > Have you checked the dovecot settings for

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread ml
On Thu, 18 Feb 2021 13:08:28 + Darac Marjal 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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Yassine Chaouche
Le 2/18/21 à 2:08 PM, Darac Marjal a écrit : 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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Darac Marjal
On 18/02/2021 12:53, Yassine Chaouche wrote: > 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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Yassine Chaouche
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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread Bjoern Franke
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

Re: Messages sent to alias+detail end up in INBOX

2021-02-18 Thread ml
So, there is now way that Dovecot can create folders with "detail" name for mail sent to "alias+detail" address? On Wed, 17 Feb 2021 18:38:45 +0300 wrote: > On Wed, 17 Feb 2021 18:13:13 +0300 > wrote: > > > If I understand this correctly, this is needed so that the messages > > sent to

Re: Messages sent to alias+detail end up in INBOX

2021-02-17 Thread ml
On Wed, 17 Feb 2021 18:13:13 +0300 wrote: > If I understand this correctly, this is needed so that the messages > sent to alias+det...@mydomain.tld had "Delivered-To" header not with > value of "u...@mydomain.tld" but with value of > "user+det...@mydomain.tld". Am I right? > > So I have put

Re: Messages sent to alias+detail end up in INBOX

2021-02-17 Thread ml
Hi, Anton! > Hi Denis, > > > > I expected that when I send a message to alias+det...@mydomain.tld, > > it would go into the "detail" folder of u...@mydomain.tld. However, > > it goes into the INBOX folder of u...@mydomain.tld. > > > > Is it the intended behavior? > > It is. > > To achieve

Re: Messages sent to alias+detail end up in INBOX

2021-02-17 Thread Anton Dollmaier
Hi Denis, I expected that when I send a message to alias+det...@mydomain.tld, it would go into the "detail" folder of u...@mydomain.tld. However, it goes into the INBOX folder of u...@mydomain.tld. Is it the intended behavior? It is. To achieve the desired folder, you need a sieve

Messages sent to alias+detail end up in INBOX

2021-02-17 Thread ml
Hi, everyone! I have seemingly correct settings for details to work: when I send a message to user+det...@mydomain.tld, it goes into the "detail" folder of u...@mydomain.tld. Also I have working aliases, so when I send a message to al...@mydomain.tld, it goes into the INBOX folder of