POP3::activation_mode

Description

This command gets or sets the activation mode for POP3 STARTTLS. Returns the current activation mode if no option is specified. Sets the POP3 activation mode to:

  • none (POP3 STARTTLS detection will not activate)
  • allow (POP3 will optionally activate TLS if client or server support STARTTLS)
  • require (POP3 will require that both client and server support STARTTLS).

Syntax

POP3::activation_mode [<none | allow | require>]

Examples

when CLIENT_ACCEPTED {
    if { !([IP::addr [IP::client_addr] ne 10.0.0.0/8) } {
        POP3::activation_mode require
    }
}