How To Install python3-pymilter on Rocky Linux 8

In this tutorial we learn how to install python3-pymilter on Rocky Linux 8. python3-pymilter is Python interface to sendmail milter API

Introduction

In this tutorial we learn how to install python3-pymilter on Rocky Linux 8.

What is python3-pymilter

This is a python extension module to enable python scripts to attach to sendmail’s libmilter functionality. Additional python modules provide for navigating and modifying MIME parts, sending DSNs, and doing CBV.

We can use yum or dnf to install python3-pymilter on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pymilter.

Install python3-pymilter 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 python3-pymilter using dnf by running the following command:

sudo dnf -y install python3-pymilter

Install python3-pymilter 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 python3-pymilter using yum by running the following command:

sudo yum -y install python3-pymilter

How To Uninstall python3-pymilter on Rocky Linux 8

To uninstall only the python3-pymilter package we can use the following command:

sudo dnf remove python3-pymilter

python3-pymilter Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/f398238c627438e9064fcce25f57c1c9fa427f
/usr/lib64/python3.6/site-packages/Milter
/usr/lib64/python3.6/site-packages/Milter/__init__.py
/usr/lib64/python3.6/site-packages/Milter/__pycache__
/usr/lib64/python3.6/site-packages/Milter/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/cache.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/cache.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/config.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/dns.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/dns.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/dsn.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/dsn.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/dynip.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/dynip.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/greylist.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/greylist.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/greysql.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/greysql.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/plock.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/plock.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/pyip6.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/pyip6.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/sgmllib.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/sgmllib.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/test.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/test.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/testctx.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/testctx.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/unsign.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/unsign.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/Milter/__pycache__/utils.cpython-36.pyc
/usr/lib64/python3.6/site-packages/Milter/cache.py
/usr/lib64/python3.6/site-packages/Milter/config.py
/usr/lib64/python3.6/site-packages/Milter/dns.py
/usr/lib64/python3.6/site-packages/Milter/dsn.py
/usr/lib64/python3.6/site-packages/Milter/dynip.py
/usr/lib64/python3.6/site-packages/Milter/greylist.py
/usr/lib64/python3.6/site-packages/Milter/greysql.py
/usr/lib64/python3.6/site-packages/Milter/plock.py
/usr/lib64/python3.6/site-packages/Milter/pyip6.py
/usr/lib64/python3.6/site-packages/Milter/sgmllib.py
/usr/lib64/python3.6/site-packages/Milter/test.py
/usr/lib64/python3.6/site-packages/Milter/testctx.py
/usr/lib64/python3.6/site-packages/Milter/unsign.py
/usr/lib64/python3.6/site-packages/Milter/utils.py
/usr/lib64/python3.6/site-packages/__pycache__
/usr/lib64/python3.6/site-packages/__pycache__/mime.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/mime.cpython-36.pyc
/usr/lib64/python3.6/site-packages/milter.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/mime.py
/usr/lib64/python3.6/site-packages/pymilter-1.0.4-py3.6.egg-info
/usr/share/doc/python3-pymilter
/usr/share/doc/python3-pymilter/CREDITS
/usr/share/doc/python3-pymilter/ChangeLog
/usr/share/doc/python3-pymilter/NEWS
/usr/share/doc/python3-pymilter/README
/usr/share/doc/python3-pymilter/TODO
/usr/share/doc/python3-pymilter/milter-template.py
/usr/share/doc/python3-pymilter/sample.py
/usr/share/licenses/python3-pymilter
/usr/share/licenses/python3-pymilter/COPYING

References

Summary

In this tutorial we learn how to install python3-pymilter on Rocky Linux 8 using yum and dnf.