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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Cloudron 10.0.3: MXGuarddog SRS-forwarded mail rejected when MAIL FROM local-part exceeds 64 octets

Cloudron 10.0.3: MXGuarddog SRS-forwarded mail rejected when MAIL FROM local-part exceeds 64 octets

Scheduled Pinned Locked Moved Discuss
6 Posts 2 Posters 154 Views 2 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.
  • M
    M
    mariolop77
    wrote last edited by
    #1

    Cloudron 10.0.3 / Haraka 3.3.2

    After upgrading to Cloudron 10.0.3, inbound mail forwarded
    through MXGuarddog is being rejected when MXGuarddog's
    Sender Rewriting Scheme creates an envelope sender local-part
    greater than 64 octets.

    Example:

    MAIL FROM:
    SRS0=FNUu=G2=em.brighttalk.com=bounces+3639386-906e-andy=azaz-tech.com@ik2.com

    Cloudron response:
    501 Invalid MAIL FROM address ... RFC-5321 local-part exceeds 64 octets

    Shorter SRS0 addresses from the same MXGuarddog servers are
    accepted and delivered normally.

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

      We switched to https://github.com/haraka/email-address and it seems by default it is quite strict. See https://github.com/haraka/email-address/blob/4bea96181e4db2718cc523876856e2c0f32ea7fc/lib/address.js#L163 . I have to set the postel option on our mail server.

      1 Reply Last reply
      0
      • M
        M
        mariolop77
        wrote last edited by
        #3

        Thanks for reaching out @girish. I also reached out to MXGuarddog to see if they can trim on their side. As of now, many emails are bouncing. I might need to bypass MXGuarddog for now until there is a fix if you can fix.

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

          @mariolop77 a temporary workaround is

          docker exec -it mail /bin/bash

          Then edit /run/haraka/config/connection.ini . Add postel=true like this in the main section:

          [main]
          smtputf8=true
          postel=true
          
          <rest of the file>
          

          Then supervisorctl restart haraka . This config file gets overwritten on server restart, so you have to do this again.

          1 Reply Last reply
          0
          • M
            M
            mariolop77
            wrote last edited by
            #5

            Thank you @girish!

            1 Reply Last reply
            0
            • M
              M
              mariolop77
              wrote last edited by
              #6

              @girish I just wanted to relay that this workaround works.

              1 Reply Last reply
              1

              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