Skip/whitelist SPF for certain IPs

Discussion in 'General' started by Steffen, Aug 10, 2021.

  1. Steffen

    Steffen New Member

    A client of ours are using a separat mailscanner who forwards emails without SRS. This often triggers SPF recjection or softfails.
    We tried whitelisting IPs from within the ISPconfig interface under Mail -> Postfix Whitelist by inserting an sender exception. Emails are still being SPF rejected though.
    How is it possible to skip SPF checks for certain IP adresses/ranges so we can help our client?
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    What spam scanner do you use (amavisd or rspamd)? What version of ISPConfig are you running?
     
  3. Steffen

    Steffen New Member

  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Where is it performed? (I have one amavisd system left, and a quick check shows it is amavis performing spf checks there, but you could certainly have added additional software to do that.)
    You can make your changes to survive ispconfig updates by putting them in /usr/local/ispconfig/server/conf-custom/install/postfix_custom.conf.master.
     

Share This Page