On Thu, 2019-03-21 at 00:04 -0500, Ranjan Maitra wrote:
> Dear friends,
> 
> Our workplace recently switched to OTP-based two factor
> authentication with Office 365 and mandated everyone to use the
> browser, Windoze or Evolution. We want to do none but get e-mail the
> old-fashioned way, delivered to my local HDD and read by my mailer.
> Looking around, we have successfully written python code to get e-
> mail using MS Graph. But following the examples there, we can
> retrieve e-mail in json format and needs further processing before it
> can go to a MTA. I am not sure that procmail will work, so I am
> wondering how to deliver mail to my HDD in Mbox format (to be read by
> sylpheed or some other e-mailer).
> 
> But, is json format the only way to extract these e-mails? Or are
> there other options available that are friendlier for more general
> MTAs? Otherwise, how does one get these e-mails in a Mbox format?
> 
> Sorry if my question is not very clear: we are very new to this and
> still struggling to understand everything.
> 
> Many thanks for any helpful pointers and references, and best wishes,
> Ranjan
> _______________________________________________
> 

My solution was a lot simpler when I wanted to read work emails in my
linux client.  I just turned on forwarding in Office 365 to an email
address on my server at home.  I spoof the "Reply To:" back to my work
address, though I almost only *read* emails from home. I rarely reply
until I get to work the next time.  My office doesn't use two-factor
authentication, so I don't know if that makes this impossible...

It's not perfect, but it only took 30 seconds, and it's good enough.


> 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to