<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://coolscript.net/index.php?action=history&amp;feed=atom&amp;title=Sendmail_2020</id>
	<title>Sendmail 2020 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://coolscript.net/index.php?action=history&amp;feed=atom&amp;title=Sendmail_2020"/>
	<link rel="alternate" type="text/html" href="https://coolscript.net/index.php?title=Sendmail_2020&amp;action=history"/>
	<updated>2026-06-02T19:14:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://coolscript.net/index.php?title=Sendmail_2020&amp;diff=551&amp;oldid=prev</id>
		<title>Admin: /* Testing */</title>
		<link rel="alternate" type="text/html" href="https://coolscript.net/index.php?title=Sendmail_2020&amp;diff=551&amp;oldid=prev"/>
		<updated>2021-10-30T19:45:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Testing&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:45, 30 October 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l327&quot;&gt;Line 327:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 327:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://luxsci.com/smtp-tls-checker&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://luxsci.com/smtp-tls-checker&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*http://multirbl.valli.org/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*http://multirbl.valli.org/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;https://intodns.com/mailtower.de&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;https://intodns.com/mailtower.de&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;https://mxtoolbox.com/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;https://mxtoolbox.com/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;https://dmarcly.com/tools/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;https://dmarcly.com/tools/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Client Configuration Example=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Client Configuration Example=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://coolscript.net/index.php?title=Sendmail_2020&amp;diff=550&amp;oldid=prev</id>
		<title>Admin: /* Testing */</title>
		<link rel="alternate" type="text/html" href="https://coolscript.net/index.php?title=Sendmail_2020&amp;diff=550&amp;oldid=prev"/>
		<updated>2021-10-30T19:44:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Testing&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:44, 30 October 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l324&quot;&gt;Line 324:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 324:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Other web sites&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Other web sites&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://esmtp.email/tools/mta-sts/?#&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://esmtp.email/tools/mta-sts/?#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://starttls-everywhere.org&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/results/?flighthaus.net&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://starttls-everywhere.org&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://luxsci.com/smtp-tls-checker&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#results&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://luxsci.com/smtp-tls-checker&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*http://multirbl.valli.org/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*http://multirbl.valli.org/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://intodns.com/mailtower.de&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://mxtoolbox.com/&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://dmarcly.com/tools/&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Client Configuration Example=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Client Configuration Example=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://coolscript.net/index.php?title=Sendmail_2020&amp;diff=199&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Mailer installation 2020 at Telehouse, this will replace the inhouse mailer (10.0.3.5), FQDN is test.anydomain.com.&lt;br&gt; The Mailer supports the typical MTA (Port 25) and IMAP...&quot;</title>
		<link rel="alternate" type="text/html" href="https://coolscript.net/index.php?title=Sendmail_2020&amp;diff=199&amp;oldid=prev"/>
		<updated>2020-12-05T18:24:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Mailer installation 2020 at Telehouse, this will replace the inhouse mailer (10.0.3.5), FQDN is test.anydomain.com.&amp;lt;br&amp;gt; The Mailer supports the typical MTA (Port 25) and IMAP...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Mailer installation 2020 at Telehouse, this will replace the inhouse mailer (10.0.3.5), FQDN is test.anydomain.com.&amp;lt;br&amp;gt;&lt;br /&gt;
The Mailer supports the typical MTA (Port 25) and IMAP (143) protocols. Optional encryption is available for IMAP (993/SSL/Normal password)&amp;lt;br&amp;gt;&lt;br /&gt;
and SMTP (587/STARTTLS/Normal password). &lt;br /&gt;
&lt;br /&gt;
=APT Packages=&lt;br /&gt;
==Mail==&lt;br /&gt;
 apt-get install libmail-sendmail-perl sendmail sendmail-base sendmail-bin sendmail-cf sendmail-doc dnsutils mailutils libyaml-dev&lt;br /&gt;
==Imap==&lt;br /&gt;
 apt-get install dovecot-imapd php-imap&lt;br /&gt;
