diff --git a/CHANGELOG b/CHANGELOG index d0c6e34..f088e66 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ Revision history for Lufi 0.08.0 ????-??-?? - 🔧 — Rename ldap_user to auth_user for invitations (@mildis) + - 💥 — [BREAKING CHANGE] Mail sending is now disabled by default! Set disable_mail_sending to 0 to enable it 0.07.0 2023-12-25 - ⬆️ — Update jQuery diff --git a/lib/Lufi/DefaultConfig.pm b/lib/Lufi/DefaultConfig.pm index e1ea0ac..6baf5bb 100644 --- a/lib/Lufi/DefaultConfig.pm +++ b/lib/Lufi/DefaultConfig.pm @@ -17,7 +17,7 @@ our $default_config = { how => 'sendmail' }, mail_sender => 'no-reply@lufi.io', - disable_mail_sending => 0, + disable_mail_sending => 1, theme => 'default', upload_dir => 'files', session_duration => 3600, diff --git a/lufi.conf.template b/lufi.conf.template index 044ec03..2a274b3 100644 --- a/lufi.conf.template +++ b/lufi.conf.template @@ -175,8 +175,9 @@ #mail_sender => 'no-reply@lufi.io', # Disable sending mail through the server - # optional, default is false - #disable_mail_sending => 0, + # Recommended option as mail sending can be abused by spammers + # optional, default is true + #disable_mail_sending => 1, ############# # DB settings diff --git a/t/mysql.conf b/t/mysql.conf index 3288b2d..dd1383a 100644 --- a/t/mysql.conf +++ b/t/mysql.conf @@ -164,6 +164,11 @@ # optional, default to no-reply@lufi.io #mail_sender => 'no-reply@lufi.io', + # Disable sending mail through the server + # Recommended option as mail sending can be abused by spammers + # optional, default is true + #disable_mail_sending => 1, + ############# # DB settings ############# diff --git a/t/postgresql.conf b/t/postgresql.conf index 87b3e3f..d81c70a 100644 --- a/t/postgresql.conf +++ b/t/postgresql.conf @@ -160,6 +160,11 @@ # optional, default to no-reply@lufi.io #mail_sender => 'no-reply@lufi.io', + # Disable sending mail through the server + # Recommended option as mail sending can be abused by spammers + # optional, default is true + #disable_mail_sending => 1, + ############# # DB settings ############# diff --git a/t/sqlite.conf b/t/sqlite.conf index 9d60d2b..47f8a1d 100644 --- a/t/sqlite.conf +++ b/t/sqlite.conf @@ -164,6 +164,11 @@ # optional, default to no-reply@lufi.io #mail_sender => 'no-reply@lufi.io', + # Disable sending mail through the server + # Recommended option as mail sending can be abused by spammers + # optional, default is true + #disable_mail_sending => 1, + ############# # DB settings ############# diff --git a/t/test.t b/t/test.t index 936132a..c8daec1 100644 --- a/t/test.t +++ b/t/test.t @@ -58,6 +58,7 @@ BEGIN { how => 'sendmail' }, mail_sender => 'no-reply@lufi.io', + disable_mail_sending => 1, theme => 'default', upload_dir => 'files', session_duration => 3600,