<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello, <br>
</p>
<p>I want to make a correction on my first post. We are using
version 2.3.19.1 for all our dovecot servers. Is there any update
regarding this issue? I would be happy to provide more details if
necessary.<br>
</p>
<p>Best Regards,</p>
<p>Nikos Pyrgiotis<br>
</p>
<div class="moz-cite-prefix">On 8/9/22 17:47, Nikolaos Pyrgiotis
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:958219c2-9c29-f4be-8ede-0c959cac776e@modulus.gr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div style="color: #d4d4d4;background-color: #1e1e1e;font-family: 'Droid Sans Mono', 'monospace', monospace;font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #d4d4d4;">Hello,</span></div>
<div><span style="color: #d4d4d4;">We recently migrated our mail server to a dovecot cluster of </span><span style="color: #b5cea8;">5</span><span style="color: #d4d4d4;"> nodes, a dovecot proxy, </span><span style="color: #b5cea8;">2</span><span style="color: #d4d4d4;"> directors and </span><span style="color: #b5cea8;">2</span><span style="color: #d4d4d4;"> dovecot backends. </span></div><div><span style="color: #d4d4d4;">All dovecot nodes run version </span><span style="color: #b5cea8;">2.19</span><span style="color: #d4d4d4;">.1. We use a glusterfs mounted volume on the backends </span><span style="color: #569cd6;">for</span><span style="color: #d4d4d4;"> the mail storage. </span></div><div><span style="color: #d4d4d4;">We noticed that when issuing the IMAP command to check </span><span style="color: #569cd6;">for</span><span style="color: #d4d4d4;"> UNSEEN messages </span><span style="color: #569cd6;">for</span><span style="color: #d4d4d4;"> mails on the shared namespace instead of seeing the value of the unseen messages of the user that the mailbox has been shared to, </span></div><div><span style="color: #d4d4d4;">the value of the unseen messages of the owner of the mailbox is returned. </span></div><div><span style="color: #d4d4d4;">This behavior causes thunderbird when getting new messages </span><span style="color: #569cd6;">for</span><span style="color: #d4d4d4;"> shared mailboxes, to show briefly all messages of the mailbox as unseen </span><span style="color: #569cd6;">for</span><span style="color: #d4d4d4;"> the user before showing the correct unseen count </span><span style="color: #569cd6;">for</span><span style="color: #d4d4d4;"> the shared mailbox. </span></div><div><span style="color: #d4d4d4;">The mail location of the shared mailboxes is defined with imapc storage type as described </span><span style="color: #569cd6;">in</span><span style="color: #d4d4d4;"> the documentation. </span></div><div><span style="color: #d4d4d4;">Is this a dovecot bug? Can we configure a different dovecot configuration setting so that imap status command reports the correct unseen field count when mail location is an imapc storage location?</span></div><div><span style="color: #d4d4d4;">
</span></div><div><span style="color: #d4d4d4;">An examples is given below when running doveadm command from one the 2 dovecot directors:
</span></div><div><div><span style="color: #d4d4d4;">When issuing the status command we see that the unseen count is </span><span style="color: #b5cea8;">2</span><span style="color: #d4d4d4;">:</span></div>
<div><span style="color: #d4d4d4;"><a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:root@doved0-rmt0-cn1:/etc/cron.d#" moz-do-not-send="true">root@doved0-rmt0-cn1:/etc/cron.d#</a> doveadm mailbox status -u npyrgiotis all shared.sysadmins
doveadm(npyrgiotis): Info: remote(10.101.0.71:8080): doveadm(<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:npyrgiotis@domie02.com" moz-do-not-send="true">npyrgiotis@domie02.com</a>)<19078><9l8IJTb+GWOGSgAAEU9A+w>: imapc(10.101.0.75:143): Connected to 10.101.0.75:143 (local 10.101.0.71:33476)
shared.sysadmins messages=2 recent=0 uidnext=3 uidvalidity=1662640492 unseen=2 highestmodseq=3 vsize=3950 guid=c92f64f79f0d1ed01e6d5b314f04886c firstsaved=1662643853</span></div><div><span style="color: #d4d4d4;">shared.sysadmins messages=</span><span style="color: #b5cea8;">2</span><span style="color: #d4d4d4;"> recent=</span><span style="color: #b5cea8;">0</span><span style="color: #d4d4d4;"> uidnext=</span><span style="color: #b5cea8;">3</span><span style="color: #d4d4d4;"> uidvalidity=</span><span style="color: #b5cea8;">1662640492</span><span style="color: #d4d4d4;"> unseen=</span><span style="color: #b5cea8;">2</span><span style="color: #d4d4d4;"> highestmodseq=</span><span style="color: #b5cea8;">3</span><span style="color: #d4d4d4;"> vsize=</span><span style="color: #b5cea8;">3950</span><span style="color: #d4d4d4;"> guid=c92f64f79f0d1ed01e6d5b314f04886c firstsaved=</span><span style="color: #b5cea8;">1662643853</span></div><div><span style="color: #b5cea8;">
</span></div><div><span style="color: #b5cea8;">But when fetching the emails of the mailboxes we can see that the \Seen flag is set for both emails</span></div><div><span style="color: #b5cea8;">
</span></div><a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:root@doved0-rmt0-cn1:/etc/cron.d#" moz-do-not-send="true">root@doved0-rmt0-cn1:/etc/cron.d#</a> doveadm fetch -u npyrgiotis flags mailbox shared.sysadmins ALL
doveadm(npyrgiotis): Info: remote(10.101.0.71:8080): doveadm(<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:npyrgiotis@domie02.com" moz-do-not-send="true">npyrgiotis@domie02.com</a>)<19074><e7rWDgj+GWOCSgAAEU9A+w>: imapc(10.101.0.75:143): Connected to 10.101.0.75:143 (local 10.101.0.71:38750)
flags: \Seen
flags: \Seen
<span style="color: #d4d4d4;"></span></div>
<div><span style="color: #d4d4d4;">Below i post the dovecot configuration of one of the two dovecot backends:</span></div>
<div><span style="color: #d4d4d4;"># </span><span style="color: #b5cea8;">2.3</span><span style="color: #d4d4d4;">.19.1 (</span><span style="color: #b5cea8;">9</span><span style="color: #d4d4d4;">b53102964): /etc/dovecot/dovecot.conf</span></div><div><span style="color: #d4d4d4;"># Pigeonhole version </span><span style="color: #b5cea8;">0.5</span><span style="color: #d4d4d4;">.19 (</span><span style="color: #b5cea8;">4e</span><span style="color: #d4d4d4;">ae2f79)</span></div><div><span style="color: #d4d4d4;"># OS: Linux </span><span style="color: #b5cea8;">5.10</span><span style="color: #d4d4d4;">.0-</span><span style="color: #b5cea8;">17</span><span style="color: #d4d4d4;">-amd64 x86_64 Debian </span><span style="color: #b5cea8;">11.4</span></div><div><span style="color: #d4d4d4;"># Hostname: doveb0-rmt0-cn1</span></div><div><span style="color: #d4d4d4;">auth_cache_negative_ttl = </span><span style="color: #b5cea8;">5</span><span style="color: #d4d4d4;"> mins</span></div><div><span style="color: #d4d4d4;">auth_cache_size = </span><span style="color: #b5cea8;">50</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">auth_debug = yes</span></div><div><span style="color: #d4d4d4;">auth_default_realm = example.com</span></div><div><span style="color: #d4d4d4;">auth_master_user_separator = *</span></div><div><span style="color: #d4d4d4;">auth_mechanisms = plain login</span></div><div><span style="color: #d4d4d4;">auth_verbose = yes</span></div><div><span style="color: #d4d4d4;">auth_worker_max_count = </span><span style="color: #b5cea8;">16</span></div><div><span style="color: #d4d4d4;">disable_plaintext_auth = no</span></div><div><span style="color: #d4d4d4;">first_valid_uid = </span><span style="color: #b5cea8;">499</span></div><div><span style="color: #d4d4d4;">hostname = smtp.example.com</span></div><div><span style="color: #d4d4d4;">imapc_features = fetch-bodystructure fetch-headers rfc822.size search modseq acl delay-login</span></div><div><span style="color: #d4d4d4;">imapc_host = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.75</span></div><div><span style="color: #d4d4d4;">imapc_password = # hidden, use -P to show it</span></div><div><span style="color: #d4d4d4;">imapc_sasl_mechanisms = plain login</span></div><div><span style="color: #d4d4d4;">imapc_ssl = starttls</span></div><div><span style="color: #d4d4d4;">imapc_ssl_verify = no</span></div><div><span style="color: #d4d4d4;">last_valid_uid = </span><span style="color: #b5cea8;">499</span></div><div><span style="color: #d4d4d4;">lda_mailbox_autocreate = yes</span></div><div><span style="color: #d4d4d4;">lda_mailbox_autosubscribe = yes</span></div><div><span style="color: #d4d4d4;">login_greeting = You have successfully logged </span><span style="color: #569cd6;">in</span><span style="color: #d4d4d4;"> to example.com IMAP server</span></div><div><span style="color: #d4d4d4;">login_trusted_networks = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.73 </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.74</span></div><div><span style="color: #d4d4d4;">mail_always_cache_fields = flags hdr.* date.received date.sent</span></div><div><span style="color: #d4d4d4;">mail_cache_fields = flags date.received guid size.physical size.virtual imap.bodystructure body.snippet</span></div><div><span style="color: #d4d4d4;">mail_debug = yes</span></div><div><span style="color: #d4d4d4;">mail_fsync = always</span></div><div><span style="color: #d4d4d4;">mail_plugins = </span><span style="color: #ce9178;">" notify mail_log zlib acl"</span></div><div><span style="color: #d4d4d4;">mail_privileged_group = mail</span></div><div><span style="color: #d4d4d4;">managesieve_notify_capability = mailto</span></div><div><span style="color: #d4d4d4;">managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext</span></div><div><span style="color: #d4d4d4;">mdbox_rotate_size = </span><span style="color: #b5cea8;">200</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">mmap_disable = yes</span></div><div><span style="color: #d4d4d4;">namespace example {</span></div><div><span style="color: #d4d4d4;"> list = children</span></div><div><span style="color: #d4d4d4;"> location = imapc:~/shared/%%n:INDEXPVT=~/shared-pvt/%%n</span></div><div><span style="color: #d4d4d4;"> prefix = shared.%%n.</span></div><div><span style="color: #d4d4d4;"> separator = .</span></div><div><span style="color: #d4d4d4;"> subscriptions = no</span></div><div><span style="color: #d4d4d4;"> type = shared</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">namespace inbox {</span></div><div><span style="color: #d4d4d4;"> inbox = yes</span></div><div><span style="color: #d4d4d4;"> location =</span></div><div><span style="color: #d4d4d4;"> mailbox Drafts {</span></div><div><span style="color: #d4d4d4;"> special_use = \Drafts</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> mailbox Junk {</span></div><div><span style="color: #d4d4d4;"> special_use = \Junk</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> mailbox Sent {</span></div><div><span style="color: #d4d4d4;"> special_use = \Sent</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> mailbox </span><span style="color: #ce9178;">"Sent Messages" </span><span style="color: #d4d4d4;">{</span></div><div><span style="color: #d4d4d4;"> special_use = \Sent</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> mailbox Spam.Virus {</span></div><div><span style="color: #d4d4d4;"> auto = subscribe</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> mailbox Spam {</span></div><div><span style="color: #d4d4d4;"> auto = subscribe</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> mailbox Trash {</span></div><div><span style="color: #d4d4d4;"> special_use = \Trash</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> prefix =</span></div><div><span style="color: #d4d4d4;"> separator = .</span></div><div><span style="color: #d4d4d4;"> subscriptions = yes</span></div><div><span style="color: #d4d4d4;"> type = private</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">passdb {</span></div><div><span style="color: #d4d4d4;"> args = password=#hidden_use-P_to_show#</span></div><div><span style="color: #d4d4d4;"> driver = static</span></div><div><span style="color: #d4d4d4;"> master = yes</span></div><div><span style="color: #d4d4d4;"> override_fields = allow_real_nets=</span><span style="color: #b5cea8;">127.0</span><span style="color: #d4d4d4;">.0.0/</span><span style="color: #b5cea8;">8</span><span style="color: #d4d4d4;">,</span><span style="color: #569cd6;">local</span><span style="color: #d4d4d4;">,</span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.73,</span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.74 userdb_acl_user=%{auth_user} userdb_namespace/example/disabled=yes</span></div><div><span style="color: #d4d4d4;"> result_success = continue</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">passdb {</span></div><div><span style="color: #d4d4d4;"> args = password=#hidden_use-P_to_show#</span></div><div><span style="color: #d4d4d4;"> driver = static</span></div><div><span style="color: #d4d4d4;"> override_fields = allow_real_nets=</span><span style="color: #b5cea8;">127.0</span><span style="color: #d4d4d4;">.0.0/</span><span style="color: #b5cea8;">8</span><span style="color: #d4d4d4;">,</span><span style="color: #569cd6;">local</span><span style="color: #d4d4d4;">,</span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.73,</span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.74</span></div><div><span style="color: #d4d4d4;"> result_success = continue</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">passdb {</span></div><div><span style="color: #d4d4d4;"> args = /etc/dovecot/dovecot-ldap-users.conf.ext</span></div><div><span style="color: #d4d4d4;"> driver = ldap</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">passdb {</span></div><div><span style="color: #d4d4d4;"> args = /etc/dovecot/dovecot-ldap-groups.conf.ext</span></div><div><span style="color: #d4d4d4;"> driver = ldap</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">plugin {</span></div><div><span style="color: #d4d4d4;"> acl = vfile:/etc/dovecot/</span><span style="color: #569cd6;">global</span><span style="color: #d4d4d4;">-acls/%d/master-dovecot-acl:cache_secs=</span><span style="color: #b5cea8;">300</span></div><div><span style="color: #d4d4d4;"> acl_defaults_from_inbox = yes</span></div><div><span style="color: #d4d4d4;"> acl_globals_only = no</span></div><div><span style="color: #d4d4d4;"> acl_shared_dict = <a class="moz-txt-link-freetext" href="file:/var/dovecot-acl/%d/shared-mailboxes.db" moz-do-not-send="true">file:/var/dovecot-acl/%d/shared-mailboxes.db</a></span></div><div><span style="color: #d4d4d4;"> imap_compress_deflate_level = </span><span style="color: #b5cea8;">6</span></div><div><span style="color: #d4d4d4;"> mail_log_events = flag_change</span></div><div><span style="color: #d4d4d4;"> mail_log_fields = uid box flags</span></div><div><span style="color: #d4d4d4;"> sieve = <a class="moz-txt-link-freetext" href="file:~/sieve;active=~/sieve/%n.sieve" moz-do-not-send="true">file:~/sieve;active=~/sieve/%n.sieve</a></span></div><div><span style="color: #d4d4d4;"> sieve_before = /var/vmail/</span><span style="color: #569cd6;">global</span><span style="color: #d4d4d4;">-sieve/</span><span style="color: #569cd6;">global</span><span style="color: #d4d4d4;">.sieve</span></div><div><span style="color: #d4d4d4;"> sieve_env_email_address = %u</span></div><div><span style="color: #d4d4d4;"> sieve_env_mailbox_prefix = %{userdb:mailbox_prefix}</span></div><div><span style="color: #d4d4d4;"> sieve_global = /var/vmail/sieve</span></div><div><span style="color: #d4d4d4;"> sieve_global_extensions = +editheader +vnd.dovecot.environment</span></div><div><span style="color: #d4d4d4;"> zlib_save = zstd</span></div><div><span style="color: #d4d4d4;"> zlib_save_level = </span><span style="color: #b5cea8;">5</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">protocols = </span><span style="color: #ce9178;">" imap lmtp sieve submission"</span></div><div><span style="color: #d4d4d4;">service auth-worker {</span></div><div><span style="color: #d4d4d4;"> user = dovecot</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service auth {</span></div><div><span style="color: #d4d4d4;"> unix_listener auth-userdb {</span></div><div><span style="color: #d4d4d4;"> group = mail</span></div><div><span style="color: #d4d4d4;"> mode = </span><span style="color: #b5cea8;">0666</span></div><div><span style="color: #d4d4d4;"> user = vmail</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service doveadm {</span></div><div><span style="color: #d4d4d4;"> inet_listener dovadm-dom-mgmt {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.100</span><span style="color: #d4d4d4;">.1.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">8080</span></div><div><span style="color: #d4d4d4;"> ssl = no</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> inet_listener dovadm-dom {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">8080</span></div><div><span style="color: #d4d4d4;"> ssl = no</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">256</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service imap-login {</span></div><div><span style="color: #d4d4d4;"> inet_listener imap-dom {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">143</span></div><div><span style="color: #d4d4d4;"> ssl = no</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> inet_listener imap {</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> inet_listener imaps-dom {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">993</span></div><div><span style="color: #d4d4d4;"> ssl = yes</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> inet_listener imaps {</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> process_limit = </span><span style="color: #b5cea8;">400</span></div><div><span style="color: #d4d4d4;"> process_min_avail = </span><span style="color: #b5cea8;">2</span></div><div><span style="color: #d4d4d4;"> service_count = </span><span style="color: #b5cea8;">20</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">512</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service imap {</span></div><div><span style="color: #d4d4d4;"> process_limit = </span><span style="color: #b5cea8;">2048</span></div><div><span style="color: #d4d4d4;"> process_min_avail = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> service_count = </span><span style="color: #b5cea8;">1</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">4</span><span style="color: #d4d4d4;"> G</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service lmtp {</span></div><div><span style="color: #d4d4d4;"> inet_listener lmtp-dom {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">24</span></div><div><span style="color: #d4d4d4;"> ssl = no</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> process_limit = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> process_min_avail = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> service_count = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> unix_listener lmtp {</span></div><div><span style="color: #d4d4d4;"> mode = </span><span style="color: #b5cea8;">0666</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">256</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service managesieve-login {</span></div><div><span style="color: #d4d4d4;"> inet_listener sieve-dom {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">4190</span></div><div><span style="color: #d4d4d4;"> ssl = no</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> inet_listener sieve {</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> process_limit = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> process_min_avail = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> service_count = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">64</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service managesieve {</span></div><div><span style="color: #d4d4d4;"> process_limit = </span><span style="color: #b5cea8;">1024</span></div><div><span style="color: #d4d4d4;"> process_min_avail = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> service_count = </span><span style="color: #b5cea8;">1</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">256</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service submission-login {</span></div><div><span style="color: #d4d4d4;"> inet_listener submission-dom {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">587</span></div><div><span style="color: #d4d4d4;"> ssl = no</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> inet_listener submission {</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> inet_listener submissions-dom {</span></div><div><span style="color: #d4d4d4;"> address = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71</span></div><div><span style="color: #d4d4d4;"> port = </span><span style="color: #b5cea8;">465</span></div><div><span style="color: #d4d4d4;"> ssl = yes</span></div><div><span style="color: #d4d4d4;"> }</span></div><div><span style="color: #d4d4d4;"> process_limit = </span><span style="color: #b5cea8;">250</span></div><div><span style="color: #d4d4d4;"> process_min_avail = </span><span style="color: #b5cea8;">2</span></div><div><span style="color: #d4d4d4;"> service_count = </span><span style="color: #b5cea8;">1</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">256</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">service submission {</span></div><div><span style="color: #d4d4d4;"> process_limit = </span><span style="color: #b5cea8;">1024</span></div><div><span style="color: #d4d4d4;"> process_min_avail = </span><span style="color: #b5cea8;">0</span></div><div><span style="color: #d4d4d4;"> service_count = </span><span style="color: #b5cea8;">1</span></div><div><span style="color: #d4d4d4;"> vsz_limit = </span><span style="color: #b5cea8;">256</span><span style="color: #d4d4d4;"> M</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">ssl = required</span></div><div><span style="color: #d4d4d4;">ssl_cert = </etc/ssl/certs/doveb0-rmt0-cn1.mail.rmt.example.com.pem</span></div><div><span style="color: #d4d4d4;">ssl_client_ca_dir = /etc/ssl/certs</span></div><div><span style="color: #d4d4d4;">ssl_key = # hidden, use -P to show it</span></div><div><span style="color: #d4d4d4;">submission_max_mail_size = </span><span style="color: #b5cea8;">30000</span><span style="color: #d4d4d4;"> k</span></div><div><span style="color: #d4d4d4;">submission_relay_host = </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.7</span></div><div><span style="color: #d4d4d4;">submission_relay_port = </span><span style="color: #b5cea8;">587</span></div><div><span style="color: #d4d4d4;">submission_relay_ssl = starttls</span></div><div><span style="color: #d4d4d4;">submission_relay_ssl_verify = no</span></div><div><span style="color: #d4d4d4;">submission_relay_trusted = yes</span></div><div><span style="color: #d4d4d4;">userdb {</span></div><div><span style="color: #d4d4d4;"> driver = prefetch</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">userdb {</span></div><div><span style="color: #d4d4d4;"> args = /etc/dovecot/dovecot-ldap-users.conf.ext</span></div><div><span style="color: #d4d4d4;"> driver = ldap</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">userdb {</span></div><div><span style="color: #d4d4d4;"> args = /etc/dovecot/dovecot-ldap-groups.conf.ext</span></div><div><span style="color: #d4d4d4;"> driver = ldap</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">protocol lmtp {</span></div><div><span style="color: #d4d4d4;"> mail_plugins = </span><span style="color: #ce9178;">" notify mail_log zlib acl sieve acl"</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">protocol lda {</span></div><div><span style="color: #d4d4d4;"> mail_plugins = </span><span style="color: #ce9178;">" notify mail_log zlib acl sieve acl"</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">protocol imap {</span></div><div><span style="color: #d4d4d4;"> mail_max_userip_connections = </span><span style="color: #b5cea8;">100</span></div><div><span style="color: #d4d4d4;"> mail_plugins = </span><span style="color: #ce9178;">" notify mail_log zlib acl"</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">protocol sieve {</span></div><div><span style="color: #d4d4d4;"> mail_max_userip_connections = </span><span style="color: #b5cea8;">40</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #d4d4d4;">protocol submission {</span></div><div><span style="color: #d4d4d4;"> mail_max_userip_connections = </span><span style="color: #b5cea8;">70</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #569cd6;">local</span><span style="color: #d4d4d4;"> </span><span style="color: #b5cea8;">10.101</span><span style="color: #d4d4d4;">.0.71 {</span></div><div><span style="color: #d4d4d4;"> doveadm_allowed_commands =</span></div><div><span style="color: #d4d4d4;"> doveadm_password = # hidden, use -P to show it</span></div><div><span style="color: #d4d4d4;">}</span></div><div><span style="color: #569cd6;">local</span><span style="color: #d4d4d4;"> </span><span style="color: #b5cea8;">10.100</span><span style="color: #d4d4d4;">.1.71 {</span></div><div><span style="color: #d4d4d4;"> doveadm_allowed_commands =</span></div><div><span style="color: #d4d4d4;"> doveadm_password = # hidden, use -P to show it</span></div><div><span style="color: #d4d4d4;">}</span></div>
<div><span style="color: #d4d4d4;">Thank you,</span></div><div><span style="color: #d4d4d4;">Nikolaos Pyrgiotis</span></div></div>
</blockquote>
</body>
</html>