From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Freer Newsgroups: gmane.emacs.help Subject: Re: tutorial for rmail and IMAP Date: Thu, 1 May 2014 09:45:47 +0100 (BST) Message-ID: References: <38e264d5-378f-416b-a303-4e3e43ed26f7@googlegroups.com> <7z1twnvoiv.fsf@example.com> <83a9b1ud0o.fsf@example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Trace: ger.gmane.org 1398933991 10010 80.91.229.3 (1 May 2014 08:46:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 May 2014 08:46:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Hume Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 01 10:46:24 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 1WfmdL-00064z-Dw for geh-help-gnu-emacs@m.gmane.org; Thu, 01 May 2014 10:46:23 +0200 Original-Received: from localhost ([::1]:60857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfmdK-0008Cf-U6 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 May 2014 04:46:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfmcy-00087U-AG for help-gnu-emacs@gnu.org; Thu, 01 May 2014 04:46:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wfmcp-0002Bc-69 for help-gnu-emacs@gnu.org; Thu, 01 May 2014 04:46:00 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:60238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfmco-0002BX-VD for help-gnu-emacs@gnu.org; Thu, 01 May 2014 04:45:51 -0400 Original-Received: by mail-wi0-f169.google.com with SMTP id hi5so371557wib.0 for ; Thu, 01 May 2014 01:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version:content-type; bh=UQB7dvIt6HleMZ/1O7pHBBj3iN60I+4i0jyw3EVCfiQ=; b=bP3Qk53JVV7WFVMi6ujIqpAVlLI8K4oPgPMV/pUeNizA52a5QU44WKwaq/4eyvx8Vh 4BsmIyo2H5ReCDQERwSYbq7/pQjV8Ml0fKzqMDjUg+X6MapoobgY2B583INgP0iJ/A+E B3B9IKOW43mcSS/iWfIUIvTgjPit2ElYHBYl1vlhkG2G2ZE1rU2VCl1jTSc5Tq5fTeOT HEkq3yN2/6OnUbQ0/OcWywJWolXNrJ7zJLUSUhy7r9uePsmpK7ZoPkWxQ72BbzvtkKyl tOYI0yvph8+aAlyAA/do0iKCi6jOmuUTe23R1kkkcZrc7GKkDIux05KC20PBzyAESRpx zKXg== X-Received: by 10.180.89.1 with SMTP id bk1mr1209527wib.35.1398933949824; Thu, 01 May 2014 01:45:49 -0700 (PDT) Original-Received: from james.home (host86-154-97-1.range86-154.btcentralplus.com. [86.154.97.1]) by mx.google.com with ESMTPSA id nb8sm2312767wic.18.2014.05.01.01.45.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 May 2014 01:45:48 -0700 (PDT) X-X-Sender: james@james In-Reply-To: <83a9b1ud0o.fsf@example.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 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:97507 Archived-At: On Thu, 1 May 2014, David Hume wrote: > >> You managed to get yahoo working with imap. I've been trying to do that >> without success. >> >>> And got gmail and yahoo working with imap, at least for reading. I had >>> to set up application passwords for both as I have second factor >>> authentication. >> >> What imap and smtp codes did you use? From what I can gather yahoo has imap >> codes for reading mail on mobile phone apps but not PC email. >> > > Notice that this is gnus, not rmail. > > I am not sure what you mean by codes. > > I also have a .auth file. I have this in .gnus: > > (setq user-full-name "????????") > (setq user-mail-address "????????@yahoo.co.uk") > > (setq rmail-preserve-inbox t) > (setq gnus-select-method '(nnimap "gmail" > (nnimap-address "imap.gmail.com") > (nnimap-server-port 993) > (nnimap-stream ssl))) > > (add-to-list 'gnus-secondary-select-methods '(nnimap "yahoo" > (nnimap-address "imap.mail.yahoo.com") > (nnimap-server-port 993) > (nnimap-stream ssl))) > > (setq message-send-mail-function 'smtpmail-send-it > smtpmail-starttls-credentials '(("smtp.mail.yahoo.com" 587 nil nil)) > smtpmail-auth-credentials '(("smtp.mail.yahoo.com" 587 "????????@yahoo.co.uk" nil)) > smtpmail-default-smtp-server "smtp.mail.yahoo.com" > smtpmail-smtp-server "smtp.mail.yahoo.com" > smtpmail-smtp-service 587) Ports I meant sorry. I see you use the tls 587 - I tried the ssl 465 which may be where I've gone wrong. james