On 18/06/2012 15:26, Amira Othman wrote:
Hi all
I need to manage message in hold queue according to domain of recipient
address. How can I do that ? I thought of edit mailq command but it's not
readable when I tried to edit .any suggestions?
man postsuper
-h queue_id
Put mail "on hold" so that no attempt is made to deliver it.
Move one message with the named queue ID from the named mail queue(s) (default: incoming,
active and deferred)
to the hold queue.
If a queue_id of - is specified, the program reads queue IDs from
standard input.
Specify -h ALL to hold all messages; for example, specify -h ALL
deferred to hold mail in the deferred queue. As a safety measure, the word ALL
must be specified in upper
case.
Note: while mail is "on hold" it will not expire when its time in
the queue exceeds the maximal_queue_lifetime or bounce_queue_lifetime setting. It becomes
subject to expira‐
tion after it is released from "hold".