* Re: Getting email from MS outlook into emacs
@ 2023-11-29 19:08 Presnell,Brett Douglas
2023-11-30 9:52 ` Fraga, Eric
0 siblings, 1 reply; 14+ messages in thread
From: Presnell,Brett Douglas @ 2023-11-29 19:08 UTC (permalink / raw)
To: emacs-orgmode
I had to deal with this last spring. I finally got things working again
with mbsync, msmtp, mu/mu4e, and for the oauth stuff, pizauth. This
combination has worked well for me ever since. Most of the details can
be found at
https://brettpresnell.com/post/email/
I am still using an early version of pizauth, so it's possible that the
details of setting it up may have changed a bit.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-29 19:08 Getting email from MS outlook into emacs Presnell,Brett Douglas
@ 2023-11-30 9:52 ` Fraga, Eric
2023-12-07 20:11 ` Leo Butler
0 siblings, 1 reply; 14+ messages in thread
From: Fraga, Eric @ 2023-11-30 9:52 UTC (permalink / raw)
To: Presnell,Brett Douglas; +Cc: emacs-orgmode@gnu.org, Brett Presnell
On Wednesday, 29 Nov 2023 at 14:08, Presnell,Brett Douglas wrote:
> I had to deal with this last spring. I finally got things working again
> with mbsync, msmtp, mu/mu4e, and for the oauth stuff, pizauth. This
> combination has worked well for me ever since. Most of the details can
> be found at
Thank you for this. Very useful. I have davmail working for me for
authentication so I'm going to stick to what's working. However, it's
nice to know that there is another route possible should davmail stop
working. But sad that we have to through these contortions just to
access our email.
--
: Eric S Fraga, with org release_9.6.6-418-g294a4d in Emacs 30.0.50
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-30 9:52 ` Fraga, Eric
@ 2023-12-07 20:11 ` Leo Butler
0 siblings, 0 replies; 14+ messages in thread
From: Leo Butler @ 2023-12-07 20:11 UTC (permalink / raw)
To: Org Mode List
On Thu, Nov 30 2023, "Fraga, Eric" <e.fraga@ucl.ac.uk> wrote:
> ********************************************************
> Caution: This message was sent from outside the University of Manitoba.
> ********************************************************
>
> On Wednesday, 29 Nov 2023 at 14:08, Presnell,Brett Douglas wrote:
>> I had to deal with this last spring. I finally got things working again
>> with mbsync, msmtp, mu/mu4e, and for the oauth stuff, pizauth. This
>> combination has worked well for me ever since. Most of the details can
>> be found at
>
> Thank you for this. Very useful. I have davmail working for me for
> authentication so I'm going to stick to what's working. However, it's
> nice to know that there is another route possible should davmail stop
> working. But sad that we have to through these contortions just to
> access our email.
Aargh. Thanks for you post and webpage, Brett. It set me off to try to
get oath2.el working with gnus (failed effort #2).
But, I did learn several things, including this post:
https://sourceforge.net/p/davmail/mailman/davmail-users/thread/x2ey374g953.fsf%40vestur.ifi.uio.no/
At the bottom of the thread, the developer of davmail recommends setting
davmail.imapAlwaysApproxMsgSize=true
in the configuration file. That one change has made MS outlook + gnus as
fast (or slow) as it was before needing the davmail shim.
Leo
^ permalink raw reply [flat|nested] 14+ messages in thread
* Getting email from MS outlook into emacs
@ 2023-11-28 3:09 Doyley, Marvin M.
2023-11-28 8:00 ` Fraga, Eric
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Doyley, Marvin M. @ 2023-11-28 3:09 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
Hi there,
I have been trying to configure mbsync to download email from MS Outlook. Unfortunately, the new oauth2 authentication makes things difficult, especially since my institution has disabled the Azure App permission.
Does anybody have a workaround? I just want the email message to be linked to my todos, which is almost impossible. I am working on a Mac and org-mac-link just hangs when I try to grab Outlook emails.
Thanks in advance for your help.
Cheers,
M
PS I have also tried Davmail, which almost worked, except my institution placed another roadblock.
----
Marvin M. Doyley, Ph.D.
Wilson Professor of Electronic Imaging
Professor and Chair of the Department of Electrical and Computer Engineering,
Professor of Biomedical Engineering
Professor Imaging Sciences,
University of Rochester
518 Computer Studies Building Rochester NY 14627
Tel: 585-275-3774 Fax: 585-273-4919
Website: http://www.ece.rochester.edu/projects/doyley_lab/
[-- Attachment #2: Type: text/html, Size: 4020 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 3:09 Doyley, Marvin M.
@ 2023-11-28 8:00 ` Fraga, Eric
2023-11-28 8:34 ` Ihor Radchenko
2023-11-28 8:40 ` Martin Steffen
2023-11-30 12:18 ` Max Nikulin
2 siblings, 1 reply; 14+ messages in thread
From: Fraga, Eric @ 2023-11-28 8:00 UTC (permalink / raw)
To: Doyley, Marvin M.; +Cc: emacs-orgmode@gnu.org
Hi Marvin,
On Tuesday, 28 Nov 2023 at 03:09, Doyley, Marvin M. wrote:
> I have been trying to configure mbsync to download email from MS
> Outlook. Unfortunately, the new oauth2 authentication makes things
> difficult, especially since my institution has disabled the Azure App
> permission.
>
> Does anybody have a workaround? I just want the email message to be
> linked to my todos, which is almost impossible.
My institution is the same.
I solved this problem by using davmail [1] as an intermediary. This
works well interacting with MS Exchange servers with multi-factor
authentication. I then use gnus to read my emails.
HTH,
eric
Footnotes:
[1] https://davmail.sourceforge.net/
--
: Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 8:00 ` Fraga, Eric
@ 2023-11-28 8:34 ` Ihor Radchenko
2023-11-28 8:58 ` Fraga, Eric
2023-11-28 9:25 ` Alain.Cochard
0 siblings, 2 replies; 14+ messages in thread
From: Ihor Radchenko @ 2023-11-28 8:34 UTC (permalink / raw)
To: Fraga, Eric; +Cc: Doyley, Marvin M., emacs-orgmode@gnu.org
"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
>> Does anybody have a workaround? I just want the email message to be
>> linked to my todos, which is almost impossible.
>
> My institution is the same.
>
> I solved this problem by using davmail [1] as an intermediary. This
> works well interacting with MS Exchange servers with multi-factor
> authentication. I then use gnus to read my emails.
... except when institution also prohibits anything but MS Outlook to
access the MS Exchange protocol. In such dire scenario, the only option
left is redirecting all the emails to another email provider that can be
accessed via MSTP. Of course, replying does not work then and one has to
use the browser to send emails from institution email.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 8:34 ` Ihor Radchenko
@ 2023-11-28 8:58 ` Fraga, Eric
2023-11-28 9:24 ` Ihor Radchenko
2023-11-28 9:25 ` Alain.Cochard
1 sibling, 1 reply; 14+ messages in thread
From: Fraga, Eric @ 2023-11-28 8:58 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Doyley, Marvin M., emacs-orgmode@gnu.org
On Tuesday, 28 Nov 2023 at 08:34, Ihor Radchenko wrote:
> ... except when institution also prohibits anything but MS Outlook to
> access the MS Exchange protocol.
Indeed but my experience has often been that such restrictive practices
are the result of blind clicking on the part of the IT department and
can be rescinded through discussion with them. Over the years I have
been in my current institution, I have had these kinds of discussions
several times (using Linux, not Windows; using other MUAs, not Outlook;
etc.) and have managed to get the access I needed almost always.
But some places are probably a lost cause in this regard unfortunately.
Tail wagging the dog comes to mind...
--
: Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 8:58 ` Fraga, Eric
@ 2023-11-28 9:24 ` Ihor Radchenko
0 siblings, 0 replies; 14+ messages in thread
From: Ihor Radchenko @ 2023-11-28 9:24 UTC (permalink / raw)
To: Fraga, Eric; +Cc: Doyley, Marvin M., emacs-orgmode@gnu.org
"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
> On Tuesday, 28 Nov 2023 at 08:34, Ihor Radchenko wrote:
>> ... except when institution also prohibits anything but MS Outlook to
>> access the MS Exchange protocol.
>
> Indeed but my experience has often been that such restrictive practices
> are the result of blind clicking on the part of the IT department and
> can be rescinded through discussion with them.
Not for me :( But it is definitely worth trying to reach out the IT if
someone else runs into such problem.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 8:34 ` Ihor Radchenko
2023-11-28 8:58 ` Fraga, Eric
@ 2023-11-28 9:25 ` Alain.Cochard
2023-11-28 9:40 ` Ihor Radchenko
1 sibling, 1 reply; 14+ messages in thread
From: Alain.Cochard @ 2023-11-28 9:25 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode@gnu.org
Ihor Radchenko writes on Tue 28 Nov 2023 08:34:
> ... except when institution also prohibits anything but MS Outlook
> to access the MS Exchange protocol. In such dire scenario, the only
> option left is redirecting all the emails to another email provider
> that can be accessed via MSTP.
... except when institution prohibits redirecting to another email
provider -- my case ...
--
EOST (École et Observatoire des Sciences de la Terre)
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | [ slot available for rent ]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 9:25 ` Alain.Cochard
@ 2023-11-28 9:40 ` Ihor Radchenko
2023-11-28 10:08 ` Martin Steffen
0 siblings, 1 reply; 14+ messages in thread
From: Ihor Radchenko @ 2023-11-28 9:40 UTC (permalink / raw)
To: alain.cochard; +Cc: emacs-orgmode@gnu.org
Alain.Cochard@unistra.fr writes:
> ... except when institution prohibits redirecting to another email
> provider -- my case ...
I would then simply use another email for most of the communication.
The institution email would then just be needed to communicate with
institute-wide announcements.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 9:40 ` Ihor Radchenko
@ 2023-11-28 10:08 ` Martin Steffen
0 siblings, 0 replies; 14+ messages in thread
From: Martin Steffen @ 2023-11-28 10:08 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: alain.cochard, emacs-orgmode@gnu.org
>>>>> "Ihor" == Ihor Radchenko <yantar92@posteo.net> writes:
Ihor> Alain.Cochard@unistra.fr writes:
>> ... except when institution prohibits redirecting to another
>> email provider -- my case ...
Ihor> I would then simply use another email for most of the
Ihor> communication. The institution email would then just be
Ihor> needed to communicate with institute-wide announcements.
That's a possibility I had indeed thought about, because also for me
it's forbidden to forward (automatically or not) stuff outwards from the
domain. I think it's not forbidden to "move" or sync emails to local
disk, as far as I can see, though I was not able to reasonably
automatize that (like with davmail, though that almost worked for a time
resp. partially...)
For institutional seasonal greetings or general announcements the
muddled outlook access would even be acceptable for me, who
cares. Unfortunately, there are many emails (from inside the
organization, a university) that are individual, relevant, and at times
urgent and requiring (re-)action and preferably efficient
organization, overview, and handling, but I cannot use alternative
email-addresses for that.
Martin
Ihor> -- Ihor Radchenko // yantar92, Org mode contributor, Learn
Ihor> more about Org mode at <https://orgmode.org/>. Support Org
Ihor> development at <https://liberapay.com/org-mode>, or support my
Ihor> work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 3:09 Doyley, Marvin M.
2023-11-28 8:00 ` Fraga, Eric
@ 2023-11-28 8:40 ` Martin Steffen
2023-11-28 9:10 ` Fraga, Eric
2023-11-30 12:18 ` Max Nikulin
2 siblings, 1 reply; 14+ messages in thread
From: Martin Steffen @ 2023-11-28 8:40 UTC (permalink / raw)
To: Doyley, Marvin M.; +Cc: emacs-orgmode@gnu.org
Hi,
not that I have a solution, but I would like to know one as well. Ever
since my organization moved to more or less exclusively Outlook, email
as working tool (for me) has constantly deteriorated. 2FA was one of the
last of the innovations, that was hard to "work with" as non
Microsoft/Outlook user (not Mac for me by emacs/linux). It's
increasingly frustrating, since it's a small drip-drip-drip downhill
experience. Once you get it sort of working again after it broke again,
they roll out a new "improvement" or feature after some time, which
perhaps adds some fancy wrinkles to the constellation of tremendous
things outlooks probably offers (I am just waiting for the
CHATGTP-plug-in that answers your emails for yourself...), but that
leaves people like me out in the rain, someone who just wants a
reliable, stable plain old email server which is widely compatible (even
if only backward compatible) and the leaves the choice of mailreader(s)q
to the user.
There seem to be features, that I don't want to get used to (seem like
auto-expire, emails vanish if read but not handled properly or
something), other emails I delete constantly re-awake (but in an expired
status, but still shown for me), other are undeletable (which leaves me
with a huge zombie-inbox), some are never shown in emacs-gnus.
So, I tried different approaches, all did not work (or stopped working
after a while, maybe after new "improvements" on the server side),
including davmail, procmail, and some other "sync" solutions if forgot,
but the main stumbling stone seemed 2FA ever since that was
introduced. I did not try mbsync though (maybe I will when I have time),
so I cannot really help.
But as said, I'd be likewise interested in directions for approaches. My
current goal is not to get access to the server enabled properly again,
but to get the emails (automatically) off the server, like 20+ years
ago, when internet and access to servers was unrealiable over "modem"
dial-ups. So back to the future, so to say.
best, Martin
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 8:40 ` Martin Steffen
@ 2023-11-28 9:10 ` Fraga, Eric
0 siblings, 0 replies; 14+ messages in thread
From: Fraga, Eric @ 2023-11-28 9:10 UTC (permalink / raw)
To: Martin Steffen; +Cc: Doyley, Marvin M., emacs-orgmode@gnu.org
Hi Martin,
On Tuesday, 28 Nov 2023 at 09:40, Martin Steffen wrote:
> that leaves people like me out in the rain, someone who just wants a
> reliable, stable plain old email server which is widely compatible
> (even if only backward compatible) and the leaves the choice of
> mailreader(s)q to the user. [...] My current goal is not to get
> access to the server enabled properly again, but to get the emails
> (automatically) off the server, like 20+ years ago, when internet and
> access to servers was unrealiable over "modem" dial-ups. So back to
> the future, so to say.
I share your pain. :-( Hard to believe that the 80s or 90s were the
pinnacle of computing when it comes to email (not to mention newsgroups
although there is promise in ActivityPub related approaches).
Luckily, for me, davmail (currently) works. And I use POP to make sure
I have copies of all of my emails. Links from org to my emails will
always continue to work and I do not depend on the server once
downloaded.
eric
--
: Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting email from MS outlook into emacs
2023-11-28 3:09 Doyley, Marvin M.
2023-11-28 8:00 ` Fraga, Eric
2023-11-28 8:40 ` Martin Steffen
@ 2023-11-30 12:18 ` Max Nikulin
2 siblings, 0 replies; 14+ messages in thread
From: Max Nikulin @ 2023-11-30 12:18 UTC (permalink / raw)
To: emacs-orgmode
On 28/11/2023 10:09, Doyley, Marvin M. wrote:
> I have been trying to configure mbsync to download email from MS
> Outlook. Unfortunately, the new oauth2 authentication makes things
> difficult, especially since my institution has disabled the Azure App
> permission.
I am unsure if the following is applicable to this particular case.
Accidentally I have noticed a piece of wisdom from alpine developers.
Mutt is mentioned in linked pages as well, so it might be suitable for
Emacs users (or developers):
https://alpineapp.email/alpine/alpine-info/misc/xoauth2.html
that includes besides Gmail "Setting Up Alpine with Outlook or Office 365".
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2023-12-07 20:17 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 19:08 Getting email from MS outlook into emacs Presnell,Brett Douglas
2023-11-30 9:52 ` Fraga, Eric
2023-12-07 20:11 ` Leo Butler
-- strict thread matches above, loose matches on Subject: below --
2023-11-28 3:09 Doyley, Marvin M.
2023-11-28 8:00 ` Fraga, Eric
2023-11-28 8:34 ` Ihor Radchenko
2023-11-28 8:58 ` Fraga, Eric
2023-11-28 9:24 ` Ihor Radchenko
2023-11-28 9:25 ` Alain.Cochard
2023-11-28 9:40 ` Ihor Radchenko
2023-11-28 10:08 ` Martin Steffen
2023-11-28 8:40 ` Martin Steffen
2023-11-28 9:10 ` Fraga, Eric
2023-11-30 12:18 ` Max Nikulin
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).