From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nick Dokos Newsgroups: gmane.emacs.help Subject: Re: Newbie with Gnus and posteo email setup Date: Thu, 23 May 2019 13:30:06 -0400 Message-ID: <875zq1m63l.fsf@alphaville.usersys.redhat.com> References: <87blztw3yj.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="74583"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 23 19:30:57 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTrYO-000JDL-Kv for geh-help-gnu-emacs@m.gmane.org; Thu, 23 May 2019 19:30:56 +0200 Original-Received: from localhost ([127.0.0.1]:41107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTrYN-0005kK-Ks for geh-help-gnu-emacs@m.gmane.org; Thu, 23 May 2019 13:30:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTrXw-0005g1-9v for help-gnu-emacs@gnu.org; Thu, 23 May 2019 13:30:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTrXu-0000b0-E8 for help-gnu-emacs@gnu.org; Thu, 23 May 2019 13:30:28 -0400 Original-Received: from [195.159.176.226] (port=57886 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTrXq-0000Uu-Gc for help-gnu-emacs@gnu.org; Thu, 23 May 2019 13:30:24 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hTrXj-000IKB-DI for help-gnu-emacs@gnu.org; Thu, 23 May 2019 19:30:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:hqqrpnxnheAkeTInnZ9XvgEkNv8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:120586 Archived-At: Eric Abrahamsen writes: > oury.dustin@posteo.net writes: > >> Greetings, help-emacs! Currently, I´m writing this from a webmail >> interface for posteo.de which is not ideal. I wanted to see if it was >> possible to configure Emacs to use my posteo email and one other alias >> together to sort my emails. Looking around I cannot find good >> documentation for configuring Emacs with posteo. I´m barely beginning >> Emacs and can barely remember a few shortcuts on the keyboard. >> >> Below is pasted from the posteo.de help page for help with email >> clients- > > Hi! And welcome to Emacs/Gnus :) > > The first thing to do is probably check the Gnus manual for the section > on IMAP. Hit "C-h i" to bring up the manual, "m" and type "Gnus" to > select the Gnus manual, then "g" and "Using IMAP" to get to the section > on IMAP. Use space to scroll down. > > The simplest config that will possibly work is to put, in your gnus.el > startup file: > > (setq gnus-select-method '(nnimap "posteo.de")) > > That should prompt you for a username and password, and I _think_ offer > to save them in an ~/.authinfo file (depending on what system you're on) > so you don't have to keep doing that. You may have to create that file > yourself, I can't remember. You can also add the user into the config: > > (setq gnus-select-method '(nnimap "posteo.de" > (nnimap-user "youruser@posteo.de"))) > > I would start with that, and see if Gnus and the server will figure out > your tls situation automatically. If that doesn't work, you'll have to > add something like (nnimap-stream starttls) to the config above (no > double quotes), see the manual for possibilities. > > Try that, and see how it goes. > That's good advice for receiving mail. Sending mail will also require some work, but it depends on how you have configured your machine for mail. I run postfix on my machines and use smtpmail.el: (setq smtpmail-smtp-server "localhost") That sends it to the local postfix which forwards the mail using the smtp relay specified in /etc/postfix/main.cf: relayhost = [smtp.posteo.de] or whatever the appropriate outgoing smtp server should be in your case. You need extra setup in postfix to use an authenticated connection, but that is beyond the scope of this mailing list: for a tutorial, check https://www.linode.com/docs/email/postfix/postfix-smtp-debian7/ and http://www.postfix.org/BASIC_CONFIGURATION_README.html -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler