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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Can not register for commento account

    Commento
    email commento
    4
    9
    219
    Loading More Posts
    • 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.
    • P
      privsec last edited by

      Hello,

      I have uninstalled and reinstalled the commento app twice while attempting to register an account.

      There is nothing in the logs for the app, but in the email I have

      {
      "ts": 1639897611952,
      "type": "bounce",
      "direction": "outbound",
      "uuid": "B7478F41-A5EB-4797-ADC1-9A37C1774AFB.1.1",
      "messageId": null,
      "mailFrom": "commento.app@domain.com",
      "spamStatus": null,
      "rcptTo": [
      "commento@domain.com"
      ],
      "message": "551 5.7.1 Multiple addresses in a From header is not allowed",
      "mx": {
      "priority": 0,
      "exchange": "smtp.emaildomain.com",
      "port": 587,
      "auth_type": "plain",
      "auth_user": "user@domain.com",
      "auth_pass": "smtppasscode",
      "family": "A",
      "bind_helo": "my.domain.com"
      }
      }

      Any ideas on this?

      jdaviescoates girish 2 Replies Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates @privsec last edited by

        @privsec why have you posted this in the Roundcube category?

        I use Cloudron with Gandi & Hetzner

        P 1 Reply Last reply Reply Quote 1
        • P
          privsec @jdaviescoates last edited by

          @jdaviescoates
          I was under the impression that cloudron uses roundcube to send outbound mail.

          jdaviescoates 1 Reply Last reply Reply Quote 0
          • jdaviescoates
            jdaviescoates @privsec last edited by

            @privsec nah, Roundcube is just one of the webmail client options.

            The email server stuff is Haraka (and maybe Dovecot too, I think).

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply Reply Quote 2
            • Moved from Roundcube by  nebulon nebulon 
            • girish
              girish Staff @privsec last edited by

              @privsec said in Can not register for commento account:

              551 5.7.1 Multiple addresses in a From header is not allowed

              The above seems to be the issue.. but I can reproduce it though. Does your email address have any special characters (like say '+' , '-' ) ? Are you using a relay ?

              c71244f1-ed23-4a6d-8126-20059318a7f0-image.png

              girish 1 Reply Last reply Reply Quote 1
              • girish
                girish Staff @girish last edited by

                @girish said in Can not register for commento account:

                551 5.7.1 Multiple addresses in a From header is not allowed

                I cannot find this string in the Haraka code base atleast, so maybe it's coming from the relay you are using?

                oneleaftea 1 Reply Last reply Reply Quote 1
                • oneleaftea
                  oneleaftea last edited by oneleaftea

                  I have the same problem, and the fundamental reason, I believe is that emails don't work for Commento with the SMTP relay I am using (Amazon SES). I can't use SMTP directly due to unavailable outbound port.

                  My workaround (for registration only!) is to enable the email on the Cloudron server and set a catchall.

                  When you register for Commento, it won't work, but you will get an undeliverable message sent from commento.app@yourdomain.com. And then you will receive the bounce message at your catchall. Then you can register.

                  However, admin/moderator emails will not work after that... but at least you can register and get it to work. But after that, no notification emails will work. I wonder if there is a fix for this? Looking at the log, I see the following:

                  "554 Transaction failed: Missing '<'"
                  
                  1 Reply Last reply Reply Quote 0
                  • oneleaftea
                    oneleaftea @girish last edited by

                    @girish
                    So I tested it with Amazon SES relay and then with a different SMTP server (PurelyMail's). It works with PurelyMail's but not with Amazon SES. The error message refers to the '<' character.

                    So now, looking at emails sent to me using the working SMTP server, I am noticing that Commento's app does something different with the headers:

                    Here's a typical test email header sent from the Cloudron email settings page:

                    From: Cloudron <no-reply@mydomain.com>
                    To: me@mydomain.com
                    

                    Here's one sent from Commento's app. Note that this is the one that I received via PurelyMail's SMTP server. This would have failed with Amazon SES:

                    From: Commento <<commento.app@mydomain.com>>
                    To: Joe Smith <<me@mydomain.com>>
                    

                    I swapped out the domain to mydomain.com. But notice that Commento has the extra brackets, and whereas PurelyMail's SMTP server handles it fine, Amazon SES chokes on it. Is this something in Cloudron's implementation of Commento that adds this?

                    Thanks for taking a look!

                    girish 1 Reply Last reply Reply Quote 2
                    • girish
                      girish Staff @oneleaftea last edited by girish

                      @oneleaftea said in Can not register for commento account:

                      From: Commento <<commento.app@mydomain.com>>
                      To: Joe Smith <<me@mydomain.com>>
                      

                      I swapped out the domain to mydomain.com. But notice that Commento has the extra brackets, and whereas PurelyMail's SMTP server handles it fine, Amazon SES chokes on it. Is this something in Cloudron's implementation of Commento that adds this?

                      The double bracket comes from the app. Unfortunately, the app itself is not actively maintained, making this hard to fix.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB