aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKarel D. Kopecký <kdk@freeshell.de>2023-01-29 23:16:31 +0100
committerRobin Jarry <robin@jarry.cc>2023-02-02 21:50:49 +0100
commitc10cb370bb943fa6bb6a947e0a515674f1ee1958 (patch)
tree0e8feebd9a38b2f9b33904c3ac8a1cb930a953ca /doc
parent9a69dcc333e9f89bbe3120ef5b181b2a3ecd9a3d (diff)
downloadaerc-c10cb370bb943fa6bb6a947e0a515674f1ee1958.tar.gz
config: add option for SMTP HELO/EHLO local domain
Expose go-smtp functionality for setting the domain name as a config option. This allows aerc to communicate with SMTP servers with strict antispam measures without relying on sendmail. In theory, this should be set to a fully qualified domain name, but some servers simply forbid the use of "localhost", so it is reasonable to let the user set whatever value works for them. For comparison, this is equivalent to the functionality of the "domain" option of msmtp. Signed-off-by: Karel D. Kopecký <kdk@freeshell.de> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-smtp.5.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/aerc-smtp.5.scd b/doc/aerc-smtp.5.scd
index 75837150..850a71b2 100644
--- a/doc/aerc-smtp.5.scd
+++ b/doc/aerc-smtp.5.scd
@@ -64,6 +64,12 @@ are available:
Default: _false_
+*smtp-domain* = _<domain>_
+ Local domain name to use in the HELO/EHLO SMTP command. Set this to a fully
+ qualified domain name if the server requires it as an antispam measure.
+
+ Default: _localhost_
+
# SEE ALSO
*aerc*(1) *aerc-accounts*(5)