~misterio/nix-config

0c0e6a46728d0b7cd3a8d7e5e1f2ac30415c4946 — Gabriel Fontes 2 months ago c404d71
electra/mail: no need to use a relay anymore
1 files changed, 0 insertions(+), 13 deletions(-)

M hosts/electra/services/mail.nix
M hosts/electra/services/mail.nix => hosts/electra/services/mail.nix +0 -13
@@ 55,21 55,8 @@
    gabriel-mail-password = {
      sopsFile = ../secrets.yaml;
    };
    smtp-relay-creds = {
      sopsFile = ../secrets.yaml;
    };
  };

  # Relay server while vultr does not unblock smtp
  # https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/issues/148
  services.postfix.extraConfig = ''
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = texthash:${config.sops.secrets.smtp-relay-creds.path}
    smtp_sasl_security_options = noanonymous
    smtp_sasl_mechanism_filter = AUTH LOGIN
    relayhost = smtp.fastmail.com:587
  '';

  # Webmail
  services.roundcube = rec {
    enable = true;