On Mon, Mar 13, 2017 at 2:02 PM, Fazzina, Angelo <angelo.fazz...@uconn.edu> wrote:
> Yes, > > But obviously you have to change the grep to grab your emails and not > everything from March 10th. > > Also you may want to test it on one email to learn how it works, and not > blindly do what I suggest. Up to you. > > After you do one, go find it in the HOLD queue. > > -ALF > > > > -Angelo Fazzina > > Operating Systems Programmer / Analyst > > University of Connecticut, UITS, SSG, Server Systems > > 860-486-9075 <(860)%20486-9075> > > > > *From:* Sean Son [mailto:linuxmailinglistsem...@gmail.com] > *Sent:* Monday, March 13, 2017 2:00 PM > *To:* Fazzina, Angelo <angelo.fazz...@uconn.edu>; > postfix-users@postfix.org > *Subject:* Re: How do I move messages from a sender to the HOLD queue? > > > > > > > > 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? > > Sure sounds good! thanks man, ill contact you if I run into any issues