Question

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.09.08.16.08.53

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.

http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim 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: email@gmail.com Received: by 10.112.181.97 with SMTP id dv1csp550274lbc; Thu, 11 Sep 2014 00:00:40 -0700 (PDT) X-Received: by 10.180.187.76 with SMTP id fq12mr15922wic.4.1410418840431; Thu, 11 Sep 2014 00:00:40 -0700 (PDT) Return-Path: no-reply@domain.nl Received: from hostname.nl (hostname.nl. [188.226.xxx.xxx]) by mx.google.com with ESMTPS id yw4si15174wjc.94.2014.09.11.00.00.40 for email@gmail.com (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Sep 2014 00:00:40 -0700 (PDT) Received-SPF: pass (google.com: domain of no-reply@domain.nl designates 188.226.xxx.xxx as permitted sender) client-ip=188.226.xxx.xxx; Authentication-Results: mx.google.com; spf=pass (google.com: domain of no-reply@domain.nl designates 188.226.xxx.xxx as permitted sender) smtp.mail=no-reply@domain.nl Received: by hostname.nl (Postfix, from userid 33) id 9A72F20A2F; Thu, 11 Sep 2014 03:00:39 -0400 (EDT) To: User Name info@domain.nl Subject: Subscription X-PHP-Originating-Script: 0:SimpleMailInvoker.php Message-ID: 44a09f0df9f24b02680e7c180a874ea4@domain.nl Date: Thu, 11 Sep 2014 07:00:39 +0000 From: Tcr no-reply@domain.nl Cc: User Name email@gmail.com MIME-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Thanks in advance

And see my email test https://www.mail-tester.com/web-9aA7Ti