1

Topic: amavisd-new showkeys returns command not found

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer
- Linux/BSD distribution name and version:  CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?  Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Need to look at the generated DKIM key that was setup on the iRedMail server for a new domain that got added recently.

amavisd-new showkeys

<returns>

bash: amavisd-new: command not found

Also tried the command:

amavisd

<returns>

Config file "/etc/amavisd.conf" does not exist, at /usr/sbin/amavisd line 2216.

How can I view/output the generated DKIM key value to setup the necessary DNS record?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: amavisd-new showkeys returns command not found

On CentOS 7, you should run:

amavisd -c /etc/amavisd/amavid.conf testkeys

3

Re: amavisd-new showkeys returns command not found

Thanks for your reply. Still no luck. see below.

# amavisd -c /etc/amavisd/amavid.conf testkeys
Config file "/etc/amavisd/amavid.conf" does not exist, at /usr/sbin/amavisd line 2216.

4

Re: amavisd-new showkeys returns command not found

- /etc/amavisd.conf was present on CentOS 6 due to old Amavisd package.
- /etc/amavisd/amavisd.conf is present on CentOS 7.

But neither exists on your server. That's weird.

- Do you use any third-party yum repo except EPEL?
- Run command "rpm -ql amavisd-new", check where is the amavisd.conf.