1

Topic: Debian DKIM amavis documentation

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


Hi,

I do not need help, but want to thank ZhangHuangbin for providing iRedMail. This is for anyone stuck as I was on setting this up first time and for my own reference later.

Note documentation:
https://docs.iredmail.org/setup.dns.html#dkim
https://docs.iredmail.org/file.locations.html#amavisd

If you get the errors:

amavisd-new: command not found

or

Config file "/etc/amavisd/amavisd.conf" does not exist, at /usr/sbin/amavisd-new

Try:

"/usr/sbin/amavisd-new -c /etc/amavis/conf.d/50-user showkeys"


Thanks again

----

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

2

Re: Debian DKIM amavis documentation

Thanks for sharing.

Actually the document mentions this difference on different linux/bsd distributions, but it's under first command.
I now moved the section above it, should be easier to understand the difference and figure out the correct command.

3

Re: Debian DKIM amavis documentation

On Debian12 i need to restart Amavis and run command to obtain DKIM key like that:

sudo service amavis restart
sudo /usr/sbin/amavisd showkey

"showkey" not "showkeys"

before i keept on geting:

 amavis: command not found 

4

Re: Debian DKIM amavis documentation

Try command "amavisd" or "amavisd-new" instead.