Patrick Ben Koetter:
> I can put a mail on HOLD and release it later with the postsuper command.
> That's great for debugging purposes, but only if I need to send the message
> just once.
> 
> Would it be possible to expand the postsuper command with an optional command
> line parameter that releases the message, but does not delete it from the hold
> queue, so someone who needs to debug can resend it as many times as required
> until I decide to ditch it?

Postfix queue files should not have multiple hard links.

Consider using RSYNC to COPY the file from the hold queue to the
incoming queue, using the same file name. With the current Postfix
queue implementation this is guaranteed not to cause a file name
collision as long as the file in the HOLD queue keeps the same
(device, inode) numbers.

        Wietse

> The queue id could change. That's okay, because it is Postfix internal. The
> message-id should not change.
> 
> p...@rick
> 
> P.S.
> I know I can write a script that does the same, but I'd rather not take the
> "mailscanner" approach and work around Postfix' control of it's own queue
> management.
> 
> -- 
> All technical questions asked privately will be automatically answered on the
> list and archived for public access unless privacy is explicitely required and
> justified.
> 
> saslfinger (debugging SMTP AUTH):
> <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
> 
> 

Reply via email to