diff --git a/config/config.exs b/config/config.exs
index 0df38d75ac8fe83606f9afde0dc7c585c63b707c..dccf7b2637c21d6fa7e7fb6b6c221e8b6f12039b 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -378,6 +378,8 @@
   base: System.get_env("LDAP_BASE") || "dc=example,dc=com",
   uid: System.get_env("LDAP_UID") || "cn"
 
+config :pleroma, Pleroma.Mailer, adapter: Swoosh.Adapters.Sendmail
+
 # Import environment specific config. This must remain at the bottom
 # of this file so it overrides the configuration defined above.
 import_config "#{Mix.env()}.exs"