- Adds a new option:
--cleanup
. When cleanup is enabled on restores, GYB will check each message and confirm that the message has a validFrom:
,Message-ID:
andDate:
header. If the headers are missing or are not in the right format, GYB will modify them. This should solve #342 where restored messages are going to the Spam folder because they did not have valid messages. Note that this modifies the restored message and cannot be undone. - Additional options
--cleanup-from
and--cleanup-date
allow you to specify a replacement header value when--cleanup
is specified and GYB finds the header is not valid. For example,--cleanup --cleanup-from "Nobody <nobody@nowhere.com>" --cleanup-date "Sat, 22 Apr 2006 11:28:00 +0000"