Can I do this:
mvan email out of the Postfix hold queue to say,
Keep the email in
/tmp/foo/for an arbitrary period of time (ranging from seconds to days). During this period, Postfix server could even get bounced one or more times.
And, then, at a time of my choosing,
mvthis email back from
/tmp/foo/to the Postfix hold queue... all without any queue ID clashes and resulting email overwrites?
According to this link, a Queue ID can be guaranteed to be unique only within 1-second intervals! I'm not sure if this is still true.
If I cannot do the above let's say, then can I do this instead:
Generate a new 11-char Queue ID outside of Postfix (say, using
mktemp) that is unique within the Postfix hold queue (at the time of its generation), and
mvthe message back from
/tmp/foo/to the Postfix hold queue with this new Queue ID?
Essentially, my requirement is to hold certain emails for arbitrary periods of time; only that, instead of holding them in the Postfix hold queue, hold them elsewhere.
Many thanks in advance.