I like to block some IP ranges accessing certain mailboxes by IMAP. That means if someone tries accessing a mailbox from i.e. IP Range 115.26.12.0/26 it should be blocked. Reasson is the New Outlook. Regards Rainer
There is no function to block a specific IP range for a mailbox. You can only block IP ranges for the full server by e.g. using UFW firewall.
I assumed. The background is the "New Outlook" I think you read about. I do not want that MS will access my my mailbox users from Microsoft Azure Cloud wit stolen credentials. See https://www.heise.de/news/Neue-Outlook-App-BSI-sieht-Cloudzwang-kritisch-9536892.html but it should be possible that Azure users can send mails to my users. OK I will go deeper in the FSW Firewall to see how that can be configured. Regards Rainer