Re: OT: using MS Graph to retrieve e-mail from Office 365 and deliver to linux MTA on F29

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux