Re: Unexpected record type 'X'

2022-09-06 Thread Viktor Dukhovni
On Tue, Sep 06, 2022 at 09:43:38PM -0400, J Doe wrote: > Out of curiosity ... why do queue files require the execute bit ? That's how they're marked "complete". A partially written queue file is just read-write. When a queue is committed it is marked executable and synced to disk, at that

Re: Unexpected record type 'X'

2022-09-06 Thread J Doe
On 2022-08-30 10:35, Viktor Dukhovni wrote: On Tue, Aug 30, 2022 at 02:25:20PM +, Frank Brendel wrote: So I can try to reproduce it by simply putting that file into the incoming queue? Within the same filesystem, yes. Our test system has FreeBSD 13.1 and Postfix 3.7.2 installed. I'd

Re: Save all emails in transit, including envelope data

2022-09-06 Thread Jim Popovitch
On Tue, 2022-09-06 at 12:07 -0400, Wietse Venema wrote: > Jim Popovitch: > > On Tue, 2022-09-06 at 09:25 -0400, Viktor Dukhovni wrote: > > > On Tue, Sep 06, 2022 at 06:35:05AM -0400, Wietse Venema wrote: > > > > > > > > Any suggestion? > > > > > > > > /etc/postfix/main.cf: > > > >

Re: Save all emails in transit, including envelope data

2022-09-06 Thread Wietse Venema
Jim Popovitch: > On Tue, 2022-09-06 at 09:25 -0400, Viktor Dukhovni wrote: > > On Tue, Sep 06, 2022 at 06:35:05AM -0400, Wietse Venema wrote: > > > > > > Any suggestion? > > > > > > /etc/postfix/main.cf: > > > recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc.pcre > > > > > >

Re: Save all emails in transit, including envelope data

2022-09-06 Thread Jim Popovitch
On Tue, 2022-09-06 at 09:25 -0400, Viktor Dukhovni wrote: > On Tue, Sep 06, 2022 at 06:35:05AM -0400, Wietse Venema wrote: > > > > Any suggestion? > > > > /etc/postfix/main.cf: > > recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc.pcre > > > > /etc/postfix/recipient_bcc.pcre: > >

Re: Save all emails in transit, including envelope data

2022-09-06 Thread Viktor Dukhovni
On Tue, Sep 06, 2022 at 06:35:05AM -0400, Wietse Venema wrote: > > Any suggestion? > > /etc/postfix/main.cf: > recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc.pcre > > /etc/postfix/recipient_bcc.pcre: > (.+)@(+) $1%$2@backup.example Nit: /(.+)@(.+)/ $1%$2@backup.example --

Re: Save all emails in transit, including envelope data

2022-09-06 Thread Wietse Venema
Massimo Federico Bonfigli: > As per the subject says, is there a way to save all email in transit > through postfix, including the basic envelope info (in particular at least > envelope sender and recipients)? > > I know I could use the pipe daemon to invoke a script and save these info, >

Save all emails in transit, including envelope data

2022-09-06 Thread Massimo Federico Bonfigli
As per the subject says, is there a way to save all email in transit through postfix, including the basic envelope info (in particular at least envelope sender and recipients)? I know I could use the pipe daemon to invoke a script and save these info, however that would be my delivery