Skip to main content
mattia1
Staff
Staff
May 15, 2026

Technical Tip: FortiMail IMAP Authentication to allow users to login to personal quarantine with an IMAP Profile

  • May 15, 2026
  • 0 replies
  • 82 views

Description


This article describes how to use an IMAP profile to authenticate users and allow users to login to a personal quarantine.


Scope


FortiMail.


Solution

  • Navigate to Profile -> Authentication -> IMAP -> New. Configure the values as shown in the screenshot below.


cf693736.png


  • Navigate to Policy -> Recipient Policy -> Inbound -> Edit the matching policy -> Authentication and Access -> Authentication Type 'IMAP' -> Authentication Profile, then attach the profile created in the previous step.


f72f1b38.png


  • Confirm that the IMAP service is enabled on the server used in the authentication profile by navigating to System -> Mail Settings -> IMAP Server -> Enable. Enter the port numbers for IMAP and IMAPS.


b61226a5.png


  • Confirm that Webmail Access is enabled on the gateway by navigating to Profile -> Resource, then edit the resource profile used in the matching recipient policy and enable Webmail access.


2afdb973.png


Results:

Navigate to the FortiMail gateway IP/FQDN in the this format https://x.x.x.x/user/


Enter the username used on the backend server in the 'user@domain.com' format and enter the password.

f7b06a12.png


  • The user quarantine is now accessible.


dfd1ace3.png

  • In the FortiMail Gateway, the login activity can be verified by navigating to Monitor -> Log -> Mail Event -> Sub Type 'Web Mail'.


91e75a5d.png


Note: In this scenario, the FortiMail server was used as an IMAP Server. Any other server that supports IMAP can be used.

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!