Pigeonhole: sieve_redirect_envelope_from orig_recipient results in mail bombs

2025-02-27 Thread doobry via dovecot
Dear Dovecot community, we changed `sieve_redirect_envelope_from` to `orig_recipient` recently to fix sieve redirects in case the forwarded mail comes from a DMARC-enabled domain. While this works well, it creates a new problem: if the receiving mail server (the one in charge of the redirect

Re: Pigeonhole: sieve_redirect_envelope_from orig_recipient results in mail bombs

2025-02-28 Thread doobry via dovecot
Hello again, Schulz wrote: > You can look at the headers and reject Mails with Headers["auto-submitted"]. Sieve should add them. Thanks for the pointer! I started playing with it but ran into two problems: 1) It's only an option when possible to be configured server-wide (by default) as user

Re: Pigeonhole: sieve_redirect_envelope_from orig_recipient results in mail bombs

2025-02-28 Thread doobry--- via dovecot
Hello again, doobry wrote: > It's only an option when possible to be configured server-wide (by > default) as users will not add it to their sieve redirect rules for > sure. > [...] > > So I searched for a way to detect that the bounce message is a reply to > a sieve redirect. I think I found a