On Mon, Mar 13, 2017 at 1:57 PM, Fazzina, Angelo <angelo.fazz...@uconn.edu>
wrote:

> Example
>
>
>
>
>
> [root@mta1 ~]# postqueue -p|grep "Mar 10"
>
> 9A9AD2B23      1925 Fri Mar 10 06:00:03  owner-CT_FOOD_SYSTEM_LEADER-L*
> cam**AMENDORGANICS*-c...@listserv.uconn.edu
>
> 9D3A41B01       958 Fri Mar 10 23:57:26  MAILER-DAEMON
>
> 958F52E34       958 Fri Mar 10 23:56:24  MAILER-DAEMON
>
> 9FDD21B2E       958 Fri Mar 10 23:57:26  MAILER-DAEMON
>
> 955942E32       958 Fri Mar 10 23:56:25  MAILER-DAEMON
>
> 9EAE52C36     13626 Fri Mar 10 07:11:09  MAILER-DAEMON
>
>
>
> postqueue -p|grep "Mar 10" |awk '{print $1}' |while read id; do echo
> postsuper -h $id;done
>
>
>
> when ready remove the “echo” and it will run.
>
>
>
>
>
>
>
> -Angelo Fazzina
>
> Operating Systems Programmer / Analyst
>
> University of Connecticut,  UITS, SSG, Server Systems
>
> 860-486-9075 <(860)%20486-9075>
>
>
>
> *From:* owner-postfix-us...@postfix.org [mailto:owner-postfix-users@
> postfix.org] *On Behalf Of *Sean Son
> *Sent:* Monday, March 13, 2017 1:47 PM
> *To:* postfix-users@postfix.org
> *Subject:* How do I move messages from a sender to the HOLD queue?
>
>
>
> Hello all
>
> We have over a thousand messages from a certain user that are stuck in our
> mail queue. Is there a way to move those messages to the HOLD queue for
> now? I want to move all messages from that specific sender, to the HOLD
> queue.
>
> All help is greatly appreciated!
>
> Thanks
>
> S
>

Thanks! So just remove the echo command and the script will run?

Reply via email to