X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fmail%2Fpostfix.nix;h=89fd096ecfa4d7e947e88c4843063117dc96213c;hb=120bcf4d3927f4a0d07513bc54ea5b5fb9b7d809;hp=21f12ffabe99d6a31ee1643f4d7b3e9ba7e0a991;hpb=de5b6cf13efac442885f6b20caffeb67f9920115;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/mail/postfix.nix b/modules/private/mail/postfix.nix index 21f12ff..89fd096 100644 --- a/modules/private/mail/postfix.nix +++ b/modules/private/mail/postfix.nix @@ -1,6 +1,27 @@ { lib, pkgs, config, nodes, ... }: { config = lib.mkIf config.myServices.mail.enable { + myServices.chatonsProperties.hostings.mx-backup = { + file.datetime = "2022-08-22T01:00:00"; + hosting = { + name = "MX Backup"; + description = "Serveur e-mail secondaire"; + logo = "https://www.postfix.org/favicon.ico"; + website = "https://mail.immae.eu/"; + status.level = "OK"; + status.description = "OK"; + registration.load = "OPEN"; + install.type = "PACKAGE"; + }; + software = { + name = "Postfix"; + website = "http://www.postfix.org/"; + license.url = "http://postfix.mirrors.ovh.net/postfix-release/LICENSE"; + license.name = "Eclipse Public license (EPL 2.0) and IBM Public License (IPL 1.0)"; + version = pkgs.postfix.version; + source.url = "http://www.postfix.org/download.html"; + }; + }; secrets.keys = { "postfix/mysql_alias_maps" = { user = config.services.postfix.user;