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. Unexpected SPF record when using outgoing-only mail

Unexpected SPF record when using outgoing-only mail

Scheduled Pinned Locked Moved Solved Support
spfmail
5 Posts 3 Posters 1.1k 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.
  • R Offline
    R Offline
    Robin
    wrote on last edited by girish
    #1

    I recently switched to using managed DNS for a domain. The domain in question is configured to use outbound-only mail via an external SMTP server, as I have mail already hosted elsewhere. Isn't it wrong that I got an SPF record automatically created for this domain, then?

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      SPF records are for sending out emails, which is what you still do with outbound-only. So it is to be expected to have the outbound related records to avoid having transactional emails like password resets and notifications directly put in spam.

      R 1 Reply Last reply
      1
      • nebulonN nebulon

        SPF records are for sending out emails, which is what you still do with outbound-only. So it is to be expected to have the outbound related records to avoid having transactional emails like password resets and notifications directly put in spam.

        R Offline
        R Offline
        Robin
        wrote on last edited by
        #3

        @nebulon Hmm, okay. Been way too long since I've looked at running an email setup, so I had no idea! Good to know.

        There is still a bit of a problem, though, in that it seems like the record creation doesn't play very well with other existing SPF records. I had an existing SPF record for my main domain, so this meant I ended up with two of them when Cloudron pushed its one. I've now merged them together, so I guess I'm fine, so long as Cloudron doesn't try install it again...

        Not sure if this can be a problem or not...

        girishG 1 Reply Last reply
        0
        • R Robin

          @nebulon Hmm, okay. Been way too long since I've looked at running an email setup, so I had no idea! Good to know.

          There is still a bit of a problem, though, in that it seems like the record creation doesn't play very well with other existing SPF records. I had an existing SPF record for my main domain, so this meant I ended up with two of them when Cloudron pushed its one. I've now merged them together, so I guess I'm fine, so long as Cloudron doesn't try install it again...

          Not sure if this can be a problem or not...

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @Robin Cloudron won't overwrite existing entries in SPF record. It will only add "a:my.domain.com" to the existing SPF.

          R 1 Reply Last reply
          1
          • girishG girish marked this topic as a question on
          • girishG girish has marked this topic as solved on
          • girishG girish

            @Robin Cloudron won't overwrite existing entries in SPF record. It will only add "a:my.domain.com" to the existing SPF.

            R Offline
            R Offline
            Robin
            wrote on last edited by
            #5

            @girish Hmm, that didn't match the behaviour I saw. I ended up with two separate SPF records in Hetzner. One that I had already set up from my own DNS setup, and one added from Cloudron - which didn't contain the content of my own record. Thankfully it wasn't difficult to fix, once I read up on 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