|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[1/2OT]Request for small script
From: Stef Mit (mitiste
iit.edu)
Date: Mon Mar 01 2004 - 12:43:52 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Could anybody advise me of a small script capable of taking the output
of postqueue -p and processing specific messages based on the To:
field? Right now I am putting all emails on hold, and all I want to do
is to process (script), once in a while (cron) something similar to
(pseudo-code):
postqueue -p ==> if in any of the "To" fields there is a specific
string (e.g. username\
domain\.com), go back and read the message ID,
and process the message through postqueue -H <msg_ID>
TIA,
Stef
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]