help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie with Gnus and posteo email setup


From: Nick Dokos
Subject: Re: Newbie with Gnus and posteo email setup
Date: Thu, 23 May 2019 13:30:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]