New docs: sign.dkim.signature.for.new.domain.html, file.locations.html.

This commit is contained in:
Zhang Huangbin 2014-10-11 12:05:53 +08:00
parent dedbbeeedd
commit 6c4c679146
14 changed files with 368 additions and 25 deletions

View File

@ -7,9 +7,10 @@
* [Change mail attachment size](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/0-change.mail.attachment.size.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/0-completely.disable.amavisd.clamav.spamassassin.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/0-enable.smtps.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/1-amavisd.no.x-spam.headers.md)
* [Disable spam virus scanning for outgoing mails](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/1-disable.spam.virus.scanning.for.outgoing.mails.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/1-no.x-spam.headers.md)
* [Quarantining](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/1-quarantining.md)
* [Sign DKIM signature on outgoing emails for new mail domain](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/1-sign.dkim.signature.for.new.domain.md)
* [Allow insecure POP3/IMAP/SMTP connections without STARTTLS](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/2-allow.insecure.pop3.imap.smtp.connections.md)
* [Allow user to send email without authentication](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/allow.user.to.send.email.without.authentication.md)
* [Configure Thunderbird as mail client (POP3/IMAP, SMTP and global ldap address book)](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/configure.thunderbird.md)
@ -40,4 +41,5 @@
* [Turn on debug mode in Dovecot](https://bitbucket.org/zhb/docs.iredmail.org/src/default/troubleshooting/turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](https://bitbucket.org/zhb/docs.iredmail.org/src/default/troubleshooting/turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Locations of configuration and log files of mojor components](https://bitbucket.org/zhb/docs.iredmail.org/src/default/faq/file.locations.md)
* [Why append timestamp in maildir path](https://bitbucket.org/zhb/docs.iredmail.org/src/default/faq/why.append.timestamp.in.maildir.path.md)

View File

@ -4,6 +4,8 @@
* How to enable per-recipient policy lookup in Amavisd (@lookup_sql_dsn).
* How to enable DNSBL in Postfix.
* How to sign DKIM signature on sent emails for new mail domain. mention how
to use one DKIM key for all domains.
# installation guides

69
faq/file.locations.md Normal file
View File

@ -0,0 +1,69 @@
# Locations of configuration and log files of mojor components
[TOC]
## Postfix
* on `Linux` and `OpenBSD`, Postfix config files are placed under `/etc/postfix/`.
* on `FreeBSD`, Postfix config files are placed under `/usr/local/etc/postfix/`.
### Config files
Main config files:
* `main.cf`: contains most configurations.
* `master.cf`: contains transport related settings.
* `aliases`: aliases for system accounts.
* `helo_access.pcre`: PCRE regular expressions of HELO check rules.
* `ldap/*.cf`: used to query mail accounts. LDAP backends only.
* `mysql/*.cf`: used to query mail accounts. MySQL/MariaDB backends only.
* `pgsql/*.cf`: used to query mail accounts. PostgreSQL backend only.
### Log files
* on `RHEL/CentOS`, `FreeBSD`, `OpenBSD`, it's `/var/log/maillog`.
* on `Debian`, `Ubuntu`, it's `/var/log/mail.log`.
## Dovecot
* on `Linux` and `OpenBSD`, Dovecot config files are placed under `/etc/dovecot/`.
* on `FreeBSD`, Dovecot config files are placed under `/usr/local/etc/dovecot/`.
### Config files
Main config file is `dovecot.conf`. It contains most configurations.
Addition config files:
* `dovecot-ldap.conf`: used to query mail users and passwords. LDAP backends only.
* `dovecot-mysql.conf`: used to query mail users and passwords. MySQL/MariaDB backends only.
* `dovecot-pgsql.conf`: used to query mail users and passwords. PostgreSQL backend only.
* `dovecot-used-quota.conf`: used to store and query real-time per-user mailbox quota.
* `dovecot-share-folder.conf`: used to store settings of shared IMAP mailboxes.
* `dovecot-master-users-password`: used to store master users/passwords.
### Log files
* `/var/log/dovecot.log`: main log file.
* `/var/log/dovecot-sieve.log`: sieve related log. NOTE: on old iRedMail
releases, it's `/var/log/sieve.log`.
* `/var/log/dovecot-lmtp.log`: LMTP related log.
## Amavisd
### Main config files
* on `RHEL/CentOS`: it's `/etc/amavisd/amavisd.conf`.
* on `Debian/Ubuntu`: it's `/etc/amavis/conf.d/50-user`.
Debian/Ubuntu have some addition config files under `/etc/amavis/conf.d/`,
but you can always override them in file `/etc/amavis/conf.d/50-user`.
When we mention `amavisd.conf` in other tutorials, it means `50-user` on
Debian/Ubuntu.
* on `FreeBSD`: it's `/usr/local/etc/amavisd.conf`.
* on `OpenBSD`: it's `/etc/amavisd.conf`.
### Log files
Amavisd is configured to log to [Postfix log file](#postfix) by iRedMail.

View File

@ -0,0 +1,87 @@
# Sign DKIM signature on outgoing emails for new mail domain
> Don't know where Amavisd config file is? check this tutorial:
> [Locations of configuration and log files of mojor components](file.locations.html#amavisd).
iRedMail configures Amavisd to sign outgoing emails for the first mail domain
you added during iRedMail installation. If you added new mail domain, you
should update Amavisd config file to sign DKIM signature for it.
Let's say your first mail domain added during iRedMail installation is
`mydomain.com`, and new mail domain is `newdomain.com`, please follow below
steps to enable DKIM signing for outgoing emails of this domain.
* Generate new DKIM key for new domain.
```shell
# amavisd-new genrsa /var/lib/dkim/newdomain.com.pem
```
* Find below setting in Amavisd config file `amavisd.conf`:
```
dkim_key('mydomain.com', "dkim", "/var/lib/dkim/mydomain.com.pem");
```
Add one line after above line like below:
```
dkim_key('newdomain.com', "dkim", "/var/lib/dkim/newdomain.com.pem");
```
* Find below setting in Amavisd config file `amavisd.conf`:
```
@dkim_signature_options_bysender_maps = ( {
...
"mydomain.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
...
});
```
Add one line after `"mydomain.com"` line like below:
```
@dkim_signature_options_bysender_maps = ( {
...
"mydomain.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
"newdomain.com" => { d => "newdomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
...
});
```
* Restart Amavisd service.
## Use one DKIM key for all mail domains
For compatibility with dkim_milter the signing domain can include a '*'
as a wildcard - this is not recommended as this way amavisd could produce
signatures which have no corresponding public key published in DNS.
The proper way is to have one dkim_key entry for each mail domain.
If you still want to try this, please follow below steps:
* Find below setting in Amavisd config file `amavisd.conf`:
```
dkim_key('mydomain.com', "dkim", "/var/lib/dkim/mydomain.com.pem");
```
* Replace it by below line:
```
dkim_key('*', "dkim", "/var/lib/dkim/mydomain.com.pem");
```
* Restart Amavisd serivce.
With above setting, all outbound emails with be signed with this dkim key.
And Amavisd will show a warning message when start amavisd service:
> dkim: wildcard in signing domain (key#1, *), may produce unverifiable
> signatures with no published public key, avoid!
## See also
* Don't know what DKIM is? Check our tutorial here:
[What is a DKIM DNS record](setup_dns.html#dkim-record-for-your-mail-domain-name).

View File

@ -66,6 +66,7 @@ blockquote {
border-left:.5em solid #eee;
padding: 0 2em;
margin-left:0;
font-style: italic;
/*max-width: 476px;*/
}
blockquote cite {

99
html/file.locations.html Normal file
View File

@ -0,0 +1,99 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Locations of configuration and log files of mojor components</title>
<link href="./css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<div id="navigation">
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
// <a href="./index.html">Document Index</a>
</div><h1 id="locations-of-configuration-and-log-files-of-mojor-components">Locations of configuration and log files of mojor components</h1>
<div class="toc">
<ul>
<li><a href="#locations-of-configuration-and-log-files-of-mojor-components">Locations of configuration and log files of mojor components</a><ul>
<li><a href="#postfix">Postfix</a><ul>
<li><a href="#config-files">Config files</a></li>
<li><a href="#log-files">Log files</a></li>
</ul>
</li>
<li><a href="#dovecot">Dovecot</a><ul>
<li><a href="#config-files_1">Config files</a></li>
<li><a href="#log-files_1">Log files</a></li>
</ul>
</li>
<li><a href="#amavisd">Amavisd</a><ul>
<li><a href="#main-config-files">Main config files</a></li>
<li><a href="#log-files_2">Log files</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h2 id="postfix">Postfix</h2>
<ul>
<li>on <code>Linux</code> and <code>OpenBSD</code>, Postfix config files are placed under <code>/etc/postfix/</code>.</li>
<li>on <code>FreeBSD</code>, Postfix config files are placed under <code>/usr/local/etc/postfix/</code>.</li>
</ul>
<h3 id="config-files">Config files</h3>
<p>Main config files:</p>
<ul>
<li><code>main.cf</code>: contains most configurations.</li>
<li><code>master.cf</code>: contains transport related settings.</li>
<li><code>aliases</code>: aliases for system accounts.</li>
<li><code>helo_access.pcre</code>: PCRE regular expressions of HELO check rules.</li>
<li><code>ldap/*.cf</code>: used to query mail accounts. LDAP backends only.</li>
<li><code>mysql/*.cf</code>: used to query mail accounts. MySQL/MariaDB backends only.</li>
<li><code>pgsql/*.cf</code>: used to query mail accounts. PostgreSQL backend only.</li>
</ul>
<h3 id="log-files">Log files</h3>
<ul>
<li>on <code>RHEL/CentOS</code>, <code>FreeBSD</code>, <code>OpenBSD</code>, it's <code>/var/log/maillog</code>.</li>
<li>on <code>Debian</code>, <code>Ubuntu</code>, it's <code>/var/log/mail.log</code>.</li>
</ul>
<h2 id="dovecot">Dovecot</h2>
<ul>
<li>on <code>Linux</code> and <code>OpenBSD</code>, Dovecot config files are placed under <code>/etc/dovecot/</code>.</li>
<li>on <code>FreeBSD</code>, Dovecot config files are placed under <code>/usr/local/etc/dovecot/</code>.</li>
</ul>
<h3 id="config-files_1">Config files</h3>
<p>Main config file is <code>dovecot.conf</code>. It contains most configurations.</p>
<p>Addition config files:</p>
<ul>
<li><code>dovecot-ldap.conf</code>: used to query mail users and passwords. LDAP backends only.</li>
<li><code>dovecot-mysql.conf</code>: used to query mail users and passwords. MySQL/MariaDB backends only.</li>
<li><code>dovecot-pgsql.conf</code>: used to query mail users and passwords. PostgreSQL backend only.</li>
<li><code>dovecot-used-quota.conf</code>: used to store and query real-time per-user mailbox quota.</li>
<li><code>dovecot-share-folder.conf</code>: used to store settings of shared IMAP mailboxes.</li>
<li><code>dovecot-master-users-password</code>: used to store master users/passwords.</li>
</ul>
<h3 id="log-files_1">Log files</h3>
<ul>
<li><code>/var/log/dovecot.log</code>: main log file.</li>
<li><code>/var/log/dovecot-sieve.log</code>: sieve related log. NOTE: on old iRedMail
releases, it's <code>/var/log/sieve.log</code>.</li>
<li><code>/var/log/dovecot-lmtp.log</code>: LMTP related log.</li>
</ul>
<h2 id="amavisd">Amavisd</h2>
<h3 id="main-config-files">Main config files</h3>
<ul>
<li>on <code>RHEL/CentOS</code>: it's <code>/etc/amavisd/amavisd.conf</code>.</li>
<li>
<p>on <code>Debian/Ubuntu</code>: it's <code>/etc/amavis/conf.d/50-user</code>.</p>
<p>Debian/Ubuntu have some addition config files under <code>/etc/amavis/conf.d/</code>,
but you can always override them in file <code>/etc/amavis/conf.d/50-user</code>.
When we mention <code>amavisd.conf</code> in other tutorials, it means <code>50-user</code> on
Debian/Ubuntu.</p>
</li>
<li>
<p>on <code>FreeBSD</code>: it's <code>/usr/local/etc/amavisd.conf</code>.</p>
</li>
<li>on <code>OpenBSD</code>: it's <code>/etc/amavisd.conf</code>.</li>
</ul>
<h3 id="log-files_2">Log files</h3>
<p>Amavisd is configured to log to <a href="#postfix">Postfix log file</a> by iRedMail.</p><br /><p style="text-align: center;">If you found something wrong
in this document, please do
<a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p><p style="text-align: center; color: grey;">&copy&copy Creative Commons</p></body></html>

View File

@ -23,9 +23,10 @@
<li><a href="change.mail.attachment.size.html">Change mail attachment size</a></li>
<li><a href="completely.disable.amavisd.clamav.spamassassin.html">Completely disable Amavisd + ClamAV + SpamAssassin</a></li>
<li><a href="enable.smtps.html">Enable SMTPS service (SMTP over SSL, port 465)</a></li>
<li><a href="amavisd.no.x-spam.headers.html">Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></li>
<li><a href="disable.spam.virus.scanning.for.outgoing.mails.html">Disable spam virus scanning for outgoing mails</a></li>
<li><a href="no.x-spam.headers.html">Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></li>
<li><a href="quarantining.html">Quarantining</a></li>
<li><a href="sign.dkim.signature.for.new.domain.html">Sign DKIM signature on outgoing emails for new mail domain</a></li>
<li><a href="allow.insecure.pop3.imap.smtp.connections.html">Allow insecure POP3/IMAP/SMTP connections without STARTTLS</a></li>
<li><a href="allow.user.to.send.email.without.authentication.html">Allow user to send email without authentication</a></li>
<li><a href="configure.thunderbird.html">Configure Thunderbird as mail client (POP3/IMAP, SMTP and global ldap address book)</a></li>
@ -66,5 +67,6 @@
</ul>
<h3 id="frequently-asked-questions">Frequently Asked Questions</h3>
<ul>
<li><a href="file.locations.html">Locations of configuration and log files of mojor components</a></li>
<li><a href="why.append.timestamp.in.maildir.path.html">Why append timestamp in maildir path</a></li>
</ul><p style="text-align: center; color: grey;">&copy&copy Creative Commons</p></body></html>

View File

@ -128,7 +128,7 @@ value in its config file <code>/etc/selinux/config</code>.</p>
<p>It's now ready to start iRedMail installer, it will ask you several simple
questions, that's all steps to setup a full-featured mail server.</p>
<blockquote>
<p>For Chinese users: Our domain name "iredmail.org" is blocked in China mainland since Jun 04, 2011, please replace all 'iredmail.org' by its IP address "106.187.51.47" (without quotes) in /root/iRedMail-x.y.z/pkgs/get_all.sh BEFORE executing "iRedMail.sh". This is a Linode VPS hosted on Tokyo, Japan.</p>
<p>For Chinese users: Our domain name "iredmail.org" is blocked in China mainland since Jun 04, 2011, please replace all 'iredmail.org' by its IP address "106.187.51.47" (without quotes) in /root/iRedMail-x.y.z/pkgs/get_all.sh BEFORE executing "iRedMail.sh". This is a Linode VPS hosted in Tokyo, Japan.</p>
</blockquote>
<pre><code># cd /root/iRedMail-x.y.z/
# bash iRedMail.sh

View File

@ -0,0 +1,95 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sign DKIM signature on outgoing emails for new mail domain</title>
<link href="./css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<div id="navigation">
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
// <a href="./index.html">Document Index</a>
</div><h1 id="sign-dkim-signature-on-outgoing-emails-for-new-mail-domain">Sign DKIM signature on outgoing emails for new mail domain</h1>
<blockquote>
<p>Don't know where Amavisd config file is? check this tutorial:
<a href="file.locations.html#amavisd">Locations of configuration and log files of mojor components</a>.</p>
</blockquote>
<p>iRedMail configures Amavisd to sign outgoing emails for the first mail domain
you added during iRedMail installation. If you added new mail domain, you
should update Amavisd config file to sign DKIM signature for it.</p>
<p>Let's say your first mail domain added during iRedMail installation is
<code>mydomain.com</code>, and new mail domain is <code>newdomain.com</code>, please follow below
steps to enable DKIM signing for outgoing emails of this domain.</p>
<ul>
<li>Generate new DKIM key for new domain.</li>
</ul>
<pre><code class="shell"># amavisd-new genrsa /var/lib/dkim/newdomain.com.pem
</code></pre>
<ul>
<li>Find below setting in Amavisd config file <code>amavisd.conf</code>:</li>
</ul>
<pre><code>dkim_key('mydomain.com', &quot;dkim&quot;, &quot;/var/lib/dkim/mydomain.com.pem&quot;);
</code></pre>
<p>Add one line after above line like below:</p>
<pre><code>dkim_key('newdomain.com', &quot;dkim&quot;, &quot;/var/lib/dkim/newdomain.com.pem&quot;);
</code></pre>
<ul>
<li>Find below setting in Amavisd config file <code>amavisd.conf</code>:</li>
</ul>
<pre><code>@dkim_signature_options_bysender_maps = ( {
...
&quot;mydomain.com&quot; =&gt; { d =&gt; &quot;mydomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
...
});
</code></pre>
<p>Add one line after <code>"mydomain.com"</code> line like below:</p>
<pre><code>@dkim_signature_options_bysender_maps = ( {
...
&quot;mydomain.com&quot; =&gt; { d =&gt; &quot;mydomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
&quot;newdomain.com&quot; =&gt; { d =&gt; &quot;newdomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
...
});
</code></pre>
<ul>
<li>Restart Amavisd service.</li>
</ul>
<h2 id="use-one-dkim-key-for-all-mail-domains">Use one DKIM key for all mail domains</h2>
<p>For compatibility with dkim_milter the signing domain can include a '*'
as a wildcard - this is not recommended as this way amavisd could produce
signatures which have no corresponding public key published in DNS.
The proper way is to have one dkim_key entry for each mail domain.</p>
<p>If you still want to try this, please follow below steps:</p>
<ul>
<li>Find below setting in Amavisd config file <code>amavisd.conf</code>:</li>
</ul>
<pre><code>dkim_key('mydomain.com', &quot;dkim&quot;, &quot;/var/lib/dkim/mydomain.com.pem&quot;);
</code></pre>
<ul>
<li>Replace it by below line:</li>
</ul>
<pre><code>dkim_key('*', &quot;dkim&quot;, &quot;/var/lib/dkim/mydomain.com.pem&quot;);
</code></pre>
<ul>
<li>Restart Amavisd serivce.</li>
</ul>
<p>With above setting, all outbound emails with be signed with this dkim key.
And Amavisd will show a warning message when start amavisd service:</p>
<blockquote>
<p>dkim: wildcard in signing domain (key#1, *), may produce unverifiable
signatures with no published public key, avoid!</p>
</blockquote>
<h2 id="see-also">See also</h2>
<ul>
<li>Don't know what DKIM is? Check our tutorial here:
<a href="setup_dns.html#dkim-record-for-your-mail-domain-name">What is a DKIM DNS record</a>.</li>
</ul><br /><p style="text-align: center;">If you found something wrong
in this document, please do
<a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p><p style="text-align: center; color: grey;">&copy&copy Creative Commons</p></body></html>

View File

@ -11,23 +11,16 @@
// <a href="./index.html">Document Index</a>
</div><h1 id="turn-on-debug-mode-in-dovecot">Turn on debug mode in Dovecot</h1>
<blockquote>
<p>Don't know where Amavisd config file is? check this tutorial:
<a href="file.locations.html#dovecot">Locations of configuration and log files of mojor components</a>.</p>
</blockquote>
<p>To turn on debug mode in Dovecot, please update below parameter in Dovecot
config file <code>dovecot.conf</code>:</p>
<ul>
<li>on Linux and OpenBSD, it's <code>/etc/dovecot/dovecot.conf</code></li>
<li>on FreeBSD, it's <code>/usr/local/etc/dovecot/dovecot.conf</code></li>
</ul>
<pre><code>mail_debug = yes
</code></pre>
<p>Restart Dovecot service.</p>
<p>Dovecot is configured to log into 3 log files:</p>
<ul>
<li><code>/var/log/dovecot.log</code>: main log file.</li>
<li><code>/var/log/dovecot-sieve.log</code>: sieve related log.</li>
<li><code>/var/log/dovecot-lmtp.log</code>: lmtp related log. <strong>NOTE</strong>: old iRedMail release
doesn't have this file.</li>
</ul>
<p>If you need authentication and password related debug message, turn on related
settings and restart dovecot service.</p>
<pre><code>auth_verbose = yes

View File

@ -105,7 +105,7 @@ Now disable it immediately without rebooting your server.
It's now ready to start iRedMail installer, it will ask you several simple
questions, that's all steps to setup a full-featured mail server.
> For Chinese users: Our domain name "iredmail.org" is blocked in China mainland since Jun 04, 2011, please replace all 'iredmail.org' by its IP address "106.187.51.47" (without quotes) in /root/iRedMail-x.y.z/pkgs/get_all.sh BEFORE executing "iRedMail.sh". This is a Linode VPS hosted on Tokyo, Japan.
> For Chinese users: Our domain name "iredmail.org" is blocked in China mainland since Jun 04, 2011, please replace all 'iredmail.org' by its IP address "106.187.51.47" (without quotes) in /root/iRedMail-x.y.z/pkgs/get_all.sh BEFORE executing "iRedMail.sh". This is a Linode VPS hosted in Tokyo, Japan.
```
# cd /root/iRedMail-x.y.z/

View File

@ -1,24 +1,17 @@
# Turn on debug mode in Dovecot
> Don't know where Amavisd config file is? check this tutorial:
> [Locations of configuration and log files of mojor components](file.locations.html#dovecot).
To turn on debug mode in Dovecot, please update below parameter in Dovecot
config file `dovecot.conf`:
* on Linux and OpenBSD, it's `/etc/dovecot/dovecot.conf`
* on FreeBSD, it's `/usr/local/etc/dovecot/dovecot.conf`
```
mail_debug = yes
```
Restart Dovecot service.
Dovecot is configured to log into 3 log files:
* `/var/log/dovecot.log`: main log file.
* `/var/log/dovecot-sieve.log`: sieve related log.
* `/var/log/dovecot-lmtp.log`: lmtp related log. __NOTE__: old iRedMail release
doesn't have this file.
If you need authentication and password related debug message, turn on related
settings and restart dovecot service.