Disallow acces via imap, but keep lmtp running
Jeremy Ardley
jeremy at ardley.org
Wed Dec 16 01:13:49 EET 2020
On 16/12/20 6:16 am, Julian Kippels wrote:
> 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
>
Comment out the sections in dovecot.conf that configure the imap service
but leave the lmtp service running.
Alternatively set an iptables rule to block the imap and imaps ports.
--
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201216/f4ba0dc3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201216/f4ba0dc3/attachment.sig>
More information about the dovecot
mailing list