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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. ntfy
  3. sending e-mail via ntfy not possible

sending e-mail via ntfy not possible

Scheduled Pinned Locked Moved ntfy
8 Posts 4 Posters 218 Views 4 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.
  • C Offline
    C Offline
    Chilipp
    wrote last edited by Chilipp
    #1

    Hey there! I wonder if anybody can send e-mails via ntfy and cloudron. I noticed that the app seems to be configured appropriately as described in https://docs.ntfy.sh/config/#e-mail-notifications in the config/server.yml file with

    smtp-sender-addr: "mail:2465"
    smtp-sender-user: "ntfy.app@my.cloudrondomain.com"
    smtp-sender-pass: "some-autogenerated-password"
    smtp-sender-from: "ntfy.app@my.cloudrondomain.com"
    

    but when I try to send a notification via mail via command-line

    ntfy publish -e xxx@somewhere.de -u <someuser> test-mail testmail
    

    (xxx@somewhere.de and <someuser> are just placeholders here) I just see in the logs

    INFO Sending email to xxx@somewhere.de (email=xxx@somewhere.de, message_body_size=8, message_event=message, message_id=..., message_sender=..., message_sequence_id=..., message_time=1783425961, message_user=..., tag=email, topic=test-mail, user_id=..., user_name=<someuser>, visitor_auth_attempts_remaining=30, visitor_emails=2, visitor_emails_limit=24, visitor_emails_remaining=22, visitor_id=ip:..., visitor_ip=..., visitor_messages=2, visitor_messages_limit=17280, visitor_messages_remaining=17278, visitor_requests_remaining=59, visitor_seen=2026-07-07T12:06:01.878Z, visitor_topic_creations_remaining=100)
    INFO Server stats (emails_received=0, emails_received_failure=0, emails_received_success=0, emails_sent=0, emails_sent_failure=0, emails_sent_success=0, messages_cached=7, messages_published=6538, subscribers=6, tag=manager, topics_active=7, users=5, visitors=5)
    

    but the mail is never sent. The same happens through the frontend, also when I try to verify emails in the account settings of the frontend.

    Any idea what is going wrong here?

    1 Reply Last reply
    1
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote last edited by
      #2

      I just stumbled upon this as well. At least for the email verification part. It seems one of the last releases has added email addresses for accounts and I wanted to add this to mine, but apart from this log line:

      2026/07/10 11:09:58 INFO Resending email verification (email=xx@xx.eu, http_method=POST, http_path=/v1/account/email/resend, tag=account, user_id=xx, user_name=felix, visitor_auth_attempts_remaining=30, visitor_emails=2, visitor_emails_limit=24, visitor_emails_remaining=22, visitor_id=ip:xxx, visitor_ip=xxx, visitor_messages=0, visitor_messages_limit=17280, visitor_messages_remaining=17280, visitor_requests_remaining=19, visitor_seen=2026-07-10T11:09:58.274Z, visitor_topic_creations_remaining=92)
      

      Nothing else happens. I also dont see any logging regarding this in the Cloudron event log for email.

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote last edited by
        #3

        @chilipp @fbartels this should be fixed now. Issue was that ntfy is a Go app and it requires the mail configuration to have a valid certificate to send emails.

        I also noticed that we don't require login by default. I enabled that as well in the config.

        1 Reply Last reply
        0
        • J joseph marked this topic as a regular topic
        • fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote last edited by
          #4

          Yes, I can confirm that the verification mail is now delivered.

          But strange that ntfy did not give a proper error message here, I upped the logging to trace and could not find any more logging related to mail sending in ntfy.

          girishG 1 Reply Last reply
          1
          • fbartelsF fbartels

            Yes, I can confirm that the verification mail is now delivered.

            But strange that ntfy did not give a proper error message here, I upped the logging to trace and could not find any more logging related to mail sending in ntfy.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote last edited by
            #5

            @fbartels yeah, ntfy "hangs". If you wait for a long time, you will see a 503 .

            1 Reply Last reply
            1
            • robiR Offline
              robiR Offline
              robi
              wrote last edited by
              #6

              time for an upstream PR?

              Conscious tech

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

                I think Go apps don't want to work with non-TLS mail servers (a bad decision, but who has energy to fight all this)

                robiR 1 Reply Last reply
                0
                • girishG girish

                  I think Go apps don't want to work with non-TLS mail servers (a bad decision, but who has energy to fight all this)

                  robiR Offline
                  robiR Offline
                  robi
                  wrote last edited by
                  #8

                  @girish an agent does.

                  Conscious tech

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  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