Mail Server using amavisd-milter in 9.1 (Blue Onyx)

Hello Rocky,

today I have decided to move my mail server from CentOS to Rocky. It all went well except on small piece i.e. the so called Milter helper for Amavisd-new. I am able to install the Amavisd-new without any problems whatsoever, however after trying to install the “Milter” helper that is just an interface between MTA and the AmaViS itself I faced the following problem:

[root@mail spool]# yum install amavisd-milter  
Last metadata expiration check: 3:33:49 ago on Sun Dec 25 07:19:33 2022. 
Problem: conflicting requests 
 - nothing provides needed by amavisd-milter-1.7.2-1.el9.x86_64 
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Now I do need this in order to completely move from CentOS to Rocky i.e. to configure the DKIM on the mail server. Can you please help me with the installation of the milter interface on Rocky? What will be the correct way? Or is the milter interfaces deprecated. If so what will be replacing it ?

I am currently using the Rocky Linux release 9.1 (Blue Onyx).

now it seems that there is a way to do this in version 8 but not for version 9 i.e.

i am trying to keep that server installation minimal and thus does not want to install from

for that i will have to install munch of other tools that are not needed on production server! I would like to install from “yum install” and not from

make all
make install
make clean

When i check CentOS 7 i see that this is provided by epel , i.e.

[root@mail amavisd]# repoquery -i amavisd-milter

Name        : amavisd-milter
Version     : 1.7.2
Release     : 1.el7
Architecture: x86_64
Size        : 66120
Packager    : Fedora Project
Group       : Unspecified
URL         :
Repository  : epel
Summary     : Sendmail milter for amavisd-new using the AM.PDP protocol
Source      : amavisd-milter-1.7.2-1.el7.src.rpm
Description :
The amavisd-milter is a sendmail milter (mail filter) for amavisd-new
2.4.3 (and above) and sendmail 8.13 (and above) which use the new AM.PDP

Run 'usermod -a -G amavis postfix' when using Postfix and amavisd-milter
via the unix socket.

well i do have epel enabled in my case in Blue Onyx

if i search for libmitler in centos i get the following:

[root@mail yum.repos.d]# yum search libmilter
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
==================================================================================================================== Matched: libmilter =====================================================================================================================
python2-pymilter.x86_64 : Python interface to sendmail milter API
python36-pymilter.x86_64 : Python interface to sendmail milter API

bought of those are from epel release in centos, however those are missing for Rocky Onyx.

Here you have to enable the “crb” repository.

dnf config-manager --set-enabled crb

It is the powertools replacement.

# dnf provides \*/
Last metadata expiration check: 1:19:54 ago on Sun 25 Dec 2022 07:21:07 AM EST.
sendmail-milter-8.16.1-10.el9.i686 : The sendmail milter library
Repo        : crb
Matched from:
Filename    : /usr/lib/

sendmail-milter-8.16.1-10.el9.x86_64 : The sendmail milter library
Repo        : crb
Matched from:
Filename    : /usr/lib64/
1 Like

!!! Many thanks !!! Work like a charm :slight_smile:

I just found out about the crb repository myself so it was fresh in my mind.