Viktor Dukhovni: > On Tue, Aug 30, 2022 at 02:25:20PM +0000, 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 try > > to resend a mail via that system. > > If you're copying queue files between systems, make sure to stop Postfix > on the target system, and run "postsuper -s" as root after copying the > queue file. Queue file permissions need to be 0700 to make the message > deliverable, the owner needs to be the "$mail_owner" user (typically > "postfix").
To reproduce the error without delivering the message, the procedure is to use a non-production machine with deliveries disabled: # postconf defer_transports=smtp,relay default_transport=retry # postfix reload Using the queue file 57850C4DC9 that you sent me off-list: # cp 57850C4DC9 /var/spool/postfix/incoming # chmod 700 /var/spool/postfix/incoming/57850C4DC9 # chown postfix /var/spool/postfix/incoming/57850C4DC9 # postfix flush Wietse