Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #234589 > unrolled thread
| Started by | Gregor Zattler <telegraph@gmx.net> |
|---|---|
| First post | 2021-04-28 20:30 +0200 |
| Last post | 2021-05-27 15:30 +0200 |
| Articles | 11 on this page of 71 — 22 participants |
Back to article view | Back to linux.debian.user
how to use fetchmail with MS Office 365 / davmail? Gregor Zattler <telegraph@gmx.net> - 2021-04-28 20:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Kushal Kumaran <kushal@locationd.net> - 2021-04-29 03:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? deloptes <deloptes@gmail.com> - 2021-04-29 09:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-29 09:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-04-29 14:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-29 14:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? tomas@tuxteam.de - 2021-04-29 14:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? tomas@tuxteam.de - 2021-04-29 16:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Greg Wooledge <greg@wooledge.org> - 2021-04-29 15:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-04-29 15:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-29 16:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? tomas@tuxteam.de - 2021-04-29 17:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-04-29 21:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-29 21:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? deloptes <deloptes@gmail.com> - 2021-04-30 02:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-30 08:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? deloptes <deloptes@gmail.com> - 2021-04-30 15:30 +0200
Free vs proprietary [was: how to use fetchmail with MS Office 365 / davmail?] <tomas@tuxteam.de> - 2021-04-30 16:20 +0200
Re: Free vs proprietary [was: how to use fetchmail with MS Office 365 / davmail?] deloptes <deloptes@gmail.com> - 2021-04-30 22:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-04-30 10:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-30 10:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-04-30 12:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-29 16:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Brian <ad44@cityscape.co.uk> - 2021-04-29 21:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-29 21:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Brian <ad44@cityscape.co.uk> - 2021-04-29 23:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-04-30 10:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Brian <ad44@cityscape.co.uk> - 2021-04-30 21:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-04-30 22:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? deloptes <deloptes@gmail.com> - 2021-05-01 09:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-05-01 10:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Weaver <weaver@riseup.net> - 2021-05-01 10:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? deloptes <deloptes@gmail.com> - 2021-05-01 12:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-05-01 17:50 +0200
[Off-topic] When in Rome... <tomas@tuxteam.de> - 2021-05-01 18:00 +0200
Re: [Off-topic] When in Rome... deloptes <deloptes@gmail.com> - 2021-05-01 19:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Ángel <debian-user@debian.16bits.net> - 2021-05-03 01:50 +0200
OT Reading brainwaves [was: how to use fetchmail with MS Office 365 / davmail?] <tomas@tuxteam.de> - 2021-05-03 09:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-04-30 23:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-05-01 09:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-05-01 10:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-03 10:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-05-03 16:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? rhkramer@gmail.com - 2021-05-04 19:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? David Wright <deblis@lionunicorn.co.uk> - 2021-05-03 16:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Dan Ritter <dsr@randomstring.org> - 2021-05-03 17:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-05-03 18:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-05-03 18:40 +0200
[OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-05-03 19:00 +0200
Re: how to use fetchmail with MS Office 365 / davmail? David Wright <deblis@lionunicorn.co.uk> - 2021-05-03 21:40 +0200
[OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-05-03 21:50 +0200
Re: [OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail? Brian <ad44@cityscape.co.uk> - 2021-05-03 22:10 +0200
Re: [OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail? Joe <joe@jretrading.com> - 2021-05-03 22:40 +0200
Re: [OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail? David Wright <deblis@lionunicorn.co.uk> - 2021-05-04 18:10 +0200
Re: [OFFTOPIC] Re: how to use fetchmail with MS Office 365 / davmail? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-05-04 18:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-01 09:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-05-01 10:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Darac Marjal <mailinglist@darac.org.uk> - 2021-04-29 15:10 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-04-29 15:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? deloptes <deloptes@gmail.com> - 2021-04-29 21:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-05-27 15:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Celejar <celejar@gmail.com> - 2021-04-30 15:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Erwan David <erwan@rail.eu.org> - 2021-04-29 15:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-04-29 15:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Michael Grant <mgrant@grant.org> - 2021-04-29 16:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Linux-Fan <Ma_Sys.ma@web.de> - 2021-04-29 19:00 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Kushal Kumaran <kushal@locationd.net> - 2021-04-30 05:20 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Linux-Fan <Ma_Sys.ma@web.de> - 2021-04-30 18:30 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Jonathan Siegle <jsiegle@psu.edu> - 2021-04-29 14:40 +0200
Re: how to use fetchmail with MS Office 365 / davmail? <tomas@tuxteam.de> - 2021-04-29 14:50 +0200
Re: how to use fetchmail with MS Office 365 / davmail? Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-05-27 15:30 +0200
Page 4 of 4 — ← Prev page 1 2 3 [4]
| From | Eric S Fraga <e.fraga@ucl.ac.uk> |
|---|---|
| Date | 2021-05-27 15:20 +0200 |
| Message-ID | <Cjo5A-8hv-13@gated-at.bofh.it> |
| In reply to | #234632 |
On Thursday, 29 Apr 2021 at 21:09, deloptes wrote: > The admin says "F**k off" :D Yep, that's pretty much what's happened (so far... I'm pushing). -- Eric S Fraga via Emacs 28.0.50 & org 9.4.6 on Debian bullseye/sid
[toc] | [prev] | [next] | [standalone]
| From | Celejar <celejar@gmail.com> |
|---|---|
| Date | 2021-04-30 15:30 +0200 |
| Message-ID | <C9Bns-7Zn-7@gated-at.bofh.it> |
| In reply to | #234615 |
On Thu, 29 Apr 2021 14:03:37 +0100 Darac Marjal <mailinglist@darac.org.uk> wrote: > > On 29/04/2021 13:11, Eric S Fraga wrote: > > Dystopian is right. Our organization, using O365, has moved to > > "multi-factor authentication" without consultation and I can no longer > > use gnus, for instance. Absolutely horrible. > > Ask your administrator to enable "Per Application Passwords" - > https://docs.microsoft.com/en-us/azure/active-directory/user-help/multi-factor-authentication-end-user-app-passwords > > The idea here is that, if a human is logging in, they still provide two > factors (something they know and something they have) via the TOTP > mechanism. But for automated access, where an application is logging in > on behalf of that user, the user generates a long one-off password ONLY > for that application. This works a bit like an API key - password #1 is > for gnus on laptop 1, password #2 is for Fetchmail on laptop 1, password > #3 is for gnus on laptop 2 and so on. Each instance of an application > gets its own long password. > > It's ostensibly more secure than storing the user's password in that > application because: > > * Per-App passwords are computer-generated. They can be tested for high > entropy and regenerated instantaneously, before a "good" password is > offered to the user. (I don't know whether this is actually done, or > whether it's just the output of a pRNG password generator) > > * Per-App passwords can be revoked without spoiling access to other > applications. Did laptop 2 get stolen? Just revoke password #3 and you > don't need to change the passwords stored on Laptop 1. I've been looking into this recently, and I think there's a third, very important but subtle reason why 2FA + application specific passwords are (or at least can be) more secure than the classic password model: the application specific password can be limited to grant permission to access the account *data*, but will not grant permission to alter account settings, so the account cannot be totally hijacked the way it can be with classic passwords if they ever get compromised. Celejar
[toc] | [prev] | [next] | [standalone]
| From | Erwan David <erwan@rail.eu.org> |
|---|---|
| Date | 2021-04-29 15:20 +0200 |
| Message-ID | <C9eKe-2Yz-5@gated-at.bofh.it> |
| In reply to | #234608 |
Le 29/04/2021 à 14:11, Eric S Fraga a écrit : > Dystopian is right. Our organization, using O365, has moved to > "multi-factor authentication" without consultation and I can no longer > use gnus, for instance. Absolutely horrible. > You can define "application password" in O365 for this case (at least I can at work, may depends on the settings of your tenant)
[toc] | [prev] | [next] | [standalone]
| From | Eric S Fraga <e.fraga@ucl.ac.uk> |
|---|---|
| Date | 2021-04-29 15:50 +0200 |
| Message-ID | <C9fdf-37Z-3@gated-at.bofh.it> |
| In reply to | #234619 |
On Thursday, 29 Apr 2021 at 15:16, Erwan David wrote: > You can define "application password" in O365 for this case (at least > I can at work, may depends on the settings of your tenant) Yes, thank you. Somebody else has also pointed out this option. I will be looking into it as it seems like it will work. Or I will switch to davmail. Solutions do seem to exist! -- Eric S Fraga via Emacs 28.0.50 & org 9.4.5 on Debian bullseye/sid
[toc] | [prev] | [next] | [standalone]
| From | Michael Grant <mgrant@grant.org> |
|---|---|
| Date | 2021-04-29 16:40 +0200 |
| Message-ID | <C9fZD-3CD-1@gated-at.bofh.it> |
| In reply to | #234621 |
[Multipart message — attachments visible in raw view] — view raw
I saw in the last 6 months a daemon that let you get oauth tokens on linux and then it refereshed the token indefinitely until told to stop. Essentially making the token available on linux so you could use it in another program that requied a password, for example fetchmail or getmail. I've tried to find it but I'm turning up nothing. I'm pretty sure I didn't imagine it! Does anyone recall the name? This could definitely be helpful for fetching mail from an account with oauth setup. Michael Grant
[toc] | [prev] | [next] | [standalone]
| From | Linux-Fan <Ma_Sys.ma@web.de> |
|---|---|
| Date | 2021-04-29 19:00 +0200 |
| Subject | Re: how to use fetchmail with MS Office 365 / davmail? |
| Message-ID | <C9ib7-4OU-1@gated-at.bofh.it> |
| In reply to | #234624 |
[Multipart message — attachments visible in raw view] — view raw
Michael Grant writes: > I saw in the last 6 months a daemon that let you get oauth tokens on > linux and then it refereshed the token indefinitely until told to > stop. Essentially making the token available on linux so you could > use it in another program that requied a password, for example > fetchmail or getmail. > > I've tried to find it but I'm turning up nothing. I'm pretty sure I > didn't imagine it! Does anyone recall the name? This could > definitely be helpful for fetching mail from an account with oauth > setup. I do not know about a daemon, but `oathtool` (package `oathtool`) does a fine job for TOTP based tokens here. Usage: $ oathtool --base32 JBSWY3DPEHPK3PXP 282760 Of course, you will need to get the Base32 secret from somewhere. It can often be accessed from the screens that tell you to scan a QR code with an authenticator app if you press something like "I cannot scan the code" or such. HTH Linux-Fan
[toc] | [prev] | [next] | [standalone]
| From | Kushal Kumaran <kushal@locationd.net> |
|---|---|
| Date | 2021-04-30 05:20 +0200 |
| Message-ID | <C9rR7-2mM-1@gated-at.bofh.it> |
| In reply to | #234630 |
On Thu, Apr 29 2021 at 06:57:02 PM, Linux-Fan <Ma_Sys.ma@web.de> wrote: > Michael Grant writes: > >> I saw in the last 6 months a daemon that let you get oauth tokens on >> linux and then it refereshed the token indefinitely until told to >> stop. Essentially making the token available on linux so you could >> use it in another program that requied a password, for example >> fetchmail or getmail. >> >> I've tried to find it but I'm turning up nothing. I'm pretty sure I >> didn't imagine it! Does anyone recall the name? This could >> definitely be helpful for fetching mail from an account with oauth >> setup. > > I do not know about a daemon, but `oathtool` (package `oathtool`) does a > fine job for TOTP based tokens here. Usage: > > $ oathtool --base32 JBSWY3DPEHPK3PXP > 282760 > > Of course, you will need to get the Base32 secret from somewhere. It can > often be accessed from the screens that tell you to scan a QR code with an > authenticator app if you press something like "I cannot scan the code" or > such. > oauth is not the same as oath -- regards, kushal
[toc] | [prev] | [next] | [standalone]
| From | Linux-Fan <Ma_Sys.ma@web.de> |
|---|---|
| Date | 2021-04-30 18:30 +0200 |
| Subject | Re: how to use fetchmail with MS Office 365 / davmail? |
| Message-ID | <C9EbD-1de-3@gated-at.bofh.it> |
| In reply to | #234645 |
[Multipart message — attachments visible in raw view] — view raw
Kushal Kumaran writes: > On Thu, Apr 29 2021 at 06:57:02 PM, Linux-Fan <Ma_Sys.ma@web.de> wrote: > > Michael Grant writes: > > > >> I saw in the last 6 months a daemon that let you get oauth tokens on > >> linux and then it refereshed the token indefinitely until told to > >> stop. Essentially making the token available on linux so you could > >> use it in another program that requied a password, for example > >> fetchmail or getmail. > >> > >> I've tried to find it but I'm turning up nothing. I'm pretty sure I > >> didn't imagine it! Does anyone recall the name? This could > >> definitely be helpful for fetching mail from an account with oauth > >> setup. > > > > I do not know about a daemon, but `oathtool` (package `oathtool`) does a > > fine job for TOTP based tokens here. Usage: > > > > $ oathtool --base32 JBSWY3DPEHPK3PXP > > 282760 > > > > Of course, you will need to get the Base32 secret from somewhere. It can > > often be accessed from the screens that tell you to scan a QR code with an > > authenticator app if you press something like "I cannot scan the code" or > > such. > > oauth is not the same as oath You are right. Sorry for the noise :( Linux-Fan öö [...]
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Siegle <jsiegle@psu.edu> |
|---|---|
| Date | 2021-04-29 14:40 +0200 |
| Message-ID | <C9e7v-2wL-9@gated-at.bofh.it> |
| In reply to | #234589 |
[Multipart message — attachments visible in raw view] — view raw
On 2021-04-28 at 20:20, Gregor Zattler wrote: > Which means that I have to authenticate via a web form with > the company's login server. MS does not know the passwords > instead hashes are exchanged between the servers. Some > clients (Outlook) are able to cache successful > authentication for days but also need to relay > authentication to the company's server. > > I would like to use IMAP to access email in order to > circumvent Outlook, but AFAIK there is no way for fetchmail > or other command line tools to authenticate via web page and > use the IMAP Server then (Thunderbird is able to do this but > I don't want to use Thunderbird). > > I hoped davmail would be able to do that but I have no clue > how to tell davmail to authenticate in this way. AFAIK the > only way is to provide a password which does not apply here. > This is working for me on Debian Buster: http://galileo.phys.virginia.edu/compfac/faq/davmail.html I run davmail 5.5 as suggested. Don't forget to set it up as O365Interactive to get the web page to show up. I also run fetchmail to put the INBOX into /var/mail/ . Just point fetchmail at your davmail imap port. -Jonathan
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2021-04-29 14:50 +0200 |
| Message-ID | <C9ehc-2A4-1@gated-at.bofh.it> |
| In reply to | #234611 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Apr 29, 2021 at 08:24:36AM -0400, Jonathan Siegle wrote: [...] > This is working for me on Debian Buster: > http://galileo.phys.virginia.edu/compfac/faq/davmail.html Heroes! :-) Thanks for the link, cheers - t
[toc] | [prev] | [next] | [standalone]
| From | Eric S Fraga <e.fraga@ucl.ac.uk> |
|---|---|
| Date | 2021-05-27 15:30 +0200 |
| Message-ID | <Cjoff-8l9-1@gated-at.bofh.it> |
| In reply to | #234611 |
On Thursday, 29 Apr 2021 at 08:24, Jonathan Siegle wrote: > This is working for me on Debian Buster: > http://galileo.phys.virginia.edu/compfac/faq/davmail.html Thank you for this. I have spent the past 2 days on this and have finally got davmail working for me. Some issues with versions of firefox (and Thunderbird as this was my test vehicle) but got there eventually. Now have gnus reading email via davmail although hanging after downloading the emails. I've posted on the gnus mailing list about this aspect. Thanks again, eric -- Eric S Fraga via Emacs 28.0.50 & org 9.4.6 on Debian bullseye/sid
[toc] | [prev] | [standalone]
Page 4 of 4 — ← Prev page 1 2 3 [4]
Back to top | Article view | linux.debian.user
csiph-web