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. Discuss
  3. How To: Send email from one Cloudron that can't via another that can!

How To: Send email from one Cloudron that can't via another that can!

Scheduled Pinned Locked Moved Discuss
howtomail
2 Posts 2 Posters 489 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.
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by robi
      #1

      Since I had to set this up twice recently, I thought I'd jot it down.

      The use case is as follows: A home based Cloudron is installed on a dynamic IP and a dynamic DNS, and the IP is often blacklisted or worse.

      So how do we get emails out from this Cloudron to it's users and keep the admins informed?

      One could sign up for a commercial email service to send email on your behalf.

      Or one could ask a friend with another Cloudron to send emails for you! ( make friends, get emails 😉 )

      Overview, we want emails from cloudron.home to be sent via cloudron.mail who can send emails w/o issue, so we set up the following on the destination:

      • a user for cloudron.home on cloudron.mail
      • cloudron.home domain on cloudron.mail as manual provider
      • enable email for cloudron.home & create mailbox for the user of cloudron.home
      • enable masquerading in email settings

      On the source set up the following:

      • enable email & set the outbound as an external SMTP server.
      • use the user & email client port settings created on the destination for auth to the mail server
      • set the MX record for cloudron.home to point to cloudron.mail

      Now when any mail is sent from cloudron.home, it will log into cloudron.mail and drop its payload, then cloudron.mail picks it up and sends it on to the final destinations as the sender (any app/user@cloudron.home).

      Enjoy

      Conscious tech

      1 Reply Last reply
      4
      • yusfY Offline
        yusfY Offline
        yusf
        wrote on last edited by yusf
        #2

        This is almost docs-worthy, under some kind of home-hosting section. 👍

        1 Reply Last reply
        2
        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