2

I have setup emacs to use gnutls for smtp authentication with a partially complete .authinfo file (it has no password). When I send an email, it prompts for the password, and if I type that in correctly, it works perfectly.

If I type it in incorrectly though, the authentication fails (as it should), but I have to restart emacs to try again because it saves the bad password in memory, and reuses it if I send again. Is there a way to flush the saved password so I will get prompted again?

John Kitchin
  • 2,236
  • 1
  • 17
  • 25

1 Answers1

4

Try M-x auth-source-forget-all-cached.

legoscia
  • 39,593
  • 22
  • 116
  • 167