News for hackers. Stuff that matters.
Re:Trying Gnus as an Email Client by JanisErdmanis on Sunday May 21, 2023 @10:32AM (#36021263)
I used to run mu4e with my gmail accounts, those were fun times. That unfortunately no longer seems to be possible since Gmail, Outlook and others no longer provide SMTP service in the name of two factor authentication. Keeps my blood boiling as now every email provider has its own API.

Anyway, what email providers do people use today? One I found with SMTP support tends to be directed to spambox by Gmail.

Re:Trying Gnus as an Email Client by taeric on Sunday May 21, 2023 @10:44AM (#36021431)
I had to stop around the time of 2fa, as well. Hoped there was a way around that by now. (Well, not around, but with.)
Re:Trying Gnus as an Email Client by gnufx on Sunday May 21, 2023 @03:32PM (#36024038)
2FA in what context? App passwords, XOAUTH2, Kerberos pre-auth...? OTP or FIDO? You should be able to work with them anyway.
Re:Trying Gnus as an Email Client by taeric on Sunday May 21, 2023 @06:26PM (#36025214)
"advanced security". It doesn't allow app passwords. At least, that used to be the case. Using security keys.
Re:Trying Gnus as an Email Client by gnufx on Monday May 22, 2023 @08:49AM (#36030756)
I assume that's oauth2 (which xoauth2 implies). It works for me with O365 and a Duo key for multiple clients.
Re:Trying Gnus as an Email Client by taeric on Monday May 22, 2023 @10:02AM (#36031607)
Thanks for the pointer! I'll have to see if I can get that working. Last I looked at this stuff, I didn't understand oauth as well as I do now. (Which, I'm sure is still not perfect. Is an improvement, though.)

Edit: Am I correct that I have to basically make my own app in order to do this? (Ok if the case, just making sure I'm not looking in the wrong direction.)

Re:Trying Gnus as an Email Client by gnufx on Monday May 22, 2023 @01:02PM (#36033921)
I think you're meant to make your own app, but I don't have permission anyway. Some applications have their own tenant id (?) and you can copy, e.g. davmail's from ~/.davmail.properties, or even copy the token you get from it to use with something else.
Re:Trying Gnus as an Email Client by eulers_secret on Sunday May 21, 2023 @10:51AM (#36021529)
I still use mu4e with gmail, offlineimap will work if you make an “app password” in gmail for it.

Sending mail works with that same app password and smpt.gmail.com, I use that to send email from systemd using msmtp as well.

It’s pretty reliable, but if you change your gmail password it revokes your app passwords. Only downtime I had was I simply didn’t know that, easy fix.

Re:Trying Gnus as an Email Client by galdor on Sunday May 21, 2023 @11:07AM (#36021739)
I don't know about Outlook and others, but you can still use any client you want, both for IMAP and SMTP access, using application passwords[1]. I have been doing that for years, both for Gmail and Google Workspace, without any issue.

[1] https://support.google.com/accounts/answer/185833?hl=en

Re:Trying Gnus as an Email Client by JanisErdmanis on Sunday May 21, 2023 @01:34PM (#36023087)
Thanks, that looks like a good solution.
Re:Trying Gnus as an Email Client by taeric on Sunday May 21, 2023 @09:36PM (#36026449)
Is there an option for the folks on the security that disables app passwords?
Re:Trying Gnus as an Email Client by glorifiedgluer on Sunday May 21, 2023 @11:24AM (#36021897)
> Keeps my blood boiling as now every email provider has its own API.

I can relate to this, I'm yet to find a way to connect my $CURRENT_JOB Office 365 to Gnus...

> Anyway, what email providers do people use today?

I personally use mailbox.org and never had a problem with SMTP.

Re:Trying Gnus as an Email Client by wrycoder on Sunday May 21, 2023 @12:49PM (#36022683)
Fastmail works very well for me - for many years. Never a problem, great support.
Re:Trying Gnus as an Email Client by gnufx on Sunday May 21, 2023 @03:11PM (#36023845)
If you need an IMAP/SMTP gateway to O365/Exchange, at least, try https://davmail.sourceforge.net/