diff --git a/doc/mod/notification-email.md b/doc/mod/notification-email.md index 90254292..9657b33e 100644 --- a/doc/mod/notification-email.md +++ b/doc/mod/notification-email.md @@ -37,8 +37,9 @@ Also make sure the device has correct time configured, best is to set up the ntp client. Then edit `global-config-overlay`, add `EmailGeneralTo` with a valid -recipient address. Optionally add `EmailServerCertificate` if you have -certificate verification enabled. Finally reload the configuration. +recipient address. Optionally add `EmailServerCertificate` and add the CA +certificate name if you have certificate verification enabled. Finally +reload the configuration. > ℹ️ **Info**: Copy relevant configuration from > [`global-config`](../../global-config.rsc) (the one without `-overlay`) to diff --git a/global-config.rsc b/global-config.rsc index 43e09bbf..12c85916 100644 --- a/global-config.rsc +++ b/global-config.rsc @@ -31,6 +31,7 @@ :global EmailGeneralCc ""; #:global EmailGeneralTo "mail@example.com"; #:global EmailGeneralCc "another@example.com,third@example.com"; +# Add the CA certificate name here for verification. :global EmailServerCertificate ""; # You can send Telegram notifications. Register a bot diff --git a/global-functions.rsc b/global-functions.rsc index 0a8fdb77..41a57e8d 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -15,7 +15,7 @@ # Git commit id & info, expected configuration version :global CommitId "unknown"; :global CommitInfo "unknown"; -:global ExpectedConfigVersion 141; +:global ExpectedConfigVersion 142; # global variables not to be changed by user :global GlobalFunctionsReady false; diff --git a/news-and-changes.rsc b/news-and-changes.rsc index 109244ea..2c1a0272 100644 --- a/news-and-changes.rsc +++ b/news-and-changes.rsc @@ -66,6 +66,7 @@ 139="Certificate Authorities will reduce the leaf certificate validity times soon. Thus the defaults for renewal and warning in 'check-certificates' were decreased."; 140="The scripts 'lease-script' was renamed to 'dhcpv4-server-lease', configuration was updated automatically."; 141="Introduced script 'dhcpv6-client-lease' to run several scripts on IPv6 DHCP client lease."; + 142="Added a setting for 'mod/notification-email' to check availability of certificate chain."; }; # Migration steps to be applied on script updates