==SASL==&lt;br /&gt;
 apt-get install libauthen-sasl-perl libsasl2-2:amd64 libsasl2-modules:amd64 libsasl2-modules-db:amd64 sasl2-bin&lt;br /&gt;
==SA==&lt;br /&gt;
 apt-get install spamass-milter spamassassin spamc&lt;br /&gt;
==DKIM==&lt;br /&gt;
 apt-get install libdkim1d libmail-dkim-perl libopendkim11 opendkim opendkim-tools&lt;br /&gt;
==DMARC==&lt;br /&gt;
 apt-get install libopendmarc2 opendmarc&lt;br /&gt;
==Apache2==&lt;br /&gt;
 apt-get install apache2 libapache2-mod-php&lt;br /&gt;
&lt;br /&gt;
==Roundcube==&lt;br /&gt;
 apt-get install roundcube roundcube-core roundcube-mysql&lt;br /&gt;
&lt;br /&gt;
=MTA Configuration=&lt;br /&gt;
==Sendmail==&lt;br /&gt;
*/etc/mail/sendmail.mc&lt;br /&gt;
*Authentication for MTA,IMAP, allow PLAIN, LOGIN DIGEST-MD5 and CRAM-MD5&lt;br /&gt;
 define(`confAUTH_MECHANISMS&amp;#039;, `PLAIN LOGIN DIGEST-MD5 CRAM-MD5&amp;#039;)dnl&lt;br /&gt;
 TRUST_AUTH_MECH(`PLAIN LOGIN DIGEST-MD5 CRAM-MD5&amp;#039;)dnl&lt;br /&gt;
*/etc/mail/sendmail.mc&lt;br /&gt;
*STARTTLS&lt;br /&gt;
 include(`/etc/mail/tls/starttls.m4&amp;#039;)dnl&lt;br /&gt;
*/etc/mail/sendmail.mc&lt;br /&gt;
*Spamassassin&lt;br /&gt;
 INPUT_MAIL_FILTER(`spamassassin&amp;#039;,`S=local:/var/run/spamass/spamass.sock,T=S:4m;R:4m;E:10m&amp;#039;)dnl&lt;br /&gt;
 define(`confMILTER_MACROS_ENVRCPT&amp;#039;,`r, v, Z, b, {auth_type}&amp;#039;)dnl&lt;br /&gt;
 define(`confMILTER_MACROS_ENVFROM&amp;#039;,`{auth_type}, i&amp;#039;)dnl&lt;br /&gt;
*/etc/mail/sendmail.mc&lt;br /&gt;
*Dkim&lt;br /&gt;
 INPUT_MAIL_FILTER(`dkim-milter&amp;#039;, `S=local:/var/run/opendkim/opendkim.sock,F=,T=C:10m;S:10m;R:20m;E:20m&amp;#039;)dnl&lt;br /&gt;
 define(`confMILTER_MACROS_ENVFROM&amp;#039;, `i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}&amp;#039;)dnl&lt;br /&gt;
*/etc/mail/sendmail.mc&lt;br /&gt;
*Dmarc&lt;br /&gt;
 INPUT_MAIL_FILTER(`milter-opendkim&amp;#039;,`S=unix:/var/run/opendmarc/opendmarc.sock, F=, T=R:2m&amp;#039;)&lt;br /&gt;
*/etc/mail/tls/starttls.m4&lt;br /&gt;
*TLS (see also the Letsencrypt configuration further down)&lt;br /&gt;
 define(`confCACERT&amp;#039;,           `/etc/mail/tls/fullchain.pem&amp;#039;)dnl   # &amp;lt;= EDIT&lt;br /&gt;
*Full configuration /etc/mail/sendmail.mc&lt;br /&gt;
 divert(-1)dnl&lt;br /&gt;
 #-----------------------------------------------------------------------------&lt;br /&gt;
 # $Sendmail: debproto.mc,v 8.15.2 2016-12-08 18:43:49 cowboy Exp $&lt;br /&gt;
 #&lt;br /&gt;
 # Copyright (c) 1998-2010 Richard Nelson.  All Rights Reserved.&lt;br /&gt;
 #&lt;br /&gt;
 # cf/debian/sendmail.mc.  Generated from sendmail.mc.in by configure.&lt;br /&gt;
 #&lt;br /&gt;
 # sendmail.mc prototype config file for building Sendmail 8.15.2&lt;br /&gt;
 #&lt;br /&gt;
 # Note: the .in file supports 8.7.6 - 9.0.0, but the generated&lt;br /&gt;
 #       file is customized to the version noted above.&lt;br /&gt;
 #&lt;br /&gt;
 # This file is used to configure Sendmail for use with Debian systems.&lt;br /&gt;
 #&lt;br /&gt;
 # If you modify this file, you will have to regenerate /etc/mail/sendmail.cf&lt;br /&gt;
 # by running this file through the m4 preprocessor via one of the following:&lt;br /&gt;
 #       * make   (or make -C /etc/mail)&lt;br /&gt;
 #       * sendmailconfig&lt;br /&gt;
 #       * m4 /etc/mail/sendmail.mc &amp;gt; /etc/mail/sendmail.cf&lt;br /&gt;
 # The first two options are preferred as they will also update other files&lt;br /&gt;
 # that depend upon the contents of this file.&lt;br /&gt;
 #&lt;br /&gt;
 # The best documentation for this .mc file is:&lt;br /&gt;
 # /usr/share/doc/sendmail-doc/cf.README.gz&lt;br /&gt;
 #&lt;br /&gt;
 #-----------------------------------------------------------------------------&lt;br /&gt;
 divert(0)dnl&lt;br /&gt;
 #&lt;br /&gt;
 #   Copyright (c) 1998-2005 Richard Nelson.  All Rights Reserved.&lt;br /&gt;
 #&lt;br /&gt;
 #  This file is used to configure Sendmail for use with Debian systems.&lt;br /&gt;
 #&lt;br /&gt;
 define(`_USE_ETC_MAIL_&amp;#039;)dnl&lt;br /&gt;
 include(`/usr/share/sendmail/cf/m4/cf.m4&amp;#039;)dnl&lt;br /&gt;
 VERSIONID(`$Id: sendmail.mc, v 8.15.2-8 2016-12-08 18:43:49 cowboy Exp $&amp;#039;)&lt;br /&gt;
 OSTYPE(`debian&amp;#039;)dnl&lt;br /&gt;
 DOMAIN(`debian-mta&amp;#039;)dnl&lt;br /&gt;
 dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE&lt;br /&gt;
 undefine(`confHOST_STATUS_DIRECTORY&amp;#039;)dnl        #DAEMON_HOSTSTATS=&lt;br /&gt;
 dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # General defines&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()&lt;br /&gt;
 dnl #   into this directory before writing files.&lt;br /&gt;
 dnl #   If *all* your user accounts are under /home then use that&lt;br /&gt;
 dnl #   instead - it will prevent any writes outside of /home !&lt;br /&gt;
 dnl #   define(`confSAFE_FILE_ENV&amp;#039;,             `&amp;#039;)dnl&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!!&lt;br /&gt;
 dnl # Remove `, Addr=&amp;#039; clauses to receive from any interface&lt;br /&gt;
 dnl # If you want to support IPv6, switch the commented/uncommentd lines&lt;br /&gt;
 dnl #&lt;br /&gt;
 FEATURE(`no_default_msa&amp;#039;)dnl&lt;br /&gt;
 FEATURE(virtusertable)dnl&lt;br /&gt;
 dnl Allow IPv4&lt;br /&gt;
 DAEMON_OPTIONS(`Port=submission, M=Ea, Name=MSA, Family=inet&amp;#039;)dnl&lt;br /&gt;
 DAEMON_OPTIONS(`Port=smtp,Name=MTA, Family=inet&amp;#039;)dnl&lt;br /&gt;
 &lt;br /&gt;
 dnl Set Masq and Domain&lt;br /&gt;
 FEATURE(`masquerade_envelope&amp;#039;)dnl&lt;br /&gt;
 FEATURE(`limited_masquerade&amp;#039;)dnl&lt;br /&gt;
 define(`confDOMAIN_NAME&amp;#039;,`anydomain.com&amp;#039;)dnl&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # Be somewhat anal in what we allow&lt;br /&gt;
 define(`confPRIVACY_FLAGS&amp;#039;,dnl&lt;br /&gt;
 `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings&amp;#039;)dnl&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # Define connection throttling and window length&lt;br /&gt;
 define(`confCONNECTION_RATE_THROTTLE&amp;#039;, `15&amp;#039;)dnl&lt;br /&gt;
 define(`confCONNECTION_RATE_WINDOW_SIZE&amp;#039;,`10m&amp;#039;)dnl&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # Features&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # use /etc/mail/local-host-names&lt;br /&gt;
 FEATURE(`use_cw_file&amp;#039;)dnl&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # The access db is the basis for most of sendmail&amp;#039;s checking&lt;br /&gt;
 FEATURE(`access_db&amp;#039;, , `skip&amp;#039;)dnl&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # The greet_pause feature stops some automail bots - but check the&lt;br /&gt;
 dnl # provided access db for details on excluding localhosts...&lt;br /&gt;
 FEATURE(`greet_pause&amp;#039;, `1000&amp;#039;)dnl 1 seconds&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # Delay_checks allows sender&amp;lt;-&amp;gt;recipient checking&lt;br /&gt;
 FEATURE(`delay_checks&amp;#039;, `friend&amp;#039;, `n&amp;#039;)dnl&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # If we get too many bad recipients, slow things down...&lt;br /&gt;
 define(`confBAD_RCPT_THROTTLE&amp;#039;,`3&amp;#039;)dnl&lt;br /&gt;
 dnl #&lt;br /&gt;
 dnl # Stop connections that overflow our concurrent and time connection rates&lt;br /&gt;
 FEATURE(`conncontrol&amp;#039;, `nodelay&amp;#039;, `terminate&amp;#039;)dnl&lt;br /&gt;
 FEATURE(`ratecontrol&amp;#039;, `nodelay&amp;#039;, `terminate&amp;#039;)dnl&lt;br /&gt;
  &lt;br /&gt;
 dnl -------------------------------------------&lt;br /&gt;
 dnl MK Authentication used for IMAP and Dovecot&lt;br /&gt;
 dnl -------------------------------------------&lt;br /&gt;
 define(`confAUTH_MECHANISMS&amp;#039;, `PLAIN LOGIN DIGEST-MD5 CRAM-MD5&amp;#039;)dnl&lt;br /&gt;
 TRUST_AUTH_MECH(`PLAIN LOGIN DIGEST-MD5 CRAM-MD5&amp;#039;)dnl&lt;br /&gt;
  &lt;br /&gt;
 dnl MK Fix for error messages in debug log&lt;br /&gt;
 define(`confCRL&amp;#039;, `/etc/ssl/revoke/revoke.crl&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
 dnl ---------------------------&lt;br /&gt;
 dnl MK Add optional TLS Support&lt;br /&gt;
 dnl ---------------------------&lt;br /&gt;
 include(`/etc/mail/tls/starttls.m4&amp;#039;)dnl&lt;br /&gt;
  &lt;br /&gt;
 dnl ---------------------------------------------------------&lt;br /&gt;
 dnl MK Tweaks&lt;br /&gt;
 dnl #http://heretic.net-ronin.org/~ramune/sysadmin/sendmail/&lt;br /&gt;
 dnl ---------------------------------------------------------&lt;br /&gt;
 define(`confSUPER_SAFE&amp;#039;,`true&amp;#039;)dnl&lt;br /&gt;
 define(`confMAX_MESSAGES_SIZE&amp;#039;,`1000000&amp;#039;)dnl&lt;br /&gt;
 define(`confMIN_FREE_BLOCKS&amp;#039;,`3000&amp;#039;)dnl&lt;br /&gt;
 dnl #define(`confTIME_ZONE&amp;#039;,`PST8PDT&amp;#039;)dnl&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 dnl MK Procmail support&lt;br /&gt;
 FEATURE(`local_procmail&amp;#039;)dnl&lt;br /&gt;
 &lt;br /&gt;
 dnl *******************&lt;br /&gt;
 dnl MK Spamassassin&lt;br /&gt;
 dnl Tipp: run sa-update&lt;br /&gt;
 dnl *******************&lt;br /&gt;
 INPUT_MAIL_FILTER(`spamassassin&amp;#039;,`S=local:/var/run/spamass/spamass.sock,T=S:4m;R:4m;E:10m&amp;#039;)dnl&lt;br /&gt;
 &lt;br /&gt;
 dnl ****&lt;br /&gt;
 dnl DKIM&lt;br /&gt;
 dnl ****&lt;br /&gt;
 INPUT_MAIL_FILTER(`dkim-milter&amp;#039;, `S=local:/var/run/opendkim/opendkim.sock,F=,T=C:10m;S:10m;R:20m;E:20m&amp;#039;)dnl&lt;br /&gt;
 define(`confMILTER_MACROS_ENVFROM&amp;#039;, `i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}&amp;#039;)dnl&lt;br /&gt;
 &lt;br /&gt;
 dnl *****&lt;br /&gt;
 dnl DMARC&lt;br /&gt;
 dnl *****&lt;br /&gt;
 INPUT_MAIL_FILTER(`milter-opendkim&amp;#039;,`S=unix:/var/run/opendmarc/opendmarc.sock, F=, T=R:2m&amp;#039;)&lt;br /&gt;
  &lt;br /&gt;
 dnl the below eliminates the mesage:&lt;br /&gt;
 dnl Could not retrieve sendmail macro &amp;quot;b&amp;quot;!.  Please add it to confMILTER_MACROS_ENVRCPT for better spamassassin results&lt;br /&gt;
 define(`confMILTER_MACROS_ENVRCPT&amp;#039;,`r, v, Z, b, {auth_type}&amp;#039;)dnl&lt;br /&gt;
 define(`confMILTER_MACROS_ENVFROM&amp;#039;,`{auth_type}, i&amp;#039;)dnl&lt;br /&gt;
  &lt;br /&gt;
 MAILER_DEFINITIONS&lt;br /&gt;
 MAILER(`local&amp;#039;)dnl&lt;br /&gt;
 MAILER(`smtp&amp;#039;)dnl&lt;br /&gt;
  &lt;br /&gt;
 dnl *********************************&lt;br /&gt;
 dnl Debug logging on demand only&lt;br /&gt;
 dnl define(`confLOG_LEVEL&amp;#039;, `98&amp;#039;)dnl&lt;br /&gt;
 dnl *********************************&lt;br /&gt;
  &lt;br /&gt;
 dnl *****************&lt;br /&gt;
 dnl Supported Domains&lt;br /&gt;
 dnl *****************&lt;br /&gt;
 Cwanydomain.com&lt;br /&gt;
 &lt;br /&gt;
 dnl Add because of poodle attack https://disablessl3.com/ - 28Okt2014&lt;br /&gt;
 LOCAL_CONFIG&lt;br /&gt;
 O CipherList=HIGH&lt;br /&gt;
 O ServerSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3 +SSL_OP_CIPHER_SERVER_PREFERENCE&lt;br /&gt;
 O ClientSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3&lt;br /&gt;
 O PrivacyOptions=goaway&lt;br /&gt;
&lt;br /&gt;
==Sasl==&lt;br /&gt;
*/etc/default/saslauthd&lt;br /&gt;
 START=yes&lt;br /&gt;
 MECHANISMS=&amp;quot;pam&amp;quot;&lt;br /&gt;
==Spamd==&lt;br /&gt;
*Add systemuser spamd&lt;br /&gt;
 useradd -M spamd&lt;br /&gt;
 usermod -L spamd&lt;br /&gt;
*Modify defaults&lt;br /&gt;
*/etc/default/spamassassin&lt;br /&gt;
 OPTIONS=&amp;quot;-q -x --max-children 10 -u spamd&amp;quot;&lt;br /&gt;
==Roundcube==&lt;br /&gt;
Fix to allow mailsent from roundcube&lt;br /&gt;
*/etc/roundcube/config.inc.php&lt;br /&gt;
 &amp;lt;pre&amp;gt;$config[&amp;#039;smtp_user&amp;#039;] = &amp;#039;&amp;#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Dovecot (Imap)==&lt;br /&gt;
*Needed for Jira or Clients who wants to use unencrypted IMAP via port 143&lt;br /&gt;
*/etc/dovecot/conf.d/10-auth.conf&lt;br /&gt;
 disable_plaintext_auth = no&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=DNS Configuration=&lt;br /&gt;
*/etc/hosts, the very first record&lt;br /&gt;
 127.0.0.1       vm-mail01.anydomain.com vm-mail01&lt;br /&gt;
*Check&lt;br /&gt;
 # hostname -f&lt;br /&gt;
 vm-mail01.anydomain.com&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;On the DNS Server&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*A Record&lt;br /&gt;
 #  host anydomain.com&lt;br /&gt;
 anydomain.com has address x.y.z.x&lt;br /&gt;
*PTR Record&lt;br /&gt;
 # nslookup x.y.z.z&lt;br /&gt;
 x.y.z.z.in-addr.arpa       name = anydomain.com.&lt;br /&gt;
*MX Record&lt;br /&gt;
 # host -t mx anydomain.com&lt;br /&gt;
 anydomain.com mail is handled by 10 vm-mail01.anydomain.com.&lt;br /&gt;
*TXT Record for DKIM&lt;br /&gt;
 host -t txt mail._domainkey.anydomain.com&lt;br /&gt;
 mail._domainkey.anydomain.com descriptive text &amp;quot;v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlQCpa4N7LELD6fBhX5BLxUoIqlxkasJ52mMyJR7ZXVXe603mZQ4oUeVDXLPGUPfUxLmG5VPsCO8o5hrj18pwe+F3W9Y5wH8U9HzHNzLmj8HM9oYBKfMIryeUmzuC/uKVrtLGMih9zz67t7iis590U3eYfuLZFdAS6U9wbV1PeTwIDAQAB&amp;quot;&lt;br /&gt;
*TXT Record for DMARC&lt;br /&gt;
 host -t txt    _dmarc.anydomain.com&lt;br /&gt;
 _anydomain.com descriptive text &amp;quot;v=DMARC1; p=none; sp=none; rf=afrf; pct=100; ri=86400 ;rua=mailto:mailauth-reports@anydomain.com&amp;quot;&lt;br /&gt;
*TXT Record for SPF&lt;br /&gt;
 host -t txt anydomain.com&lt;br /&gt;
 anydomain.com descriptive text &amp;quot;v=spf1 ip4:x.x.x.x/27 ip4:x.x.x.x/27 include:spf.nl2go.com -all&amp;quot;&lt;br /&gt;
=DKIM=&lt;br /&gt;
==Configuration==&lt;br /&gt;
*/etc/opendkim.conf&lt;br /&gt;
 Syslog           yes&lt;br /&gt;
 SyslogSuccess    Yes&lt;br /&gt;
 Mode             sv&lt;br /&gt;
 SubDomains       yes&lt;br /&gt;
 Socket           local:/var/run/opendkim/opendkim.sock&lt;br /&gt;
 PidFile          /run/opendkim/opendkim.pid&lt;br /&gt;
 OversignHeaders  From&lt;br /&gt;
 TrustAnchorFile  /usr/share/dns/root.key&lt;br /&gt;
 UserID           opendkim&lt;br /&gt;
 LogWhy           yes&lt;br /&gt;
 Nameservers      x.x.x.x&lt;br /&gt;
 KeyTable         /etc/opendkim/KeyTable&lt;br /&gt;
 SigningTable     /etc/opendkim/SigningTable&lt;br /&gt;
 InternalHosts    /etc/opendkim/TrustedHosts&lt;br /&gt;
&lt;br /&gt;
*/etc/opendkim/KeyTable&lt;br /&gt;
 mail._domainkey.anydomain.com anydomain.com:mail:/etc/opendkim/keys/anydomain.com/mail.private&lt;br /&gt;
*/etc/opendkim/SigningTable&lt;br /&gt;
 anydomain.com mail._domainkey.anydomain.com&lt;br /&gt;
*/etc/opendkim/TrustedHosts&lt;br /&gt;
 127.0.0.1&lt;br /&gt;
 localhost&lt;br /&gt;
 192.168.100.0/255.255.255.0&lt;br /&gt;
&lt;br /&gt;
=Letsencrypt=&lt;br /&gt;
Two sertficates are installed.&amp;lt;br&amp;gt;&lt;br /&gt;
vm-mail01.anydomain.com is used for the MTA encryption for sendmail.&amp;lt;br&amp;gt;&lt;br /&gt;
test.anydomain.com is used for Imap and Roundcube.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Renew:&lt;br /&gt;
 /root/certbot-auto certonly --webroot --webroot-path /var/www/html --renew-by-default --text --agree-tos -d test.anydomain.com&lt;br /&gt;
 /root/certbot-auto certonly --webroot --webroot-path /var/www/html --renew-by-default --text --agree-tos -d vm-mail01.anydomain.com&lt;br /&gt;
&lt;br /&gt;
Copy certs for sendmail:&lt;br /&gt;
 FQDN=vm-mail01.anydomain.com&lt;br /&gt;
 cp /etc/letsencrypt/live/$FQDN/privkey.pem  /etc/mail/tls/sendmail-common.key&lt;br /&gt;
 cp /etc/letsencrypt/live/$FQDN/cert.pem  /etc/mail/tls/sendmail-client.crt&lt;br /&gt;
 cp /etc/letsencrypt/live/$FQDN/cert.pem  /etc/mail/tls/sendmail-server.crt&lt;br /&gt;
 cp /etc/letsencrypt/live/$FQDN/fullchain.pem  /etc/mail/tls/fullchain.pem&lt;br /&gt;
&lt;br /&gt;
Run Sendmailconfig and dovecot after:&lt;br /&gt;
 sendmailconfig&lt;br /&gt;
 /etc/init.d/dovecot restart&lt;br /&gt;
&lt;br /&gt;
==Dovecot==&lt;br /&gt;
*/etc/dovecot/conf.d/10-auth.conf&lt;br /&gt;
 ssl_cert = &amp;lt;/etc/letsencrypt/live/mail.anydomain.com/fullchain.pem&lt;br /&gt;
 ssl_key = &amp;lt;/etc/letsencrypt/live/mail.anydomain.com/privkey.pem&lt;br /&gt;
=Testing=&lt;br /&gt;
*Test cert for sasl &lt;br /&gt;
 openssl s_client -crlf -connect test.anydomain.com:993&lt;br /&gt;
*Test cert for imap&lt;br /&gt;
 openssl s_client -starttls smtp -connect test.anydomain.com:587&lt;br /&gt;
*Test TLS&lt;br /&gt;
 https://www.checktls.com/TestReceiver&lt;br /&gt;
*Dkim&lt;br /&gt;
*http://dkimvalidator.com/&lt;br /&gt;
*Other web sites&lt;br /&gt;
*https://esmtp.email/tools/mta-sts/?#&lt;br /&gt;
*https://starttls-everywhere.org/results/?flighthaus.net&lt;br /&gt;
*https://luxsci.com/smtp-tls-checker#results&lt;br /&gt;
*http://multirbl.valli.org/&lt;br /&gt;
&lt;br /&gt;
=Client Configuration Example=&lt;br /&gt;
==Thunderbird==&lt;br /&gt;
[[Image:Imap01.png|800px|Imap]]&lt;br /&gt;
[[Image:Imap02.png|300px|Imap]]&lt;br /&gt;
==Jira==&lt;br /&gt;
[[Image:Imap03.png|900px|Imap]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>