PLESK: How to bypass IP and hostname from SPF check

Sometimes, for various reasons, you may need to make a scanning exception for SPF on your Plesk server, this can be done by doing this:

Go to Plesk Control Panel –> Tools & Settings –> Mail Server Settings.
Add ip4:x.x.x.x or to the SPF local rules field.
More than one entry should be separated by spaces.

Click OK.


And that’s it! 🙂


  1. John Low


    I’ve tried:, and

    but both are not working.

    Appreciate your advise.

    Thanks & regards
    John Low

    1. Martin (Post author)


      Due to this:

      Following rfc4408

      Your 2nd solution should be working.

      Have you tried rebooting the Plesk server to make sure the SPF settings get implmented correctly?

      (Sorry for the delay – been on vacation 😉 )

      Best regards


Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.