I have a bunch of messages that were dumped by spamassasin due to errors. (mbox format, i.e. all envelope headers are present starting with "From xxx...")
How can I get exim to deliver them (to local spool files)?
Thanks
(exim 4.69 on Debian Linux)
|
|
|
Was the error with SpamAssassin's config, or are the messages flawed somehow? You can just split the file out into individual messages and resubmit them for normal delivery by piping them to Another option is to use Python's (Python would work to split the messages out for submission too, though I'm sure a search will turn up a few dozen reasonably robust scripts for that kind of task.) |
|||||||
|
|
I ended up doing this:
and it seems to be working so far... there are about a month's worth of messages or more to get through :). (-bm means local delivery, -t means get the recipient from the message headers, -i means don't stop at ".", and -oep means print errors to stderr and exit with error code) |
||||
|
|