all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Newbie with Gnus and posteo email setup
Date: Thu, 23 May 2019 13:30:06 -0400	[thread overview]
Message-ID: <875zq1m63l.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 87blztw3yj.fsf@ericabrahamsen.net

Eric Abrahamsen <eric@ericabrahamsen.net> 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




  reply	other threads:[~2019-05-23 17:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23  5:50 Newbie with Gnus and posteo email setup oury.dustin
2019-05-23 16:06 ` Eric Abrahamsen
2019-05-23 17:30   ` Nick Dokos [this message]
2019-05-23 17:48     ` Eric Abrahamsen
2019-05-24 14:29       ` Nick Dokos
2019-05-24 18:02         ` Eric Abrahamsen
2019-05-23 21:26 ` Tomas Nordin
     [not found]   ` <a368152ed065e6faf513cf684f90ed98@posteo.net>
2019-05-25 15:31     ` Tomas Nordin
2019-05-27 21:52       ` "Gnus" in other editors/IDEs (was: Re: Newbie with Gnus and posteo email setup) Emanuel Berg via help-gnu-emacs
2019-05-27 22:18         ` "Gnus" in other editors/IDEs Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zq1m63l.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.