Fossil SCM

Make the default value for email-send-relayhost be "localhost"

drh 2025-04-07 05:25 trunk
Commit 6c7066a1c52c233ba6e0b9f375fdfb809e0ff61030d4c6a78de9484fd77c58de
1 file changed +2 -2
+2 -2
--- src/alerts.c
+++ src/alerts.c
@@ -395,11 +395,11 @@
395395
@ that follow. Hint: Use the <a href="%R/announce">/announce</a> page
396396
@ to send test message to debug this setting.
397397
@ (Property: "email-send-method")</p>
398398
alert_schema(1);
399399
entry_attribute("SMTP Relay Host", 60, "email-send-relayhost",
400
- "esrh", "localhost:25", 0);
400
+ "esrh", "localhost", 0);
401401
@ <p>When the send method is "SMTP relay", each email message is
402402
@ transmitted via the SMTP protocol (rfc5321) to a "Mail Submission
403403
@ Agent" or "MSA" (rfc4409) at the hostname shown here. Optionally
404404
@ append a colon and TCP port number (ex: smtp.example.com:587).
405405
@ The default TCP port number is 25.
@@ -1126,11 +1126,11 @@
11261126
** SETTING: email-listid width=40
11271127
** If this setting is not an empty string, then it becomes the argument to
11281128
** a "List-ID:" header that is added to all out-bound notification emails.
11291129
*/
11301130
/*
1131
-** SETTING: email-send-relayhost width=40 sensitive
1131
+** SETTING: email-send-relayhost width=40 sensitive default=localhost
11321132
** This is the hostname and TCP port to which output email messages
11331133
** are sent when email-send-method is "relay". There should be an
11341134
** SMTP server configured as a Mail Submission Agent listening on the
11351135
** designated host and port and all times.
11361136
*/
11371137
--- src/alerts.c
+++ src/alerts.c
@@ -395,11 +395,11 @@
395 @ that follow. Hint: Use the <a href="%R/announce">/announce</a> page
396 @ to send test message to debug this setting.
397 @ (Property: "email-send-method")</p>
398 alert_schema(1);
399 entry_attribute("SMTP Relay Host", 60, "email-send-relayhost",
400 "esrh", "localhost:25", 0);
401 @ <p>When the send method is "SMTP relay", each email message is
402 @ transmitted via the SMTP protocol (rfc5321) to a "Mail Submission
403 @ Agent" or "MSA" (rfc4409) at the hostname shown here. Optionally
404 @ append a colon and TCP port number (ex: smtp.example.com:587).
405 @ The default TCP port number is 25.
@@ -1126,11 +1126,11 @@
1126 ** SETTING: email-listid width=40
1127 ** If this setting is not an empty string, then it becomes the argument to
1128 ** a "List-ID:" header that is added to all out-bound notification emails.
1129 */
1130 /*
1131 ** SETTING: email-send-relayhost width=40 sensitive
1132 ** This is the hostname and TCP port to which output email messages
1133 ** are sent when email-send-method is "relay". There should be an
1134 ** SMTP server configured as a Mail Submission Agent listening on the
1135 ** designated host and port and all times.
1136 */
1137
--- src/alerts.c
+++ src/alerts.c
@@ -395,11 +395,11 @@
395 @ that follow. Hint: Use the <a href="%R/announce">/announce</a> page
396 @ to send test message to debug this setting.
397 @ (Property: "email-send-method")</p>
398 alert_schema(1);
399 entry_attribute("SMTP Relay Host", 60, "email-send-relayhost",
400 "esrh", "localhost", 0);
401 @ <p>When the send method is "SMTP relay", each email message is
402 @ transmitted via the SMTP protocol (rfc5321) to a "Mail Submission
403 @ Agent" or "MSA" (rfc4409) at the hostname shown here. Optionally
404 @ append a colon and TCP port number (ex: smtp.example.com:587).
405 @ The default TCP port number is 25.
@@ -1126,11 +1126,11 @@
1126 ** SETTING: email-listid width=40
1127 ** If this setting is not an empty string, then it becomes the argument to
1128 ** a "List-ID:" header that is added to all out-bound notification emails.
1129 */
1130 /*
1131 ** SETTING: email-send-relayhost width=40 sensitive default=localhost
1132 ** This is the hostname and TCP port to which output email messages
1133 ** are sent when email-send-method is "relay". There should be an
1134 ** SMTP server configured as a Mail Submission Agent listening on the
1135 ** designated host and port and all times.
1136 */
1137

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button