By default, postsuper 1 performs the operations requested with the -s and -p command-line options on all Postfix queue directories - this includes the incoming , active and deferred directories with mail files and the bounce , defer , trace and flush directories with log files.
For example, to delete all mail with exactly one recipient user example. As a safety measure, the word ALL must be specified in upper case.
There is a very small possibility that postsuper deletes the wrong message file when it is executed while the Postfix mail system is delivering mail. The scenario is as follows: 1 The Postfix queue manager deletes the message that postsuper 1 is asked to delete, because Postfix is finished with the message it is delivered, or it is returned to the sender. Move one message with the named queue ID from the named mail queue s default: incoming , active and deferred to the hold queue.
Specify " -h ALL " to hold all messages; for example, specify " -h ALL deferred " to hold all mail in the deferred queue. It becomes subject to expiration after it is released from "hold".
This feature is available in Postfix 2. Move one message with the named queue ID from the named mail queue s default: hold to the deferred queue. Learn more. Asked 3 years, 9 months ago. Active 2 years, 7 months ago. Viewed 1k times. Improve this question. Add a comment. Active Oldest Votes. Improve this answer.
Philippe Gachoud Philippe Gachoud 5 5 bronze badges. Hmm, that's strange I was only stabbing in the dark since you didn't include the full list in the OP. This also worked for me, except I ended up rebooting afterwards because no combination of restarting postfix and cronie seemed to pick up the changes. The running postdrop processes don't seem to notice the permission changes, like they're caching the details somewhere. I had to:. It does seem like some recent update has caused this though.
Do you use postgrey?
0コメント