From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: tutorial for rmail and IMAP Date: Wed, 30 Apr 2014 01:50:07 +0100 Message-ID: <87lhunljy8.fsf@robertthorpeconsulting.com> References: <87mwf7yept.wl%hskuhra@eumx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398819055 19618 80.91.229.3 (30 Apr 2014 00:50:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2014 00:50:55 +0000 (UTC) Cc: Sam Halliday , help-gnu-emacs@gnu.org To: "Herbert J. Skuhra" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 30 02:50:45 2014 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 1WfIjS-0002Tw-Lb for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2014 02:50:42 +0200 Original-Received: from localhost ([::1]:54173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfIjS-0005Yu-93 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Apr 2014 20:50:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfIj5-0005Iy-4d for help-gnu-emacs@gnu.org; Tue, 29 Apr 2014 20:50:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfIiw-0001ef-TJ for help-gnu-emacs@gnu.org; Tue, 29 Apr 2014 20:50:19 -0400 Original-Received: from outbound-smtp01.blacknight.com ([81.17.249.7]:60678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfIiw-0001eY-N8 for help-gnu-emacs@gnu.org; Tue, 29 Apr 2014 20:50:10 -0400 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp01.blacknight.com (Postfix) with ESMTP id 564F4C0019 for ; Wed, 30 Apr 2014 00:48:30 +0000 (UTC) Original-Received: (qmail 22488 invoked from network); 30 Apr 2014 00:50:08 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.79.67.225]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 30 Apr 2014 00:50:08 -0000 In-Reply-To: <87mwf7yept.wl%hskuhra@eumx.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.7 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:97461 Archived-At: Earlier this week Sam Halliday was trying to access his gmail account using movemail. He couldn't do it and I couldn't access mine when I tried it. I got some advice off-list from Herbert Skuhra and tried it out today. It worked. Oddly enough a command I tried out earlier that failed started to work. I can download my gmail email with: movemail -p 'imaps://MyEmail%40gmail.com@imap.gmail.com' gmail.mbox mypassword As Herbert Skuhra told me "imaps" must be used instead of "imap" to activate SSL. %40 replaces the @ in the username. The password can be on the command line, if it isn't then movemail asks for it. The "-p" preserves the source inbox, making it a copy rather than a move - it's not needed if you want a move. I think the problem here was that gmail takes some time to enable IMAP. Perhaps when you click on "Enable IMAP" in the settings it only takes effect a few hours later or the next day. That's the best explanation I can come up with anyway. BR, Robert Thorpe