[pfx] Re: message archival

2025-04-24 Thread Viktor Dukhovni via Postfix-users
On Thu, Apr 24, 2025 at 09:43:34AM -0400, Wietse Venema via Postfix-users wrote: > > This is a sketch, fill in the details and test with care. > > I wish this were easier. If Postfix were to provide native support, > what should it look like? I'm thinking of an intermediate program > that annotat

[pfx] message archival

2025-04-24 Thread Wietse Venema via Postfix-users
Viktor Dukhovni via Postfix-users: > So you are generating separate copies (always_bcc), but you SHOULD > instead use "recipient_bcc_maps", which makes it possible to encode the > original address in the localpart of the per-recipient Bcc address, > and the resulting envelope can be moved into the

[pfx] Re: How to correctly prepend headers to email with multiple recipients?

2025-04-24 Thread Bill Cole via Postfix-users
On 2025-04-24 at 04:42:00 UTC-0400 (Thu, 24 Apr 2025 11:42:00 +0300) Mike Teplynin via Postfix-users is rumored to have said: On Thu, Apr 24, 2025 at 11:27 AM Jaroslaw Rafa via Postfix-users wrote: As usual in such cases, I think you can write a milter that would do the job exactly as you w

[pfx] Re: How to correctly prepend headers to email with multiple recipients?

2025-04-24 Thread Mike Teplynin via Postfix-users
On Thu, Apr 24, 2025 at 11:27 AM Jaroslaw Rafa via Postfix-users wrote: > As usual in such cases, I think you can write a milter that would do the job > exactly as you want. I'm not sure that I have enough skills to write a milter, but this is my plan B :) -- Best regards, Mike Teplynin ___

[pfx] Re: How to correctly prepend headers to email with multiple recipients?

2025-04-24 Thread Jaroslaw Rafa via Postfix-users
Dnia 24.04.2025 o godz. 10:21:37 Mike Teplynin via Postfix-users pisze: > Yes, it's about email archiving on edge server, even before relaying > messages to internal servers for checking for spam, viruses, etc. > Currently i'm adding headers in the messages and then do always_bcc > for send to stor

[pfx] Re: How to correctly prepend headers to email with multiple recipients?

2025-04-24 Thread Viktor Dukhovni via Postfix-users
On Thu, Apr 24, 2025 at 10:21:37AM +0300, Mike Teplynin via Postfix-users wrote: > On Thu, Apr 24, 2025 at 9:46 AM Viktor Dukhovni via Postfix-users > wrote: > > > Well, that's rather important information, that wasn't originally > > provided. So this an email archiving use case. In that case,

[pfx] Re: How to correctly prepend headers to email with multiple recipients?

2025-04-24 Thread Mike Teplynin via Postfix-users
On Thu, Apr 24, 2025 at 9:46 AM Viktor Dukhovni via Postfix-users wrote: > Well, that's rather important information, that wasn't originally > provided. So this an email archiving use case. In that case, > might it not be possibl/desirable to archive a separate copy > of each message, that isn'