Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Daily notification of "Email is not configured properly", but it is...

Daily notification of "Email is not configured properly", but it is...

Scheduled Pinned Locked Moved Solved Support
email
16 Posts 6 Posters 2.3k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • iamthefijI Offline
      iamthefijI Offline
      iamthefij
      App Dev
      wrote on last edited by iamthefij
      #1

      So I recently upgraded my Cloudron to the newest version that includes notifications. Now I get this notification once a day.

      When I check my email status, it's all green checkboxes (yay!), but I still get the notification.

      I checked my box logs and I found:

      2019-02-25T10:30:05.219Z box:mail Ignored error - relay: Error: Timeout
          at Socket.<anonymous> (/home/yellowtent/box/src/mail.js:150:18)
          at emitNone (events.js:106:13)
          at Socket.emit (events.js:208:7)
          at Socket._onTimeout (net.js:410:8)
          at ontimeout (timers.js:498:11)
          at tryOnTimeout (timers.js:323:5)
          at Timer.listOnTimeout (timers.js:290:5)
      2019-02-25T10:30:06.347Z box:mail checkRblStatus: myhost.com (ip: 123.456.789.101) servers: []
      2019-02-25T10:30:06.348Z box:cloudron checkMailStatus: myhost.com failed status checks
      2019-02-25T10:30:06.352Z box:notifications upsert:  uid-9261ef5c-e91a-4d31-9575-4fb5fd7cfa08 Email is not configured properly /#/email
      
      

      Looks like there is some kind of bug in the checker logic.

      1 Reply Last reply
      1
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #2

        @iamthefij Are you on 3.5.2? Do you use a mail relay and is incoming email enabled for the domain that is raising this error? Thanks.

        iamthefijI 1 Reply Last reply
        0
        • G Offline
          G Offline
          gml
          wrote on last edited by
          #3

          I'm having the same issue. I think at least since 3.5.1.

          In my eyes all DNS checks out of the PTR are broken. When I check it manually with dig everything looks fine.

          I'm using manual DNS entries and never changed anything there (but suddenly the checks went to red).

          1 Reply Last reply
          0
          • girishG girish

            @iamthefij Are you on 3.5.2? Do you use a mail relay and is incoming email enabled for the domain that is raising this error? Thanks.

            iamthefijI Offline
            iamthefijI Offline
            iamthefij
            App Dev
            wrote on last edited by
            #4

            @girish 3.5.2. No mail relay. Incoming email is enabled and I'm receiving it.

            1 Reply Last reply
            0
            • iamthefijI Offline
              iamthefijI Offline
              iamthefij
              App Dev
              wrote on last edited by
              #5

              @girish is the check that adds notifications different than the one used on the status page?

              1 Reply Last reply
              0
              • girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #6

                @iamthefij Yes, the check that adds the notification is different from the one in the status page. For 3.5.3 (hopefully out tomorrow), I have fixed this status check. I will keep this thread open so that we can confirm that it fixes it.

                1 Reply Last reply
                0
                • iamthefijI Offline
                  iamthefijI Offline
                  iamthefij
                  App Dev
                  wrote on last edited by
                  #7

                  Ok. Yea. I dug through the code just now and figured out where it was happening and found the log line for the failure.

                  2019-03-06T11:30:05.242Z box:mail Ignored error - relay: Error: Timeout
                      at Socket.<anonymous> (/home/yellowtent/box/src/mail.js:150:18)
                      at emitNone (events.js:106:13)
                      at Socket.emit (events.js:208:7)
                      at Socket._onTimeout (net.js:410:8)
                      at ontimeout (timers.js:498:11)
                      at tryOnTimeout (timers.js:323:5)
                      at Timer.listOnTimeout (timers.js:290:5)
                  
                  1 Reply Last reply
                  0
                  • girishG Do not disturb
                    girishG Do not disturb
                    girish
                    Staff
                    wrote on last edited by
                    #8
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • girishG Do not disturb
                      girishG Do not disturb
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @iamthefij When using the built-in smtp server, we do an "outbound" check to see if we can reliably connect to other servers. https://git.cloudron.io/cloudron/box/blob/master/src/mail.js#L123. It looks like maybe this is failing sometimes on your server. Is your server on ec2 by any chance?

                      1 Reply Last reply
                      0
                      • iamthefijI Offline
                        iamthefijI Offline
                        iamthefij
                        App Dev
                        wrote on last edited by
                        #10

                        Nope. I'm on Scaleway.

                        1 Reply Last reply
                        0
                        • fbartelsF Offline
                          fbartelsF Offline
                          fbartels
                          App Dev
                          wrote on last edited by
                          #11

                          Hi,

                          to add to this I am also experiencing these notifications. When going to the mail tab afterwards all check report back successfully. Not sending via mail relay, hosted on Netcup, v3.5.2. Error in box.log is the same as above.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            msbt
                            App Dev
                            wrote on last edited by
                            #12

                            After the update to 3.5.4 the notifications are back every few minutes. I have a few domains which are only used for forwarders (like example-domain.com to exampledomain.com), do I even have to set up email for those now?

                            I'm using an external smtp server now to get rid of those messages, but it would be nice to have a "No-op" option for emails as well, that just ignores the settings and does not check if outbound is working because the domain is not using email at all.

                            1 Reply Last reply
                            1
                            • girishG Do not disturb
                              girishG Do not disturb
                              girish
                              Staff
                              wrote on last edited by
                              #13

                              Currently, Cloudron assumes you want to host apps on domains and thus will want to send mail. Probably not the best assumption but that's how we initially wrote it.

                              The code assumes that you will send emails from the domains you added. Basically, it automatically opts you in. I like the idea of having a flag to say "Allow Cloudron to send emails from this domain". Disabling this will basically stop those checks. I prefer this over disabling the check itself.

                              1 Reply Last reply
                              0
                              • girishG Do not disturb
                                girishG Do not disturb
                                girish
                                Staff
                                wrote on last edited by
                                #14

                                I have opened https://git.cloudron.io/cloudron/box/issues/622

                                ? 1 Reply Last reply
                                1
                                • girishG girish

                                  I have opened https://git.cloudron.io/cloudron/box/issues/622

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #15

                                  @girish Is this still open? I got this messages every day, even I do not use mail function.

                                  girishG 1 Reply Last reply
                                  0
                                  • ? A Former User

                                    @girish Is this still open? I got this messages every day, even I do not use mail function.

                                    girishG Do not disturb
                                    girishG Do not disturb
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #16

                                    @kubernetux Email needs to be configured for sending out email by apps. Do you not care if your apps are able to send emails (like password reset, reminders etc). If you don't, go to Email -> Select domain -> Outbound -> Select disabled. The notification will then go away.

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Bookmarks
                                      • Search