Hello everyone,

On Sun, Jul 27, 2014 at 09:48:08PM +0200, Antoine Amarilli wrote:
> The short version of my question is: Is there a way for the
> resend-message command to honor PGP signature/encryption settings
> stored in the target message in the X-Mutt-PGP header?
> 
> The reason why I ask: I want to have postponed messages appear in my
> inbox, and be able to recall them by selecting them in the index view
> and hitting the 'R' key.

For reference, I managed to make this work, by switching to a different
hack which uses recall-message rather than resend-message, but saves the
message to recall in a temporary mailbox first.

Mere is my configuration:

# save postponed mail in the inbox
set postponed="=inbox"
# ugly hack to resume the currently highlighted mail
# may fail messily if you do not create =draft_tmp first
macro index,pager R \
 "<enter-command>set postponed='=draft_tmp' 
my_old_maildir_trash=\$maildir_trash nomaildir_trash<enter>\
 s=draft_tmp<enter><recall-message><enter-command>set postponed='=inbox' 
maildir_trash=\$my_old_maildir_trash<enter>" \
 "recall current message"
# unmodified drafts should be saved back to the inbox, not discarded
set noabort_unmodified

It seems to work for my purposes.

Best,

-- 
Antoine Amarilli

Attachment: signature.asc
Description: Digital signature

Reply via email to