imap-gssapi-program

imap-gssapi-program is a variable defined in `imap.el'.
Its value is

("gsasl %s %p --mechanism GSSAPI --authentication-id %l" "imtest -m gssapi -u %l -p %p %s")

  • This variable may be risky if used as a file-local variable.

Documentation:
List of strings containing commands for GSSAPI (krb5) authentication.
%s is replaced with server hostname, %p with port to connect to, and
%l with the value of `imap-default-user'. The program should accept
IMAP commands on stdin and return responses to stdout. Each entry in
the list is tried until a successful connection is made.

You can customize this variable.