From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vaidheeswaran C Newsgroups: gmane.emacs.help Subject: Re: Gnus + Gmail + IMAP Date: Tue, 30 Jun 2015 10:18:19 +0530 Message-ID: <55921F93.1020104@gmail.com> References: Reply-To: vaidheeswaran.chinnaraju@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435639721 18087 80.91.229.3 (30 Jun 2015 04:48:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2015 04:48:41 +0000 (UTC) To: Alexander Shukaev , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 06:48:37 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z9nTH-0001Hg-Mw for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 06:48:35 +0200 Original-Received: from localhost ([::1]:45034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9nTH-0007DT-4s for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 00:48:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9nSy-00078Z-4x for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 00:48:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9nSu-00049N-4J for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 00:48:16 -0400 Original-Received: from mail-pd0-x22c.google.com ([2607:f8b0:400e:c02::22c]:35684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9nSt-000492-Sj for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 00:48:12 -0400 Original-Received: by pdbci14 with SMTP id ci14so128870598pdb.2 for ; Mon, 29 Jun 2015 21:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:newsgroups:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=NCQAc3y65QtxXm0yoTotqhD4FKXNakXKCuMHkztKGns=; b=HCZVa+3J9LXGS2e4CR/rnLfrOe4BldpkDXP94nk9/vmy2eyNbqo04qh9dM7Dmhow36 /r4VqvHKuEag8IuLPbbOIq2ptCRl6xMdBBwxXMcOZtGzJwItUWqhHl7VBXPxv5jYxW7R jwYaLNx+zA40TXNiD0ARUjiXF4ApgNPxO5QRiKlPb5XnM2mkjt8yWb4nOLn2jxRpswgN HpPlwOTRhUutitA4KoF0/IojF6xgWGU/jefoMwYOcVoZsFaKgyFgvq7D8SSUz+TD94ex KGq4lv7q+TWj2CeIOa/JNIyihvZ4X3jgul2SlVmdc63R10vrP22oiwYrHLpWXn37Wq5w wqpQ== X-Received: by 10.66.123.81 with SMTP id ly17mr39845971pab.31.1435639689209; Mon, 29 Jun 2015 21:48:09 -0700 (PDT) Original-Received: from [192.168.43.83] ([106.206.147.63]) by mx.google.com with ESMTPSA id r4sm44024273pap.8.2015.06.29.21.48.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 21:48:08 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 Original-Newsgroups: gmane.emacs.help In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105304 Archived-At: If you are on a modern Gnus you can try doing B while in the "groups" buffer and use nnimap as the backend. Gnus will do all the right things for you -- setup authinfo etc etc -- for recieving of mails. It will do nothing for your send side. You need to configure smtp server separately. Only thing the above interface MUST do (but doens't do right now) is to "custom save" your user mail address and user name for use in later sessions. (This is a bug which should be addressed by maintainers). ---------------------------------------------------------------- B runs the command gnus-group-browse-foreign-server (found in gnus-group-mode-map), which is an interactive compiled Lisp function in 'gnus-group.el'. It is bound to B, . (gnus-group-browse-foreign-server METHOD) Browse a foreign news server. If called interactively, this function will ask for a select method (nntp, nnspool, etc.) and a server address (e.g., nntp.some.where). If not, METHOD should be a list where the first element is the method and the second element is the address. [back] On Tuesday 30 June 2015 12:21 AM, Alexander Shukaev wrote: > Hey Everyone, > > Just started to move away from using Gmail through the web interface to > Emacs Gnus. I follow Emacs Wiki to achieve this. Here is the > configuration so far: > > (setq user-mail-address "*@gmail.com" > user-full-name "*") > > (setq gnus-select-method '(nnimap "gmail" > (nnimap-address "imap.gmail.com") > (nnimap-server-port "imaps") > (nnimap-stream ssl) > (nnimap-authinfo-file "~/.authinfo"))) > > (setq smtpmail-smtp-service 587 > gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( > \\|$\\)\\|^[\"]\"[#'()]") > > and > > machine imap.gmail.com login *@gmail.com password * port imaps > machine smtp.gmail.com login *@gmail.com password * port 587 > > When I issue 'M-x gnus RET' I keep getting: > > Opening connection to imap.gmail.com via tls... > Unable to open server nnimap+gmail due to: Unknown service: 993 > nnimap (gmail) open error: ''. Continue? (y or n) n > Couldn't open server on gmail > Warning: Unable to open server nnimap+gmail due to: Unknown service: 993 > > ... > > Opening nnimap server on gmail... > Server nnimap+gmail previously determined to be down; not retrying > Opening nnimap server on gmail...failed: > Checking new news... > Reading active file from gmail via nnimap... > Opening nnimap server on gmail... > Server nnimap+gmail previously determined to be down; not retrying > Opening nnimap server on gmail...failed: > Reading active file via nndraft...done > Checking new news...done > No news is good news > Warning: Opening nnimap server on gmail...failed: ; Server nnimap+gmail > previously determined to be down; not retrying; Opening nnimap server on > gmail...failed: ; Server nnimap+gmail previously determined to be down; not > retrying; Unable to open server nnimap+gmail due to: Unknown service: 993 > > Does anybody have an idea what could go wrong? Thank you. > > Regards, > Alexander >