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

    Solved SMTP Error (corrupt queue file)

    Support
    mail
    5
    6
    150
    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.
    • F
      frei last edited by girish

      Hello Cloudron team/patrons,

      I was going to ask for help, but we came up with the solution, so we'll pass it forward.

      We needed to recover from a system outage, after temporarily running out of disk space. Besides corrupting the certificates (already fixed thanks to the forum here --thank you), we also borked the outgoing SMTP mailserver.

      The obvious symptom from RoundCube showed "SMTP Error (-1): Connection to server failed."

      Reviewing the 'mail' service logs revealed that there was a corrupted "queue file" (zero bytes), which was crashing the service.

      To fix this issue, SSH into the machine, navigate to /home/yellowtent/boxdata/mail, move the haraka-queue to a backup location, and recreate that directory. After that, restart the mail service.

      scooke 1 Reply Last reply Reply Quote 5
      • nebulon
        nebulon Staff last edited by

        Glad you managed to fix it up and thanks a lot for sharing the solution here, it will surely help users in the future.

        1 Reply Last reply Reply Quote 1
        • Topic has been marked as a question  nebulon nebulon 
        • Topic has been marked as solved  nebulon nebulon 
        • girish
          girish Staff last edited by

          For 7.3, it's in the roadmap to expose the mail queue and clear it from the UI.

          1 Reply Last reply Reply Quote 0
          • scooke
            scooke @frei last edited by

            @frei Excellent sleuthing!

            A life lived in fear is a life half-lived

            1 Reply Last reply Reply Quote 0
            • M
              michaelpope last edited by

              Thank you for posting this. Just had the same issue.

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

                Mail queue is exposed in 7.3, so you should be able to clean such files from the UI in the next release.

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