• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

No SPF entry in mail header !

MartinB

Basic Pleskian
Hello !

Today I've installed Plesk 12.5.30 ( Ubuntu 14.04 ), activate " SPF " at the
mailserver settings, but if I send a mail, there is no SFP entry in the header !!!

With 12.0 , no problem !

Could anyboy help me ?

Bye, Martin
 
First of all make sure that you have correct permissions for spf handler:

# ls -l /usr/local/psa/handlers/hooks/spf
-rwxr-x--- 1 root popuser 22512 Aug 26 19:21 /usr/local/psa/handlers/hooks/spf

Also you can try to repair mailserver settings with

# plesk repair mail
 
Thanks for your answer ... :)

Before I use the repair command, could it be a problem, beacause I've installed
DKIM and CalmAV ... :rolleyes:

Bye, Martin
 
Thanks again, ahh, forget to write :

The permisson of the spf handler is the same as yours ... ;)

Is there a way to install SPF via Terminal ?
So, I would deactivate it under Plesk ... :eek:

Bye, Martin
 
OK, I got this :

Code:
# /usr/local/psa/bin/mailserver --help | grep spf
    --update-spf                       Update SPF (Sender Policy Framework)
    --info or -i <options|black-list|white-list|spf|webmails>
                                       spf properties or available webmail
    -spf-status        <true|false>    Enables or disables SPF spam
    -spf-behavior      <spf_behavior>  Sets the behavior of SPF.(From 1 to
    -spf-ignore-dns-error <true|false> Enables or disables ignoring of DNS
    -spf-rules         <spf_rules>     Sets SPF rules which will be carried
    -spf-guess         <spf_guess>     Sets SPF rules which will be carried
    -spf-exp           <spf-exp>       Sets the line which will receive the

And now ?

I'm a beginner , sorry ... :D

Bye, Martin
 
Back
Top