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. Bug with Mailing Lists that point to Aliases

Bug with Mailing Lists that point to Aliases

Scheduled Pinned Locked Moved Solved Support
mailaliases
6 Posts 2 Posters 1.3k 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.
  • O Offline
    O Offline
    ochoseis
    wrote on last edited by girish
    #1

    I've got a couple of mailing lists that started bouncing with a response like Error: Nowhere to deliver mail to for domain: undefined (full sample below). I couldn't find a related question after a quick search so posting here.

    After some digging it seems like the issue is that I've got the mailing lists pointing to aliases instead of the original email addresses for the intended recipients. When I swap in the actual username-emails it works fine.

    This just stopped working recently. I'd intended to use the aliases in order to prevent the cloudron login username from leaking, but the error message below actually says the issue is delivering to username@undefined versus alias@undefined, which kind of defeats that purpose.

    To reproduce:

    1. Identify two users to test with: user_a, user_b.
    2. Create alias alias_a for user_a in a domain (e.g. example.com).
    3. Create mailing list my_mailing_list in same domain.
    4. Configure two recipients in mailing list: alias_a@example.com, user_b@example.com.
    5. Send a test message to my_mailing_list@example.com.
    6. Observe user_b receives the message, but alias_a / user_a does not, and sender receives an error referencing user_a instead of alias_a.

    Expected behavior:

    1. alias_a can receive the message.

    The error message:

    Hi. This is the Mailer program at my.example.com.
    
    I'm afraid I wasn't able to deliver your message
        "{{email_subject}}"
    to the following addresses.
    
    This is a permanent error; I've given up. Sorry it didn't work out.
    
    Intended Recipients: <{{user_a}}@undefined>
    Failure Reason: Error: Nowhere to deliver mail to for domain: undefined
    
    1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @ochoseis Thanks for the detailed post. I have to test this out and get back on why it's failing.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        ochoseis
        wrote on last edited by
        #3

        FWIW, the mailing lists stopped working right around the 5.2 release with some changes to both aliases and mailing lists:
        https://cloudron.io/blog/2020-06-01-cloudron-5.2.html

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

          @ochoseis Thanks, am able to reproduce it. Working on a fix

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

            @ochoseis This is fixed in 5.5. Should be out in a day or two.

            O 1 Reply Last reply
            1
            • girishG girish

              @ochoseis This is fixed in 5.5. Should be out in a day or two.

              O Offline
              O Offline
              ochoseis
              wrote on last edited by
              #6

              @girish 👏 much appreciated... thanks for looking into it!

              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