• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

/etc/psa-spf/spfbehavior: No such file or directory

GuillaumeH

Basic Pleskian
Hi,

I get this error :


qmail-queue-handlers[9735]: handlers_stderr: Unable to open file /etc/psa-spf/spfbehavior: No such file or directory System error 2: No such file or directory

in /usr/local/psa/var/log/maillog


I get it every 3/4 minutes in my log. I have no spfbehavior file in /etc/psa-spf

Is this normal or how do I correct this error? I think this make spf not working, isn't it?
 
What is version of your Plesk? As I remember it can be fixed for 9.2.3 with psa-hotfix3-9.2.3 package reinstallation.
 
File /etc/psa-spf/spfbehavior should appear after you switch on SPF filter in Plesk interface.
 
Try to change 'SPF checking mode'. I have tried it on my test environment and I see /etc/psa-spf/spfbehavior now.
 
Check that you have correct permissions there and maybe try to reinstall corresponding package with force:

# rpm -qf /etc/psa-spf/
psa-mail-driver-common-9.5.1-cos5.build95100410.11

# stat /etc/psa-spf/
File: `/etc/psa-spf/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: bfh/191d Inode: 20170187 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 31/ popuser)
 
Same problem:
qmail-queue-handlers[24005]: handlers_stderr: Unable to open file /etc/psa-spf/spfbehavior: Permission denied System error 13: Permission denied

I have turned on and turned off SPF checking via Plesl - no change.

I have looked at /etc/psa-spf
(lrwxrwxrwx 1 root root 12 Dec 27 2009 psa-spf -> /etc/psa/spf)
cd psa-spf
[root@webfeat psa-spf]# ls -l
total 12
-rw-r--r-- 1 root root 1 Sep 27 08:35 spfbehavior
-rw-r--r-- 1 root root 74 Sep 22 20:28 spfexp
-rw-r--r-- 1 root root 29 Sep 22 20:28 spfguess
-rw-r--r-- 1 root root 0 Apr 14 12:22 spfrules
[root@webfeat psa-spf]# cat 'spfbehavior' | less

1
(END)
[root@webfeat psa-spf]# rpm -qf /etc/psa-spf/
psa-mail-driver-common-9.5.2-cos5.build95100504.12


I have made a change to rule via Plesk (from 3 to 1) and change was reflected in file spfbehavior = no change either.
Error messages continue:
qmail-queue-handlers[15643]: handlers_stderr: Unable to open file /etc/psa-spf/spfbehavior: Permission denied System error 13: Permission denied
 
Back
Top