Thomas Krichel writes

> So maybe just renaming .psv to .pck and moving to shunt does not
> make a file in the bad queue fit for unshunting.

  It turns out this is correct. I just did submit the messages badly.
  The messages need to be copied from the 'bad' directory into the
  'in' directory. There is no need to unshunt. Here is a bash script
  for this

#!/bin/bash

qdir=/var/lib/mailman3/queue
for fufi in $qdir/bad/*.psv; do
  if [ -f "$fufi" ]; then
    psv_bana=$(basename "$fufi")
    pck_bana="${psv_bana%.*}.pck"
    cp $qdir/bad/$psv_bana $qdir/in/$pck_bana
  fi
done

  I hope this will be useful!

-- 
  Written by Thomas Krichel http://openlib.org/home/krichel on his 22199th day.
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/M6VKXJE3FRG5LWUEQE5NAMLVI6B7XUWC/

This message sent to [email protected]

Reply via email to