GUI version GNU Emacs (x86_64-pc-linux-gnu, GTK+ Version 3.16.7) of 2015-11-02, from emacs-snapshot.

Linux Ubuntu distrubition

Gnus version 5.13


I switched to Linux, to be able to read my own mail.

When I'm reading my mail, I would like to reply it.

When I type my answer in the message window, and I send it with C-c C-s, I get the error messages:

Sending via mail...
let*: Cannot infer SMTP

When Googling around, it seems none had stumbled this issue earlier. I found only the contents of the Lisp code that produces this error message. It seems my SMTP is unknown to Gnus.

But how could I solve it? Gnus seems to have access to my Gmail.

  • I use C-c C-c to send, never knew about C-c C-s :-)
    – asjo
    Nov 7, 2015 at 19:35
  • 2
    Can you please share with us your email configuration?
    – Nsukami _
    Nov 7, 2015 at 19:39
  • 1
    Your error seems to code similar on the following emacswiki page : emacswiki.org/emacs/MultipleSMTPAccounts. Check your configuration for possibly wrong gnus-posting-styles and/or other settings.
    – rimero
    Mar 7, 2016 at 1:43
  • @rimero thanks for your reply! It's appreciated.
    – ReneFroger
    Mar 7, 2016 at 7:56

1 Answer 1


First, please use stable version (24.3, 24.4, 24.5), many people reported v25 snapshot has weird bug. Don't use 25 until it's official released on http://ftp.gnu.org/gnu/emacs/

Second, make sure GnuTLS and OpenSSH are installed. They should be installed on ubuntu by default. but it never hurts to double check.

Third, read my https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org. It includes all the information to use Gmail in Gnus. At minimum, you need check my sample ~/.gnus.el and ~/.authinfo.gpg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.