March 15, 2026
2:02 p.m.
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.