Debian Codegraph @

doc/aerc-smtp.5.scd

raw
1 AERC-SMTP(5)
2
3 # NAME
4
5 aerc-smtp - SMTP configuration for *aerc*(1)
6
7 # SYNOPSIS
8
9 aerc implements the SMTP protocol as specified by RFC 5321.
10
11 # CONFIGURATION
12
13 Basic SMTP configuration may be done interactively with the *:new-account*
14 command.
15
16 In _accounts.conf_ (see *aerc-accounts*(5)), the following SMTP-specific options
17 are available:
18
19 *outgoing* = _<scheme>_[_+<auth>_]://_<username>_[_:<password>_]_@<hostname>_[_:<port>_]?[_<oauth2_params>_]
20 Remember that all fields must be URL encoded. The _@_ symbol, when URL
21 encoded, is _%40_.
22
23 The value of _<scheme>_ can be:
24
25 _smtp_
26 SMTP with STARTTLS
27
28 _smtp+insecure_
29 SMTP without STARTTLS
30
31 _smtps_
32 SMTP with TLS/SSL
33
34 _smtps+insecure_
35 SMTP with TLS/SSL, skipping certificate verification
36
37 Additionally, you can specify an authentication mechanism like so:
38
39 _none_
40 No authentication is required to use this SMTP server. You may omit the
41 username and password in this case.
42
43 _plain_
44 Authenticate with a username and password using AUTH PLAIN. This is the
45 default behavior.
46
47 _login_
48 Authenticate with a username and password using AUTH LOGIN. This is an obsolete
49 protocol, but is required for some common webmail providers.
50
51 _oauthbearer_
52 SMTP with TLS/SSL using OAUTHBEARER Authentication. See
53 documentation in *aerc-imap*(5) for usage.
54
55 _xoauth2_
56 SMTP with TLS/SSL using XOAUTH2 Authentication. See
57 documentation in *aerc-imap*(5) for usage.
58
59 *outgoing-cred-cmd* = _<command>_
60 Specifies the command to run to get the password for the SMTP
61 account. This command will be run using _sh -c [command]_. If a
62 password is specified in the *outgoing* option, the password will
63 take precedence over this command.
64
65 Example:
66 outgoing-cred-cmd = pass hostname/username
67
68 *smtp-domain* = _<domain>_
69 Local domain name to use in the HELO/EHLO SMTP command. Set this to a fully
70 qualified domain name if the server requires it as an antispam measure.
71
72 Default: _localhost_
73
74 # SEE ALSO
75
76 *aerc*(1) *aerc-accounts*(5)
77
78 # AUTHORS
79
80 Originally created by Drew DeVault and maintained by Robin Jarry who is assisted
81 by other open source contributors. For more information about aerc development,
82 see _https://sr.ht/~rjarry/aerc/_.