Topic: add spf and/or dkim after original setup


I have just installed iRedMail version 0.7.3 on a ubuntu server 11.04 32 bit virtual machine (VirtualBox). Originally I installed it with mysql but without SPF & DKIM as I am not familiar with these (yet...).

After testing, I would now like to activate these features (SPF/DKIM). Is there a relatively simple way to add these on or do I have to re-install ? The system is not in production use yet, so a re-install is not a major hassle.

btw, excellent software, easy to setup and from what I have seen in this forum, excellent support as well.

Thanks.==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.


Re: add spf and/or dkim after original setup

For SPF support: Install package "libmail-spf-perl" via apt-get, that's all.

For DKIM support:

- Install package "libmail-dkim-per" via apt-get.
- Add below settings in Amavisd config file in /etc/amavis/conf.d/50-user before the last line:

$enable_dkim_verification = 1;  # enable DKIM signatures verification
$enable_dkim_signing = 1;    # load DKIM signing code, keys defined by dkim_key

- Refer to this forum post to add DKIM keys and other settings:

Post issues and related logs here so that we can help troubleshoot.


Does my reply help a little? How about buy me a cup of coffee ($5)?

buy me a cup of coffee


Re: add spf and/or dkim after original setup

Thanks for the quick reply,

will get to it as soon as I get a chance.