1 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 2 SPDX-License-Identifier: curl 3 Long: login-options 4 Arg: <options> 5 Protocols: IMAP LDAP POP3 SMTP 6 Help: Server login options 7 Added: 7.34.0 8 Category: imap pop3 smtp auth 9 Example: --login-options 'AUTH=*' imap://example.com 10 See-also: user 11 Multi: single 12 --- 13 Specify the login options to use during server authentication. 14 15 You can use login options to specify protocol specific options that may be 16 used during authentication. At present only IMAP, POP3 and SMTP support login 17 options. For more information about login options please see RFC 2384, 18 RFC 5092 and the IETF draft 19 https://datatracker.ietf.org/doc/html/draft-earhart-url-smtp-00. 20 21 Since 8.2.0, IMAP supports the login option "AUTH=+LOGIN". With this option, 22 curl uses the plain (not SASL) LOGIN IMAP command even if the server 23 advertises SASL authentication. Care should be taken in using this option, as 24 it sends your password over the network in plain text. This does not work if 25 the IMAP server disables the plain LOGIN (e.g. to prevent password snooping). 26