From e09c4a0ae8aef9163296b4a5340a3b9ff7e26c34 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 13 Jun 2020 02:21:40 +0100 Subject: chore(monorepo-gerrit): Point SMTP configuration at smtprelay Change-Id: I33085974fb3764f8a6df7f16245b2f5602f94118 Reviewed-on: https://cl.tvl.fyi/c/depot/+/102 Reviewed-by: lukegb --- ops/nixos/modules/monorepo-gerrit.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ops/nixos/modules/monorepo-gerrit.nix b/ops/nixos/modules/monorepo-gerrit.nix index 174c59948e29..18c61964f157 100644 --- a/ops/nixos/modules/monorepo-gerrit.nix +++ b/ops/nixos/modules/monorepo-gerrit.nix @@ -56,13 +56,12 @@ in { sendemail = { enable = true; html = false; - connectTimeout = "30sec"; + connectTimeout = "10sec"; from = "TVL Code Review "; includeDiff = true; - smtpEncryption = "tls"; - smtpServer = "smtp.gmail.com"; - smtpServerPort = 587; - smtpUser = "tvlbot@tazj.in"; + smtpEncryption = "none"; + smtpServer = "localhost"; + smtpServerPort = 2525; }; }; }; -- cgit 1.4.1