Rerun emails in the queue/bad
How do I run the emails in the queue/bad again? I need to see why the failed and get them to work. Thanks.
On 11/20/18 8:20 AM, Kaleb White wrote:
How do I run the emails in the queue/bad again? I need to see why the failed and get them to work. Thanks.
There should be error messages in the 'mailman' log for each preserved file. These would be like
'Skipping and preserving unparseable message: ....psv'
'Unpickling .bak exception: <error msg> Preserving file: ....psv'
'.bak file max count, preserving file: ....psv'
The first of these indicates an error in retrieving the message from it's original queue. The others have to do with how message loss is avoided. When a .pck file in a queue is processed, it is read and renamed to a .bak. Then if processing is interrupted by a crash, upon restart the .bak file will be processed. The second error above indicates a problem in unpickling the .bak and the third says the same .bak has already been tried too many times.
You may be able to examine the files by pointing 'mailman qfile' at them. If that fails, either 'cat' or 'strings' may produce something useful. If they appear to be good, you can reprocess them by renaming to .pck, moving to queue/shunt and running 'mailman unshunt'.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Kaleb White
-
Mark Sapiro