SPF Fail on Contact Form Entries

Hi there,

I am struggling with my instance of cockpit that all contact forms on my website keeps going to spam. The SPF record is correct.

Its installed on a shared host on cPanel, the email client on cPanel works fine and all emails are SPF compliant.

Is there anything i need to change on the cockpit to stop the host name changing or something, this is what i have as settings:

‘mailer’ => [
‘from’ => ‘webmaster@mydomainname.co.uk’,
‘transport’ => ‘’,
‘host’ => ‘localhost’,
‘user’ => ‘’,
‘password’ => ‘’,
‘port’ => 25,
‘auth’ => false,
‘encryption’ => ‘none’,
],

What i see on the email header is that the SPF has changed to:
spf:sxb1plzcpnl440009.prod.sxb1.secureserver.net:2603:10a6:400:76::6

Thanks