<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — dkim key - amavisd.conf]]></title>
		<link>https://forum.iredmail.org/topic20561-dkim-key-amavisdconf.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20561.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in dkim key - amavisd.conf.]]></description>
		<lastBuildDate>Thu, 22 Aug 2024 02:37:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89427.html#p89427</link>
			<description><![CDATA[<div class="quotebox"><cite>wrdamron wrote:</cite><blockquote><p>Well the link kind of doesn&#039;t help, because there is no amavisd.conf file anywhere to be found.</p></blockquote></div><p>So you just searched text &quot;amavisd.conf&quot; on that page and closed it?</p><p>Again:</p><p>- Some linux distros use &quot;amavisd&quot; as the command, but some uses &quot;amavisd-new&quot;.<br />- <a href="https://docs.iredmail.org/file.locations.html">https://docs.iredmail.org/file.locations.html</a><br />- <a href="https://docs.iredmail.org/sign.dkim.signature.for.new.domain.html">https://docs.iredmail.org/sign.dkim.sig … omain.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 22 Aug 2024 02:37:26 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89427.html#p89427</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89425.html#p89425</link>
			<description><![CDATA[<p>It looks as though amavisd is the program.&nbsp; I found this in /usr/sbin and ran it with -h to see if it would answer.&nbsp; I also did a systemctl status amavis, this is where i found that it was amavisd that was running it.&nbsp; So I assume I can just use the amavisd instead of amavisd-new.&nbsp; Are the commands the same as above for using the same dkim?</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Wed, 21 Aug 2024 23:24:38 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89425.html#p89425</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89423.html#p89423</link>
			<description><![CDATA[<p>How can I install it or add it without going through reinstallation of iRedMail.</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Wed, 21 Aug 2024 22:55:00 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89423.html#p89423</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89400.html#p89400</link>
			<description><![CDATA[<div class="quotebox"><cite>wrdamron wrote:</cite><blockquote><p>Really?!&nbsp; First I tried iRedMail on raspberry pi 5, but it had limitations.&nbsp; Then I changed to Debian 12, on i5, and followed iRedMail-1.7.1 instructions from iRedMail website.&nbsp; amavis seems to have most everything except the command itself.&nbsp; How can I install it or add it without going through reinstallation of iRedMail.<br />???</p></blockquote></div><p>Yep, fresh install on a Ubuntu 24.04 Staging Environment,</p><div class="codebox"><pre><code>root@mx.stage04:/etc/amavis# ls -la
total 28
drwxr-xr-x   4 root root  4096 Aug 17 20:05 .
drwxr-xr-x 127 root root 12288 Aug 17 20:32 ..
drwxr-xr-x   2 root root  4096 Aug 17 20:06 conf.d
drwxr-xr-x   2 root root  4096 Aug 17 20:05 en_US
-rw-r--r--   1 root root   978 Jul 17  2023 README.l10n
root@mx.stage04:/etc/amavis# cd conf.d
root@mx.stage04:/etc/amavis/conf.d# ls -la
total 112
drwxr-xr-x 2 root root  4096 Aug 17 20:06 .
drwxr-xr-x 4 root root  4096 Aug 17 20:05 ..
-rw-r--r-- 1 root root  1610 Jul 17  2023 01-debian
-rw-r--r-- 1 root root   692 Jul 17  2023 05-domain_id
-rw-r--r-- 1 root root   429 Jul 17  2023 05-node_id
-rw-r--r-- 1 root root 20791 Jul 17  2023 15-av_scanners
-rw-r--r-- 1 root root   717 Jul 17  2023 15-content_filter_mode
-rw-r--r-- 1 root root  9511 Jul 17  2023 20-debian_defaults
-rw-r--r-- 1 root root   649 Jul 17  2023 21-ubuntu_defaults
-rw-r--r-- 1 root root   573 Jul 17  2023 25-amavis_helpers
-rw-r--r-- 1 root root  2130 Jul 17  2023 30-template_localization
-rw-r--r-- 1 root root  1567 Jul 17  2023 40-policy_banks
-rw-r--r-- 1 root root 29144 Aug 17 20:06 50-user
-rw-r--r-- 1 root root   318 Aug 17 20:06 50-user.2024.08.17.20.01.12</code></pre></div><p>You can see the fresh install here on stag04 has Amavis &amp; it&#039;s configs present, latest 1.7.1 as of this post.</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (jackb)]]></author>
			<pubDate>Wed, 21 Aug 2024 21:06:03 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89400.html#p89400</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89396.html#p89396</link>
			<description><![CDATA[<p>Really?!&nbsp; First I tried iRedMail on raspberry pi 5, but it had limitations.&nbsp; Then I changed to Debian 12, on i5, and followed iRedMail-1.7.1 instructions from iRedMail website.&nbsp; amavis seems to have most everything except the command itself.&nbsp; How can I install it or add it without going through reinstallation of iRedMail.<br />???</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Wed, 21 Aug 2024 17:28:13 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89396.html#p89396</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89391.html#p89391</link>
			<description><![CDATA[<div class="quotebox"><cite>wrdamron wrote:</cite><blockquote><p>I do not have amavisd-new.&nbsp; it says command not found</p></blockquote></div><p>Are you sure you are using iRedMail? I would suggest starting from scratch and install <a href="https://www.iredmail.org/download.html">https://www.iredmail.org/download.html</a></p><p>On all installations of iRedMail amavis-new has been installed. </p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (jackb)]]></author>
			<pubDate>Wed, 21 Aug 2024 02:27:52 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89391.html#p89391</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89390.html#p89390</link>
			<description><![CDATA[<p>I do not have amavisd-new.&nbsp; it says command not found</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Wed, 21 Aug 2024 02:21:43 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89390.html#p89390</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89388.html#p89388</link>
			<description><![CDATA[<div class="quotebox"><cite>wrdamron wrote:</cite><blockquote><p>Sorry the only location that I found for the amavisd.conf file was mentioned in my original post which was not answered in its entirety.&nbsp; </p><p>Question: amavisd.conf is in iRedmail-1.7.1/samples.&nbsp; Do I edit the amavisd.conf in samples or is it to be moved to another directory?</p></blockquote></div><p>No leave the sample.conf alone. When you do sudo amavisd-new showkeys do you get a output ? </p><p>You only need to edit 50-user</p><div class="codebox"><pre><code> sudo nano /etc/amavis/conf.d/50-user
 
 Find the following line,
 
 dkim_key(&#039;domain0.com&#039;, &#039;dkim&#039;, &#039;/var/lib/dkim/domain0.com.pem&#039;);
 
 Add another line with,
 
 dkim_key(&#039;domain1.com&#039;, &#039;dkim&#039;, &#039;/var/lib/dkim/domain1.com.pem&#039;);
 
 look for the line dkim_signature_options_bysender_maps then add,
  
 &quot;domain2.com&quot; =&gt; { d =&gt; &quot;domain2.com&quot;, a =&gt; &#039;rsa-sha256&#039;, ttl =&gt; 10*24*3600 },

 Once done run the following,
 
 sudo amavisd-new genrsa /var/lib/dkim/domain1.com.pem 2048

 Change Permissions,
 
 sudo chown amavis:amavis /var/lib/dkim/ -R

 Restart Amavis,
 
 sudo systemctl restart amavis

 Then run the following,
  
 sudo amavisd-new showkeys</code></pre></div><p>Once you got the new keys, add a TXT Record to your Name Servers.</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (jackb)]]></author>
			<pubDate>Wed, 21 Aug 2024 01:52:08 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89388.html#p89388</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89386.html#p89386</link>
			<description><![CDATA[<p>Sorry the only location that I found for the amavisd.conf file was mentioned in my original post which was not answered in its entirety.&nbsp; </p><p>Question: amavisd.conf is in iRedmail-1.7.1/samples.&nbsp; Do I edit the amavisd.conf in samples or is it to be moved to another directory?</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Wed, 21 Aug 2024 01:04:22 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89386.html#p89386</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89385.html#p89385</link>
			<description><![CDATA[<p>Well the link kind of doesn&#039;t help, because there is no amavisd.conf file anywhere to be found.&nbsp; I&#039;m really at a loss here.&nbsp; I put my dkim record in my dns with the key that was generated after install, yet when I run a test on dkim for that domain it fails.</p><p>I&#039;m really at a loss on this issue.</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Wed, 21 Aug 2024 01:00:02 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89385.html#p89385</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89358.html#p89358</link>
			<description><![CDATA[<div class="quotebox"><cite>wrdamron wrote:</cite><blockquote><p>Actually, can I use the current dkim key that iRedMail generated for my domain and use it for all other domains?  If so what would I need to do?</p></blockquote></div><p>FYI <a href="https://docs.iredmail.org/sign.dkim.signature.for.new.domain.html">https://docs.iredmail.org/sign.dkim.sig … omain.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 20 Aug 2024 01:07:53 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89358.html#p89358</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89349.html#p89349</link>
			<description><![CDATA[<p>Actually, can I use the current dkim key that iRedMail generated for my domain and use it for all other domains?&nbsp; If so what would I need to do?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Mon, 19 Aug 2024 19:09:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89349.html#p89349</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89348.html#p89348</link>
			<description><![CDATA[<p>I&#039;m using Debin 12:</p><p>root@mailhost:/etc/amavis# ls -la<br />total 28<br />drwxr-xr-x&nbsp; &nbsp;4 root root&nbsp; 4096 Aug 17 13:01 .<br />drwxr-xr-x 150 root root 12288 Aug 18 19:54 ..<br />drwxr-xr-x&nbsp; &nbsp;2 root root&nbsp; 4096 Aug 17 13:07 conf.d<br />drwxr-xr-x&nbsp; &nbsp;2 root root&nbsp; 4096 Aug 17 13:01 en_US<br />-rw-r--r--&nbsp; &nbsp;1 root root&nbsp; &nbsp;978 Feb 29 14:56 README.l10n</p>]]></description>
			<author><![CDATA[null@example.com (wrdamron)]]></author>
			<pubDate>Mon, 19 Aug 2024 19:06:51 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89348.html#p89348</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89343.html#p89343</link>
			<description><![CDATA[<p>Some linux distros use &quot;amavisd&quot; as the command, but some uses &quot;amavisd-new&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 19 Aug 2024 04:04:57 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89343.html#p89343</guid>
		</item>
		<item>
			<title><![CDATA[Re: dkim key - amavisd.conf]]></title>
			<link>https://forum.iredmail.org/post89342.html#p89342</link>
			<description><![CDATA[<p>FYI <a href="https://docs.iredmail.org/file.locations.html">https://docs.iredmail.org/file.locations.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 19 Aug 2024 04:03:56 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89342.html#p89342</guid>
		</item>
	</channel>
</rss>
