add new multiple domains to sign dkim

  • Posted on September 11, 2014
  • reshadfarAsked by reshadfar
  • iRedMail version: 0.8.7
  • Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
  • Linux/BSD distribution name and version: Ubuntu 14.04

Hello guys I have got my iredmail up and running. The only thing is when I get to send emails they go to spam in gmail and don’t arrive at all in hotmail or outlook.

After testing it says that the dkim is not signed. How can I solve this? I have more than 1 virtual domain.

I tried to generate a new RSA key for my second domain. But in /etc/amavis/ there is no amavisd.conf or anything like that… But there is the following:

/etc/amavis/conf.d# ls 01-debian 15-content_filter_mode 30-template_localization 05-domain_id 20-debian_defaults 40-policy_banks 05-node_id 21-ubuntu_defaults 50-user 15-av_scanners 25-amavis_helpers 50-user.2014.

Can someone guide me through this to add the next domain?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I am not familiar with iredmail but the config file you edit is the 50-user. has a good info on amavisd and dkim signing.

See below I have changed some confidential stuff :) the mail is sent to a gmail account since the hotmail and outlook accounts don’t receive mail at all. The mail is send with Laravel so I guess those should be fine…

Delivered-To: Received: by with SMTP id dv1csp550274lbc; Thu, 11 Sep 2014 00:00:40 -0700 (PDT) X-Received: by with SMTP id fq12mr15922wic.4.1410418840431; Thu, 11 Sep 2014 00:00:40 -0700 (PDT) Return-Path: Received: from ( []) by with ESMTPS id yw4si15174wjc.94.2014. for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Sep 2014 00:00:40 -0700 (PDT) Received-SPF: pass ( domain of designates as permitted sender); Authentication-Results:; spf=pass ( domain of designates as permitted sender) Received: by (Postfix, from userid 33) id 9A72F20A2F; Thu, 11 Sep 2014 03:00:39 -0400 (EDT) To: User Name Subject: Subscription X-PHP-Originating-Script: 0:SimpleMailInvoker.php Message-ID: Date: Thu, 11 Sep 2014 07:00:39 +0000 From: Tcr Cc: User Name MIME-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Thanks in advance

And see my email test