From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: David Masterson <dsmasterson@icloud.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Gnus, Oauth2, & nnimap-authenticator
Date: Mon, 6 Jan 2025 08:16:32 +0000 [thread overview]
Message-ID: <87zfk4gxwg.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87cyh3rp6a.fsf@icloud.com> (David Masterson's message of "Fri, 03 Jan 2025 23:52:45 -0800")
Response below/inline for email David Masterson wrote:
> (original email sent 3 Jan 2025 at 23:52)
>
> I tried, but I had trouble figuring out Davmail -- the docs are
> confusing for a newbie. Do you have a simplified Davmail properties
> file for Gnus<->Outlook you could share along with the Gnus & SMTP
> setup in Emacs? I work better copying from others. ;)
Davmail comes with some example configurations, one of them for Exchange
(aka Outlook). Specifically, for Outlook, the "davmail.properties"
config file will have this entry:
davmail.url=https://outlook.office365.com/ews/exchange.asmx
Then, in my .gnus.e file, I have
--8<---------------cut here---------------start------------->8---
(setq mail-sources (list
(list 'pop
:server "localhost"
:user "ucecesf@ucl.ac.uk"
:port 1110)
))
--8<---------------cut here---------------end--------------->8---
which tells gnus to access the POP server at port 1110 which is where
davmail uses to serve the emails it gets from Outlook.
I use (list ...) for reasons not related to Outlook; the above is just
one part of my configuration.
If you want IMAP, the port number will be different and you will
probably wish to define an entry in gnus-secondary-select-methods
instead of mail-sources (but I do not have an example for this
unfortunately). I prefer POP so that I can manage the emails myself. I
am not concerned with sharing an IMAP server over multiple devices.
HTH,
eric
--
Eric S Fraga via gnus (Emacs 31.0.50 2024-12-17) on Debian 12.8
next prev parent reply other threads:[~2025-01-06 8:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-02 6:36 Gnus, Oauth2, & nnimap-authenticator David Masterson
2025-01-02 17:16 ` Bob Newell
2025-01-03 3:07 ` David Masterson
2025-01-03 11:10 ` Eric S Fraga
2025-01-04 7:52 ` David Masterson
2025-01-04 9:29 ` Björn Bidar
[not found] ` <87msg753m4.fsf@>
2025-01-06 0:08 ` David Masterson
2025-01-07 9:36 ` Björn Bidar
2025-01-06 8:16 ` Fraga, Eric [this message]
2025-01-06 8:19 ` Fraga, Eric
2025-01-06 16:13 ` Leo Butler
2025-01-06 16:31 ` Fraga, Eric
2025-01-06 17:39 ` Leo Butler
2025-01-07 6:11 ` David Masterson
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zfk4gxwg.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=dsmasterson@icloud.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).