[1/2OT]Request for small script

From: Stef Mit (no email)
Date: Mon Mar 01 2004 - 13:43:52 EST


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








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD