How To Install pypolicyd-spf on Rocky Linux 8
Introduction
In this tutorial we learn how to install pypolicyd-spf
on Rocky Linux 8.
What is pypolicyd-spf
pypolicyd-spf is a Postfix policy engine for Sender Policy Framework (SPF) checking. It is implemented in pure Python and uses the python-spf (pyspf) module. This SPF policy server implementation provides flexible options for different receiver policies and sender whitelisting to enable it to support a very wide range of requirements.
We can use yum
or dnf
to install pypolicyd-spf
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pypolicyd-spf.
Install pypolicyd-spf on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pypolicyd-spf
using dnf
by running the following command:
sudo dnf -y install pypolicyd-spf
Install pypolicyd-spf on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pypolicyd-spf
using yum
by running the following command:
sudo yum -y install pypolicyd-spf
How To Uninstall pypolicyd-spf on Rocky Linux 8
To uninstall only the pypolicyd-spf
package we can use the following command:
sudo dnf remove pypolicyd-spf
pypolicyd-spf Package Contents on Rocky Linux 8
/etc/python-policyd-spf
/etc/python-policyd-spf/policyd-spf.conf
/usr/lib/python3.6/site-packages/__pycache__
/usr/lib/python3.6/site-packages/__pycache__/policydspfsupp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/policydspfsupp.cpython-36.pyc
/usr/lib/python3.6/site-packages/__pycache__/policydspfuser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/policydspfuser.cpython-36.pyc
/usr/lib/python3.6/site-packages/policydspfsupp.py
/usr/lib/python3.6/site-packages/policydspfuser.py
/usr/lib/python3.6/site-packages/pypolicyd_spf-2.0.2-py3.6.egg-info
/usr/libexec/postfix/policyd-spf
/usr/share/doc/pypolicyd-spf
/usr/share/doc/pypolicyd-spf/CHANGES
/usr/share/doc/pypolicyd-spf/COPYING
/usr/share/doc/pypolicyd-spf/README
/usr/share/doc/pypolicyd-spf/README.per_user_whitelisting
/usr/share/doc/pypolicyd-spf/policyd-spf.conf.commented
/usr/share/man/man1/policyd-spf.1.gz
/usr/share/man/man5/policyd-spf.conf.5.gz
/usr/share/man/man5/policyd-spf.peruser.5.gz
References
Summary
In this tutorial we learn how to install pypolicyd-spf
on Rocky Linux 8 using yum and dnf.