mutt-wizard icon indicating copy to clipboard operation
mutt-wizard copied to clipboard

No mailsync with locked GPG key in non-interactive shells

Open ivan-boikov opened this issue 1 year ago • 0 comments

Assume you

  • use pass with a password-protected GPG key
  • clear cached passwords when locking screen
  • run a local mail server
  • use cron to run mailsync
  • don't want to clear MAILTO in case actual errors happen

If so, cron will spam the server with "no secret key" emails. This one-liner prevents it.

ivan-boikov avatar Jan 13 '24 13:01 ivan-boikov