<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 16/12/20 6:16 am, Julian Kippels
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20201215231632.53b4d8d4@siegfried">
<pre class="moz-quote-pre" wrap="">Hi all,
what is the best way to temporarily disable access to a mailbox via
imap, but keep it possible to deliver to the mailbox via lmtp?
I want to migrate some mailboxes around and would like to ensure that
the users cannot access their mail while doing so.
I would like to keep the users from logging in entirely rather than
setting ACLs.
Thanks in advance
Julian
</pre>
</blockquote>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Comment out the sections in dovecot.conf
that configure the imap service but leave the lmtp service
running.</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Alternatively set an iptables rule to
block the imap and imaps ports.<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">-- <br>
<font size="4" color="DarkSlateGray">Jeremy</font><br>
<br>
</div>
</body>
</html>