Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Gmail Question

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Gmail Question

Post by mcrossley »

Google are removing the ability for third party apps to send emails via Gmail using simple username/password authentication this year.

There are two solutions to this:
  1. Use the Gmail client authentication via an interactive browser login
  2. Use a totally background authentication mechanism, but this requires some fiddly user setup in the Google API page to create an endpoint for the connection.
The first option means that the user will interactively authenticate to Google using a browser, Cumulus should then be able to cache the credentials and carry-on using Gmail in the background, but the connection may need re-authenticating periodically. This does mean that you would have to run Cumulus on a machine that has both a GUI and a browser available.

The second option requires you the user to set-up some API access credentials in the Google API under your user account. This is non-trivial, and whilst I managed to get it working at one point, I have failed on a subsequent attempt! :bash:

It looks to me like option 1 is the least worst option?
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Gmail Question

Post by SamiS »

Do you have a source for that information of removal? The article I found, specifically says tha application passwords will remain usable (under Scanners & other devices 3rd option).

https://support.google.com/a/answer/14114704?hl=en

The article is for google workspaces, but I would assume it covering basic gmail also.

Edit. To be clear, app password is a different password that you create from your account settings, and it cannot be used to login to your account for other than a specific use like smtp.
Last edited by SamiS on Sun 12 May 2024 3:38 pm, edited 1 time in total.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Gmail Question

Post by HansR »

Hmmm... and using another mail (e.g. from my provider) and then have it forwarded to my gmail which takes care of whatever check they want to do? It is just another forward in the email isn't it?
That should work shouldn't it?

I would make a specific email only for CMX with un/pw, so what could happen if that one gets hacked?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Gmail Question

Post by SamiS »

HansR wrote: Sun 12 May 2024 3:36 pm Hmmm... and using another mail (e.g. from my provider) and then have it forwarded to my gmail which takes care of whatever check they want to do? It is just another forward in the email isn't it?
That should work shouldn't it?

I would make a specific email only for CMX with un/pw, so what could happen if that one gets hacked?
If you have some other smtp server to use than gmail, then of course you could use it. Of course it also must have a valid sender address/domain, spf records etc so it will go through spam filters. Point being you cannot send from your provider’s server and still use something@gmail as sender address. Receipient you can choose of course.
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Gmail Question

Post by SamiS »

More info about Gmail App Passwords.

https://support.google.com/mail/answer/185833?hl=en
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Gmail Question

Post by mcrossley »

Ah, I missed the bit about app passwords remaining active. As you were then! :roll: You already have to use app passwords with Gmail and MX.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Gmail Question

Post by ConligWX »

Mark

Google seems to be scaling down on all sorts. I am guessing to save money and support staff.

Gmail Auth password for future accounts going.

Google One is loosing its VPN.

Google Domains which was serious cheap and allowed dnssec and dynamic DNS using the same protocol as dyndns has just about ended and are moving account registration to Squarespace that only do registration but not dyndns.

My own conligwx has yet to be moved and my new dynamic DNS needs to kick in.
Post Reply