@@ -106,6 +106,58 @@ Use a YAML configuration file when your server launch become unwieldy.
106
106
107
107
Write out the current server config as YAML to stdout.
108
108
109
+ EMAIL OPTIONS:
110
+ Configure how emails are sent.
111
+
112
+ --email-force-tls bool, $CODER_EMAIL_FORCE_TLS (default: false)
113
+ Force a TLS connection to the configured SMTP smarthost.
114
+
115
+ --email-from string, $CODER_EMAIL_FROM
116
+ The sender's address to use.
117
+
118
+ --email-hello string, $CODER_EMAIL_HELLO (default: localhost)
119
+ The hostname identifying the SMTP server.
120
+
121
+ --email-smarthost host:port, $CODER_EMAIL_SMARTHOST (default: localhost:587)
122
+ The intermediary SMTP host through which emails are sent.
123
+
124
+ EMAIL / EMAIL AUTHENTICATION OPTIONS:
125
+ Configure SMTP authentication options.
126
+
127
+ --email-auth-identity string, $CODER_EMAIL_AUTH_IDENTITY
128
+ Identity to use with PLAIN authentication.
129
+
130
+ --email-auth-password string, $CODER_EMAIL_AUTH_PASSWORD
131
+ Password to use with PLAIN/LOGIN authentication.
132
+
133
+ --email-auth-password-file string, $CODER_EMAIL_AUTH_PASSWORD_FILE
134
+ File from which to load password for use with PLAIN/LOGIN
135
+ authentication.
136
+
137
+ --email-auth-username string, $CODER_EMAIL_AUTH_USERNAME
138
+ Username to use with PLAIN/LOGIN authentication.
139
+
140
+ EMAIL / EMAIL TLS OPTIONS:
141
+ Configure TLS for your SMTP server target.
142
+
143
+ --email-tls-ca-cert-file string, $CODER_EMAIL_TLS_CACERTFILE
144
+ CA certificate file to use.
145
+
146
+ --email-tls-cert-file string, $CODER_EMAIL_TLS_CERTFILE
147
+ Certificate file to use.
148
+
149
+ --email-tls-cert-key-file string, $CODER_EMAIL_TLS_CERTKEYFILE
150
+ Certificate key file to use.
151
+
152
+ --email-tls-server-name string, $CODER_EMAIL_TLS_SERVERNAME
153
+ Server name to verify against the target certificate.
154
+
155
+ --email-tls-skip-verify bool, $CODER_EMAIL_TLS_SKIPVERIFY
156
+ Skip verification of the target server's certificate (insecure).
157
+
158
+ --email-tls-starttls bool, $CODER_EMAIL_TLS_STARTTLS
159
+ Enable STARTTLS to upgrade insecure SMTP connections using TLS.
160
+
109
161
INTROSPECTION / HEALTH CHECK OPTIONS:
110
162
--health-check-refresh duration, $CODER_HEALTH_CHECK_REFRESH (default: 10m0s)
111
163
Refresh interval for healthchecks.
@@ -349,54 +401,68 @@ Configure how notifications are processed and delivered.
349
401
NOTIFICATIONS / EMAIL OPTIONS:
350
402
Configure how email notifications are sent.
351
403
352
- --notifications-email-force-tls bool, $CODER_NOTIFICATIONS_EMAIL_FORCE_TLS (default: false)
404
+ --notifications-email-force-tls bool, $CODER_NOTIFICATIONS_EMAIL_FORCE_TLS
353
405
Force a TLS connection to the configured SMTP smarthost.
406
+ DEPRECATED: Use --email-force-tls instead.
354
407
355
408
--notifications-email-from string, $CODER_NOTIFICATIONS_EMAIL_FROM
356
409
The sender's address to use.
410
+ DEPRECATED: Use --email-from instead.
357
411
358
- --notifications-email-hello string, $CODER_NOTIFICATIONS_EMAIL_HELLO (default: localhost)
412
+ --notifications-email-hello string, $CODER_NOTIFICATIONS_EMAIL_HELLO
359
413
The hostname identifying the SMTP server.
414
+ DEPRECATED: Use --email-hello instead.
360
415
361
- --notifications-email-smarthost host:port, $CODER_NOTIFICATIONS_EMAIL_SMARTHOST (default: localhost:587)
416
+ --notifications-email-smarthost host:port, $CODER_NOTIFICATIONS_EMAIL_SMARTHOST
362
417
The intermediary SMTP host through which emails are sent.
418
+ DEPRECATED: Use --email-smarthost instead.
363
419
364
420
NOTIFICATIONS / EMAIL / EMAIL AUTHENTICATION OPTIONS:
365
421
Configure SMTP authentication options.
366
422
367
423
--notifications-email-auth-identity string, $CODER_NOTIFICATIONS_EMAIL_AUTH_IDENTITY
368
424
Identity to use with PLAIN authentication.
425
+ DEPRECATED: Use --email-auth-identity instead.
369
426
370
427
--notifications-email-auth-password string, $CODER_NOTIFICATIONS_EMAIL_AUTH_PASSWORD
371
428
Password to use with PLAIN/LOGIN authentication.
429
+ DEPRECATED: Use --email-auth-password instead.
372
430
373
431
--notifications-email-auth-password-file string, $CODER_NOTIFICATIONS_EMAIL_AUTH_PASSWORD_FILE
374
432
File from which to load password for use with PLAIN/LOGIN
375
433
authentication.
434
+ DEPRECATED: Use --email-auth-password-file instead.
376
435
377
436
--notifications-email-auth-username string, $CODER_NOTIFICATIONS_EMAIL_AUTH_USERNAME
378
437
Username to use with PLAIN/LOGIN authentication.
438
+ DEPRECATED: Use --email-auth-username instead.
379
439
380
440
NOTIFICATIONS / EMAIL / EMAIL TLS OPTIONS:
381
441
Configure TLS for your SMTP server target.
382
442
383
443
--notifications-email-tls-ca-cert-file string, $CODER_NOTIFICATIONS_EMAIL_TLS_CACERTFILE
384
444
CA certificate file to use.
445
+ DEPRECATED: Use --email-tls-ca-cert-file instead.
385
446
386
447
--notifications-email-tls-cert-file string, $CODER_NOTIFICATIONS_EMAIL_TLS_CERTFILE
387
448
Certificate file to use.
449
+ DEPRECATED: Use --email-tls-cert-file instead.
388
450
389
451
--notifications-email-tls-cert-key-file string, $CODER_NOTIFICATIONS_EMAIL_TLS_CERTKEYFILE
390
452
Certificate key file to use.
453
+ DEPRECATED: Use --email-tls-cert-key-file instead.
391
454
392
455
--notifications-email-tls-server-name string, $CODER_NOTIFICATIONS_EMAIL_TLS_SERVERNAME
393
456
Server name to verify against the target certificate.
457
+ DEPRECATED: Use --email-tls-server-name instead.
394
458
395
459
--notifications-email-tls-skip-verify bool, $CODER_NOTIFICATIONS_EMAIL_TLS_SKIPVERIFY
396
460
Skip verification of the target server's certificate (insecure).
461
+ DEPRECATED: Use --email-tls-skip-verify instead.
397
462
398
463
--notifications-email-tls-starttls bool, $CODER_NOTIFICATIONS_EMAIL_TLS_STARTTLS
399
464
Enable STARTTLS to upgrade insecure SMTP connections using TLS.
465
+ DEPRECATED: Use --email-tls-starttls instead.
400
466
401
467
NOTIFICATIONS / WEBHOOK OPTIONS:
402
468
--notifications-webhook-endpoint url, $CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT
0 commit comments