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. FreeScout
  3. System emails broken since 1.16.22 (FreeScout 1.8.232): "504 Invalid AUTH string" against internal mail relay

System emails broken since 1.16.22 (FreeScout 1.8.232): "504 Invalid AUTH string" against internal mail relay

Scheduled Pinned Locked Moved Solved FreeScout
3 Posts 2 Posters 66 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.
  • I Offline
    I Offline
    ITCONSTRUCTION
    wrote last edited by
    #1

    Since the package update to FreeScout 1.8.232, system emails (user invites, password resets, "Send Test" under Manage » Settings » Mail Settings) fail on all our instances — 15 production installs and one brand-new test install — with 504 Invalid AUTH string. The SMTP log shows AUTH LOGIN sending an empty password to the internal relay (mail:2525). Regular mailbox sending is unaffected; only the system mailer is broken.

    Findings:

    options.mail_password in the DB contains the plaintext 48-char value of CLOUDRON_MAIL_SMTP_PASSWORD instead of a Laravel-encrypted value. Current FreeScout evidently no longer tolerates that, reads it as empty → 504.
    Re-entering the password via the UI is blocked: saving Mail Settings fails with "Domain or IP address is not allowed: 172.18.x.x / fd00:… — Whitelist it via APP_REMOTE_HOST_WHITE_LIST", because the internal relay host mail resolves to private addresses. So affected users cannot even self-repair through the UI.
    Reproducible on a fresh installation.

    Working workaround:

    echo 'APP_REMOTE_HOST_WHITE_LIST=mail,<v4-ip>,<v6-ip>' >> /app/data/env

    restart app, then re-enter $CLOUDRON_MAIL_SMTP_PASSWORD in Mail Settings and Save

    (CIDR works since FreeScout 1.8.218, so 172.18.0.0/16,fd00::/8 should cover it generically.)

    Suggested package fix: ship APP_REMOTE_HOST_WHITE_LIST covering the internal relay in the seeded env, and store the relay password in the encrypted format FreeScout expects. Happy to provide full SMTP logs.

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @itconstruction
      Thanks for reporting, will look into it.

      1 Reply Last reply
      0
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #3

        Hello @itconstruction
        We just published an update for freescout to resolve these two issues.
        https://forum.cloudron.io/post/127793

        1 Reply Last reply
        0
        • jamesJ james marked this topic as a question
        • jamesJ james has marked this topic as solved

        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