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

Release 3.28.3 - build 3280 email not working

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. 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
rogerthn
Posts: 547
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Release 3.28.3 - build 3280 email not working

Post by rogerthn »

Hi
E-mail is not working for me with Release 3.28.3 - build 3280, 3279 is OK.
Enclosing ServiceConsoleLog and MXdiag
20240202-084756.txt
ServiceConsoleLog.txt
You do not have the required permissions to view the files attached to this post.
Image
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: Release 3.28.3 - build 3280 email not working

Post by ConligWX »

Hi.

looks like something is misconfigured.

Code: Select all

SendEmail: You have not configured either the email server or the email account used to send email
In the Alarms setting at the bottom of the screen in cmx console, there is a send test email button. does it work when you do that?

I am running 3.28.3 and email works. i suggest you update to 3.28.3 then check the email settings are correct and then try a test email again.

also check the hash file to confirm all of 3.28.3 was uploaded.

Code: Select all

md5sum --check hash_md5_3280.txt --quiet
User avatar
rogerthn
Posts: 547
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Release 3.28.3 - build 3280 email not working

Post by rogerthn »

ConligWX wrote: Fri 02 Feb 2024 8:07 am Hi.

looks like something is misconfigured.

Code: Select all

SendEmail: You have not configured either the email server or the email account used to send email
...
I did see that but configuration is OK for 3279.
Image
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: Release 3.28.3 - build 3280 email not working

Post by ConligWX »

rogerthn wrote: Fri 02 Feb 2024 8:26 am I did see that but configuration is OK for 3279.
if this is a bug I would expect it would affect me also since I too am on a linux distro. we shall see if other pi users have the same issue.
User avatar
rogerthn
Posts: 547
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Release 3.28.3 - build 3280 email not working

Post by rogerthn »

My SMTP settings below i.e. usimg exim4 with dc_smarthost to my postfix server

Code: Select all

[SMTP]
Enabled=1
ServerName=127.0.0.1
Port=25
SSLOption=0
RequiresAuthentication=0
User=
Password=
Logging=1
IgnoreCertErrors=0
Image
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: Release 3.28.3 - build 3280 email not working

Post by ConligWX »

I'm not using a localhost as an email server. that's why mine probably works.
User avatar
rogerthn
Posts: 547
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Release 3.28.3 - build 3280 email not working

Post by rogerthn »

Issue found on github in EmailSender.cs, line 33 and 114

Code: Select all

if (string.IsNullOrEmpty(cumulus.SmtpOptions.Server) || string.IsNullOrEmpty(cumulus.SmtpOptions.User))
Since line 35 and 116 say

Code: Select all

cumulus.LogWarningMessage("SendEmail: You have not configured either the email server, or the email account used to send email");
Maybe line 33 and 114 should be?

Code: Select all

if (string.IsNullOrEmpty(cumulus.SmtpOptions.Server) && string.IsNullOrEmpty(cumulus.SmtpOptions.User))
Image
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: Release 3.28.3 - build 3280 email not working

Post by mcrossley »

Ah, 'tis a bug. Stop MX and edit your Cumulus.ini and add a dummy entry for the SMTP user. I'd forgotten that mail servers may not require any authentication - such beasts exist!
User avatar
rogerthn
Posts: 547
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Release 3.28.3 - build 3280 email not working

Post by rogerthn »

mcrossley wrote: Fri 02 Feb 2024 10:55 am Ah, 'tis a bug. Stop MX and edit your Cumulus.ini and add a dummy entry for the SMTP user. I'd forgotten that mail servers may not require any authentication - such beasts exist!
They do :o
Image
Post Reply