2020-02-29 07:43:59 +07:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Filesystem
|
|
|
|
parent: Notifier
|
|
|
|
grand_parent: Configuration
|
|
|
|
nav_order: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
# Filesystem
|
|
|
|
|
|
|
|
With this configuration, the message will be sent to a file. This option
|
2020-08-21 09:16:23 +07:00
|
|
|
should only be used for testing purposes. This method will use the plain
|
|
|
|
text email template for readability purposes.
|
2020-02-29 07:43:59 +07:00
|
|
|
|
|
|
|
```yaml
|
[FEATURE] Notifier Startup Checks (#889)
* implement SMTP notifier startup check
* check dial, starttls, auth, mail from, rcpt to, reset, and quit
* log the error on failure
* implement mock
* misc optimizations, adjustments, and refactoring
* implement validate_skip config option
* fix comments to end with period
* fix suites that used smtp notifier without a smtp container
* add docs
* add file notifier startup check
* move file mode into const.go
* disable gosec linting on insecureskipverify since it's intended, warned, and discouraged
* minor PR commentary adjustment
* apply suggestions from code review
Co-Authored-By: Amir Zarrinkafsh <nightah@me.com>
2020-04-21 11:59:38 +07:00
|
|
|
# Configuration of the notification system.
|
|
|
|
#
|
|
|
|
# Notifications are sent to users when they require a password reset, a U2F
|
|
|
|
# registration or a TOTP registration.
|
|
|
|
# Use only an available configuration: filesystem, smtp.
|
2020-02-29 07:43:59 +07:00
|
|
|
notifier:
|
[FEATURE] Notifier Startup Checks (#889)
* implement SMTP notifier startup check
* check dial, starttls, auth, mail from, rcpt to, reset, and quit
* log the error on failure
* implement mock
* misc optimizations, adjustments, and refactoring
* implement validate_skip config option
* fix comments to end with period
* fix suites that used smtp notifier without a smtp container
* add docs
* add file notifier startup check
* move file mode into const.go
* disable gosec linting on insecureskipverify since it's intended, warned, and discouraged
* minor PR commentary adjustment
* apply suggestions from code review
Co-Authored-By: Amir Zarrinkafsh <nightah@me.com>
2020-04-21 11:59:38 +07:00
|
|
|
# You can disable the notifier startup check by setting this to true.
|
|
|
|
disable_startup_check: false
|
|
|
|
|
|
|
|
# For testing purpose, notifications can be sent in a file.
|
2020-04-11 11:46:07 +07:00
|
|
|
filesystem:
|
2020-06-17 13:25:35 +07:00
|
|
|
filename: /config/notification.txt
|
[FEATURE] Notifier Startup Checks (#889)
* implement SMTP notifier startup check
* check dial, starttls, auth, mail from, rcpt to, reset, and quit
* log the error on failure
* implement mock
* misc optimizations, adjustments, and refactoring
* implement validate_skip config option
* fix comments to end with period
* fix suites that used smtp notifier without a smtp container
* add docs
* add file notifier startup check
* move file mode into const.go
* disable gosec linting on insecureskipverify since it's intended, warned, and discouraged
* minor PR commentary adjustment
* apply suggestions from code review
Co-Authored-By: Amir Zarrinkafsh <nightah@me.com>
2020-04-21 11:59:38 +07:00
|
|
|
```
|