ltm rule command IMAP activation modeΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



IMAP::activation_mode
       Get or set the activation mode for IMAP STARTTLS.

SYNOPSIS
       IMAP::activation_mode (none | allow | require)?

DESCRIPTION
       Sets the IMAP activation mode to none (IMAP STARTTLS detection will not
       activate), allow (IMAP will optionally activate TLS if client or server
       support STARTTLS), or require (IMAP will require that both client and
       server support STARTTLS). Returns the current activation mode if no
       option is specified.

RETURN VALUE
VALID DURING
       ANY_EVENT

EXAMPLES
	when CLIENT_ACCEPTED {
	    if { ([IP::addr [IP::client_addr] equals 10.0.0.0/8]) } {
		IMAP::activation_mode require
	    }

	    if { ([IP::addr [IP::client_addr] equals 10.0.0.0/8]) } {
		set mode [IMAP::activation_mode]
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-13.1.0 --First introduced the command.



BIG-IP				  2018-07-19			      iRule(1)