The requested message could not be converted to an RFC-822 compatible format.

From time to time, archivemail run against the exchange server may fail with an error such as:

archivemail: Failed to fetch message sizes; server says 'The requested message could not be converted to an RFC-822 compatible format.' archivemail: unexpected error encountered - shutting down

When it does, determine the problem message by running fetchmail by hand:
fetchmail -v | grep couldn\'t
and delete it via IMAP manually as such


# openssl s_client -crlf -connect server:993

. login user@domain {password}
. select INBOX
. store flags \Deleted
. expunge
. logout

Note: the ‘.’ above are necessary.
http://bobpeers.com/technical/telnet_imap

Leave a Reply

Your email address will not be published. Required fields are marked *

*


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>