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. Commento++
  3. Commento not able to send mails

Commento not able to send mails

Scheduled Pinned Locked Moved Solved Commento++
commento
9 Posts 4 Posters 2.0k Views 3 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by girish
    #1

    Hello o/
    Sadly Commento can not send mails, i am not sure if it is due to cloudron or commento itself. The Log says:

    Nov 19 13:44:39 => Start application
    Nov 19 13:44:39 2019/11/19 13:44:39 [INFO] database_connect.go:13 dbConnect(): opening connection to postgres: postgres://user3d78ccb5880a4fc7acea4c46d4070b03:46a460f2db5ebb9650239013535bd6031ec0687696300fbf41fe716493af0c4f7070be6a7e52fcc927636b7c99111f4c7f80826dc8489fdf6c7984d24b979634@postgresql/db3d78ccb5880a4fc7acea4c46d4070b03?sslmode=disable
    Nov 19 13:44:39 2019/11/19 13:44:39 [INFO] database_migrate.go:47 migrateFromDir(): 20 migrations already installed, looking for more
    Nov 19 13:44:39 2019/11/19 13:44:39 [INFO] database_migrate.go:91 migrateFromDir(): none found
    Nov 19 13:44:39 2019/11/19 13:44:39 [INFO] smtp_configure.go:39 smtpConfigure(): configuring smtp: mail:2465
    Nov 19 13:44:39 2019/11/19 13:44:39 [WARNING] smtp_configure.go:48 smtpConfigure(): configuring smtp allowing self signed TLS certificates
    Nov 19 13:44:39 2019/11/19 13:44:39 [INFO] smtp_templates.go:28 smtpTemplatesLoad(): loading templates: [confirm-hex reset-hex domain-export domain-export-error]
    Nov 19 13:44:39 2019/11/19 13:44:39 [INFO] sigint.go:15 sigintCleanupSetup(): setting up SIGINT cleanup
    Nov 19 13:44:39 2019/11/19 13:44:39 [INFO] router.go:32 routesServe(): starting server on 0.0.0.0:8080
    Nov 19 13:44:48 => Ensure directores
    Nov 19 13:44:48 => Ensure custom config file
    Nov 19 13:44:48 => Prepare environment
    Nov 19 13:44:48 => Start application
    Nov 19 13:44:48 2019/11/19 13:44:48 [INFO] database_connect.go:13 dbConnect(): opening connection to postgres: postgres://user3d78ccb5880a4fc7acea4c46d4070b03:46a460f2db5ebb9650239013535bd6031ec0687696300fbf41fe716493af0c4f7070be6a7e52fcc927636b7c99111f4c7f80826dc8489fdf6c7984d24b979634@postgresql/db3d78ccb5880a4fc7acea4c46d4070b03?sslmode=disable
    Nov 19 13:44:48 2019/11/19 13:44:48 [INFO] database_migrate.go:47 migrateFromDir(): 20 migrations already installed, looking for more
    Nov 19 13:44:48 2019/11/19 13:44:48 [INFO] database_migrate.go:91 migrateFromDir(): none found
    Nov 19 13:44:48 2019/11/19 13:44:48 [INFO] smtp_configure.go:39 smtpConfigure(): configuring smtp: mail:2465
    Nov 19 13:44:48 2019/11/19 13:44:48 [WARNING] smtp_configure.go:48 smtpConfigure(): configuring smtp allowing self signed TLS certificates
    Nov 19 13:44:48 2019/11/19 13:44:48 [INFO] smtp_templates.go:28 smtpTemplatesLoad(): loading templates: [confirm-hex reset-hex domain-export domain-export-error]
    Nov 19 13:44:48 2019/11/19 13:44:48 [INFO] sigint.go:15 sigintCleanupSetup(): setting up SIGINT cleanup
    Nov 19 13:44:48 2019/11/19 13:44:48 [INFO] router.go:32 routesServe(): starting server on 0.0.0.0:8080
    Nov 19 13:45:54 2019/11/19 13:45:54 [ERROR] smtp_owner_reset_hex.go:19 smtpOwnerResetHex(): cannot send reset email: gomail: could not send email 1: gomail: invalid address "=?UTF-8?q?XXXXXXXXXXXX<post@XXXXXXX.XX>?=": mail: expected single address, got "?="
    

    I would appreciate any help!

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      This should definitely work. In fact, @nebulon submitted a patch to commento just to make email sending work which I believe is part of the Cloudron package already - https://gitlab.com/commento/commento/merge_requests/88 . I will let @nebulon comment

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hey Girish,
        thanks for the response. I'm excited to hear from you guys @girish + @nebulon !
        As for now, i reinstalled the app and it still does not work.

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          I just did a verification on my instance and it can send emails as such (already the initial user-registration requires that to work).
          Not sure how you triggered

          Nov 19 13:45:54 2019/11/19 13:45:54 [ERROR] smtp_owner_reset_hex.go:19 smtpOwnerResetHex(): cannot send reset email: gomail: could not send email 1: gomail: invalid address "=?UTF-8?q?XXXXXXXXXXXX<post@XXXXXXX.XX>?=": mail: expected single address, got "?="
          

          But something does look odd with that email address. Does the address by any chance contain special characters, which may break something in commento?

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Hey @nebulon
            no I don't think that the adress does contain any special characters. I just exchanged the complete adress with "xxx..." for privacy reasons.
            It is a complete normal email adress, with characters from a-z and the TLD is .cc
            It is also the first email being registered in this instance, right after the setup.

            Just for control - i will reinstall the app and try another emailadress, one which is hosted at protonmail.com and report back.
            o/

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Report back;
              It is not an issue with the email adress, it is the name.
              In the Name is a Umlaut which causes the error.

              So it is kind of solved.

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by A Former User
                #7

                Reporting back;
                Tried several things now, Umlauts in generel do not work at commento signup forms.
                Opened an Issue on Gitlab.

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  Thanks for reporting upstream. https://gitlab.com/commento/commento/issues/240 for anyone looking for the bug report.

                  H 1 Reply Last reply
                  0
                  • girishG girish

                    Thanks for reporting upstream. https://gitlab.com/commento/commento/issues/240 for anyone looking for the bug report.

                    H Offline
                    H Offline
                    holm
                    wrote on last edited by
                    #9

                    @girish it would be great if this behavior was described in the cloudron package documentation. it's good that i have now fixed all my email problems in cloudron, but it would have been even better if i had known that the ü in my last name was causing the problems i wanted to work around 😉

                    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