-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 5 Feb 2015, Thomas Güttler wrote:
What specific action shall be done via IMAP? The move? Then use any IMAP client library, use the LIST command to get the mailboxes, FETCH to get the messages and COPY/EXPUNGE to move them.
You are right moving the mail should be simple.
I ask myself it is possible to store the date of the resubmission in the mail itself.
How shall the date be visible to the user?
Remember that altering the message may invalidate DKIM and other security / verification stuff.
Instead of a simple "mv" you can prefix the message with "X-Date: " header, so you mark the message, but it is not visible to the user.
If your goal is to have the message "up" according the client side message sorting by date, you would need to alter the Date: header and possibly break message verification.
What's your goal in order to " store the date of the resubmission "?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVNNRcnz1H7kL/d9rAQIYjAf/WXg66jD3c9Lh+gRA7wiLkTtUKwNRdECr wPAiUnKoNs2pQn3L0k2sSXyZ0xPWAf4kWB6SH5QiVdJ7auvsTrcz/tuXY0Ir+oOL R6RBymXOCObKhnNziVuJbNshSbslj8kNvd0UOOOH//4ID8tXx3i3CbtkpO5h4gtV lySwuVZesDpJOG/+UuyliR2qEtwSG/5L99wvijzVT+SubIyQMX6tesL5Us0A1fGE 9B8XcNyISEUVjLcBHF9C8SmBv8Ux8GOBO1TnrpUH6EzVdYCR6YNOkw9DBgKBEw5S VRqjfkePr4eZP1ZLJenW/DbqXLCOPFtasGBsfTqNrNLU9q0BTesmyA== =Edop -----END PGP SIGNATURE-----