Home » Uncategorized » Using an SPF Record to Prevent Spam

Using an SPF Record to Prevent Spam

https://www.ionos.com/help/domains/configuring-mail-servers-and-other-related-records/using-an-spf-record-to-prevent-spam/

Especially for a business, it is important to prevent the sending of spam using your email addresses. An effective protection against abusive email sending is an SPF record that you can add to your domain at IONOS. You can use it to strictly define that only email coming from IONOS mail servers are authorized to be sent using your email addresses. Any attempt to deliver mail from another mail server will either fail or result in these emails being classified as suspicious and moved to spam folders.

Configuring an SPF Record

You can configure an SPF (TXT) record in the DNS settings of your domain.

Please Note

You can only create a single SPF record. If you are using a service such as Mailjet, it will be necessary to extend the existing SPF record with any changes you would like to apply.

  • Log in to IONOS and go to the Domains & SSL section.
  • Click on the gear symbol for the desired domain under Actions and select DNS.
  • Click on the gear symbol for the desired SPF record under Actions and select Edit Record .
  • Optional: In the Host name field, specify the desired host, such as www or @. The @ character is used as a placeholder in this case and ensures that the domain is called with www and all subdomains.
  • Optional: Select the Custom weighting if it is not selected.
  • In the Value field, add the required entries. Make sure that the existing entries are not deleted. Example: To use the SPF record also for Mailjet, the rule include:spf.mailjet.com must be added. In this case the value field will read:

    v=spf1 include:_spf.perfora.net include:_spf.kundenserver.de include:spf.mailjet.com ~all
  • Optional: Adjust the TTL (time-to-live) if desired.
  • Click SAVE.

Creating an SPF Record

If an SPF record does not yet exist for your domain, follow these steps to create it:

  • Log in to IONOS and go to the Domains & SSL section.
  • Click on the gear symbol for the desired domain under Actions and select DNS.
  • Click ADD RECORD and select SPF (TXT).
  • Enter the required entry in the Host name field.
  • Select the desired weighting: If you activate the Softfail or Hardfail option, the recipient’s mail server checks whether the received email originates from an authorized mail server. This is done by the mail server comparing the sender information with those entered in the SPF record. If the information matches, the email will be delivered. If they do not match, the emails are handled as specified in the SPF record.