On 2/3/2023 1:30 PM, Bryan Arenal wrote:
Hi there,

I have ~1000 emails that were previously sent from a different
platform (but failed due to a system error) and I've been asked to see
if we can re-send them with our Postfix server.

I've looked into postfix's 'sendmail' as well as dropping a test file
into /var/spool/postfix/hold and trying to move it into deferred and
then flush the queue but neither of those seemed to work.  Is this
even possible?

Thank you in advance!

If these files are well-formed plain text messages, you can use the postfix sendmail command to inject them. See the sendmail(1) man page for usage.
http://www.postfix.org/sendmail.1.html

If these files are some format other than text, you'll need to decide if it's worthwhile to find some way to convert them. If you're lucky there is some existing tool to do that.

The postfix queue file format is (intentionally) not documented, and dropping files directly into a queue directory is not supported.


  -- Noel Jones

Reply via email to