James Robertson wrote:



You could put all those messages on hold and release them after hours. man postsuper; man cron
I think i'll go with this. This might be a dumb question but I have about 600 messages that all have different ID's. man postsuper doesn't highlight how to hold messages from a sender address?

thanks



see the example under the -d delete option (be sure to use postsuper -h instead of postsuper -d).

Something like this (untested):

# hold all mail from [EMAIL PROTECTED]
mailq | tail +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" }
  { if ($7 == "[EMAIL PROTECTED]" )
   print $1 }
  ' | tr -d '*!' | postsuper -h -


--
Noel Jones

Reply via email to