aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-13 10:41:30 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-13 10:41:30 +0200
commit0f466f6d5aec0d3fcf406fe2bb71effa5a1a1386 (patch)
treeff5a002512e0d68ed6adfe7d0361bfab1fe75abd
parente2ca51b2f47652f64b497e53249c29ad4b96a6e9 (diff)
downloadNix-0f466f6d5aec0d3fcf406fe2bb71effa5a1a1386.tar.gz
Nix-0f466f6d5aec0d3fcf406fe2bb71effa5a1a1386.tar.zst
Nix-0f466f6d5aec0d3fcf406fe2bb71effa5a1a1386.zip
Cleanup e-mails from immae.eu domains
-rw-r--r--nixops/modules/dns/default.nix6
-rw-r--r--nixops/modules/websites/tools/cloud/nextcloud.nix4
-rw-r--r--nixops/modules/websites/tools/dav/davical.nix2
-rw-r--r--nixops/modules/websites/tools/diaspora/diaspora.nix4
-rw-r--r--nixops/modules/websites/tools/git/mantisbt/mantisbt.nix8
-rw-r--r--nixops/modules/websites/tools/mastodon/mastodon.nix2
-rw-r--r--nixops/modules/websites/tools/mediagoblin/mediagoblin.nix2
-rw-r--r--nixops/modules/websites/tools/peertube/peertube.nix4
-rw-r--r--nixops/modules/websites/tools/tools/kanboard.nix2
-rw-r--r--nixops/modules/websites/tools/tools/ttrss.nix4
-rw-r--r--nixops/modules/websites/tools/tools/wallabag.nix4
11 files changed, 21 insertions, 21 deletions
diff --git a/nixops/modules/dns/default.nix b/nixops/modules/dns/default.nix
index 7937714..34019d1 100644
--- a/nixops/modules/dns/default.nix
+++ b/nixops/modules/dns/default.nix
@@ -68,8 +68,8 @@
68 server-id none; 68 server-id none;
69 ''; 69 '';
70 zones = with myconfig.env.dns; 70 zones = with myconfig.env.dns;
71 assert (builtins.substring ((builtins.stringLength soa.email)-1) 1 soa.email) == "."; 71 assert (builtins.substring ((builtins.stringLength soa.email)-1) 1 soa.email) != ".";
72 assert (builtins.substring ((builtins.stringLength soa.primary)-1) 1 soa.primary) == "."; 72 assert (builtins.substring ((builtins.stringLength soa.primary)-1) 1 soa.primary) != ".";
73 (map (conf: { 73 (map (conf: {
74 name = conf.name; 74 name = conf.name;
75 master = false; 75 master = false;
@@ -87,7 +87,7 @@
87 else []; 87 else [];
88 file = pkgs.writeText "${conf.name}.zone" '' 88 file = pkgs.writeText "${conf.name}.zone" ''
89 $TTL 10800 89 $TTL 10800
90 @ IN SOA ${soa.primary} ${soa.email} ${soa.serial} ${soa.refresh} ${soa.retry} ${soa.expire} ${soa.ttl} 90 @ IN SOA ${soa.primary}. ${builtins.replaceStrings ["@"] ["."] soa.email}. ${soa.serial} ${soa.refresh} ${soa.retry} ${soa.expire} ${soa.ttl}
91 91
92 ${lib.concatStringsSep "\n" (map (x: "@ IN NS ${x}.") (lib.concatMap (n: lib.attrsets.mapAttrsToList (k: v: k) ns.${n}) conf.ns))} 92 ${lib.concatStringsSep "\n" (map (x: "@ IN NS ${x}.") (lib.concatMap (n: lib.attrsets.mapAttrsToList (k: v: k) ns.${n}) conf.ns))}
93 93
diff --git a/nixops/modules/websites/tools/cloud/nextcloud.nix b/nixops/modules/websites/tools/cloud/nextcloud.nix
index 2e52828..59930fb 100644
--- a/nixops/modules/websites/tools/cloud/nextcloud.nix
+++ b/nixops/modules/websites/tools/cloud/nextcloud.nix
@@ -148,9 +148,9 @@ let
148 'mail_smtphost' => '127.0.0.1', 148 'mail_smtphost' => '127.0.0.1',
149 'mail_smtpname' => ''', 149 'mail_smtpname' => ''',
150 'mail_smtppassword' => ''', 150 'mail_smtppassword' => ''',
151 'mail_from_address' => 'owncloud', 151 'mail_from_address' => 'nextcloud',
152 'mail_smtpauth' => false, 152 'mail_smtpauth' => false,
153 'mail_domain' => 'immae.eu', 153 'mail_domain' => 'tools.immae.eu',
154 'memcache.local' => '\\OC\\Memcache\\APCu', 154 'memcache.local' => '\\OC\\Memcache\\APCu',
155 'memcache.locking' => '\\OC\\Memcache\\Redis', 155 'memcache.locking' => '\\OC\\Memcache\\Redis',
156 'filelocking.enabled' => true, 156 'filelocking.enabled' => true,
diff --git a/nixops/modules/websites/tools/dav/davical.nix b/nixops/modules/websites/tools/dav/davical.nix
index 6668fa1..f6cb5bb 100644
--- a/nixops/modules/websites/tools/dav/davical.nix
+++ b/nixops/modules/websites/tools/dav/davical.nix
@@ -22,7 +22,7 @@ let
22 22
23 $c->readonly_webdav_collections = false; 23 $c->readonly_webdav_collections = false;
24 24
25 $c->admin_email ='davical@immae.eu'; 25 $c->admin_email ='davical@tools.immae.eu';
26 26
27 $c->restrict_setup_to_admin = true; 27 $c->restrict_setup_to_admin = true;
28 28
diff --git a/nixops/modules/websites/tools/diaspora/diaspora.nix b/nixops/modules/websites/tools/diaspora/diaspora.nix
index a57c529..82bca8c 100644
--- a/nixops/modules/websites/tools/diaspora/diaspora.nix
+++ b/nixops/modules/websites/tools/diaspora/diaspora.nix
@@ -77,14 +77,14 @@ let
77 wordpress: 77 wordpress:
78 mail: 78 mail:
79 enable: true 79 enable: true
80 sender_address: 'diaspora@immae.eu' 80 sender_address: 'diaspora@tools.immae.eu'
81 method: 'sendmail' 81 method: 'sendmail'
82 smtp: 82 smtp:
83 sendmail: 83 sendmail:
84 location: '/run/wrappers/bin/sendmail' 84 location: '/run/wrappers/bin/sendmail'
85 admins: 85 admins:
86 account: "ismael" 86 account: "ismael"
87 podmin_email: 'diaspora@immae.eu' 87 podmin_email: 'diaspora@tools.immae.eu'
88 relay: 88 relay:
89 outbound: 89 outbound:
90 inbound: 90 inbound:
diff --git a/nixops/modules/websites/tools/git/mantisbt/mantisbt.nix b/nixops/modules/websites/tools/git/mantisbt/mantisbt.nix
index 9bb8476..0cd98a1 100644
--- a/nixops/modules/websites/tools/git/mantisbt/mantisbt.nix
+++ b/nixops/modules/websites/tools/git/mantisbt/mantisbt.nix
@@ -34,10 +34,10 @@ let
34 $g_smtp_host = 'localhost'; 34 $g_smtp_host = 'localhost';
35 $g_smtp_username = '''; 35 $g_smtp_username = ''';
36 $g_smtp_password = '''; 36 $g_smtp_password = ''';
37 $g_webmaster_email = 'webmaster@immae.eu'; 37 $g_webmaster_email = 'mantisbt@tools.immae.eu';
38 $g_from_email = 'noreply@immae.eu'; 38 $g_from_email = 'mantisbt@tools.immae.eu';
39 $g_return_path_email = 'webmaster@immae.eu'; 39 $g_return_path_email = 'mantisbt@tools.immae.eu';
40 $g_from_name = 'Mantis Bug Tracker at immae.eu'; 40 $g_from_name = 'Mantis Bug Tracker at git.immae.eu';
41 $g_email_receive_own = OFF; 41 $g_email_receive_own = OFF;
42 # --- LDAP --- 42 # --- LDAP ---
43 $g_login_method = LDAP; 43 $g_login_method = LDAP;
diff --git a/nixops/modules/websites/tools/mastodon/mastodon.nix b/nixops/modules/websites/tools/mastodon/mastodon.nix
index d4e437a..90e537f 100644
--- a/nixops/modules/websites/tools/mastodon/mastodon.nix
+++ b/nixops/modules/websites/tools/mastodon/mastodon.nix
@@ -80,7 +80,7 @@ let
80 VAPID_PUBLIC_KEY=${env.vapid.public} 80 VAPID_PUBLIC_KEY=${env.vapid.public}
81 81
82 SMTP_DELIVERY_METHOD=sendmail 82 SMTP_DELIVERY_METHOD=sendmail
83 SMTP_FROM_ADDRESS=notifications@mastodon.immae.eu 83 SMTP_FROM_ADDRESS=mastodon@tools.immae.eu
84 SENDMAIL_LOCATION="/run/wrappers/bin/sendmail" 84 SENDMAIL_LOCATION="/run/wrappers/bin/sendmail"
85 PAPERCLIP_ROOT_PATH=${varDir} 85 PAPERCLIP_ROOT_PATH=${varDir}
86 86
diff --git a/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix b/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix
index 53796d5..e1876ae 100644
--- a/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix
+++ b/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix
@@ -196,7 +196,7 @@ in
196 196
197 [mediagoblin] 197 [mediagoblin]
198 direct_remote_path = /mgoblin_static/ 198 direct_remote_path = /mgoblin_static/
199 email_sender_address = "mediagoblin@mail.immae.eu" 199 email_sender_address = "mediagoblin@tools.immae.eu"
200 200
201 #sql_engine = sqlite:///%(data_basedir)s/mediagoblin.db 201 #sql_engine = sqlite:///%(data_basedir)s/mediagoblin.db
202 sql_engine = ${env.psql_url} 202 sql_engine = ${env.psql_url}
diff --git a/nixops/modules/websites/tools/peertube/peertube.nix b/nixops/modules/websites/tools/peertube/peertube.nix
index 75629bd..ba49e2b 100644
--- a/nixops/modules/websites/tools/peertube/peertube.nix
+++ b/nixops/modules/websites/tools/peertube/peertube.nix
@@ -98,7 +98,7 @@ let
98 tls: true # If you use StartTLS: false 98 tls: true # If you use StartTLS: false
99 disable_starttls: false 99 disable_starttls: false
100 ca_file: null # Used for self signed certificates 100 ca_file: null # Used for self signed certificates
101 from_address: 'peertube@immae.eu' 101 from_address: 'peertube@tools.immae.eu'
102 storage: 102 storage:
103 tmp: '${varDir}/storage/tmp/' 103 tmp: '${varDir}/storage/tmp/'
104 avatars: '${varDir}/storage/avatars/' 104 avatars: '${varDir}/storage/avatars/'
@@ -130,7 +130,7 @@ let
130 captions: 130 captions:
131 size: 500 # Max number of video captions/subtitles you want to cache 131 size: 500 # Max number of video captions/subtitles you want to cache
132 admin: 132 admin:
133 email: 'peertube@immae.eu' 133 email: 'peertube@tools.immae.eu'
134 contact_form: 134 contact_form:
135 enabled: true 135 enabled: true
136 signup: 136 signup:
diff --git a/nixops/modules/websites/tools/tools/kanboard.nix b/nixops/modules/websites/tools/tools/kanboard.nix
index 399d3e1..8408ffa 100644
--- a/nixops/modules/websites/tools/tools/kanboard.nix
+++ b/nixops/modules/websites/tools/tools/kanboard.nix
@@ -12,7 +12,7 @@ rec {
12 }; 12 };
13 config = writeText "config.php" '' 13 config = writeText "config.php" ''
14 <?php 14 <?php
15 define('MAIL_FROM', 'kanboard@immae.eu'); 15 define('MAIL_FROM', 'kanboard@tools.immae.eu');
16 16
17 define('DB_DRIVER', 'postgres'); 17 define('DB_DRIVER', 'postgres');
18 define('DB_USERNAME', '${env.postgresql.user}'); 18 define('DB_USERNAME', '${env.postgresql.user}');
diff --git a/nixops/modules/websites/tools/tools/ttrss.nix b/nixops/modules/websites/tools/tools/ttrss.nix
index 1239b9d..ca049e6 100644
--- a/nixops/modules/websites/tools/tools/ttrss.nix
+++ b/nixops/modules/websites/tools/tools/ttrss.nix
@@ -94,11 +94,11 @@ let
94 define('SPHINX_INDEX', 'ttrss, delta'); 94 define('SPHINX_INDEX', 'ttrss, delta');
95 95
96 define('ENABLE_REGISTRATION', false); 96 define('ENABLE_REGISTRATION', false);
97 define('REG_NOTIFY_ADDRESS', 'outils@immae.eu'); 97 define('REG_NOTIFY_ADDRESS', 'ttrss@tools.immae.eu');
98 define('REG_MAX_USERS', 10); 98 define('REG_MAX_USERS', 10);
99 99
100 define('SMTP_FROM_NAME', 'Tiny Tiny RSS'); 100 define('SMTP_FROM_NAME', 'Tiny Tiny RSS');
101 define('SMTP_FROM_ADDRESS', 'outils@immae.eu'); 101 define('SMTP_FROM_ADDRESS', 'ttrss@tools.immae.eu');
102 define('DIGEST_SUBJECT', '[tt-rss] New headlines for last 24 hours'); 102 define('DIGEST_SUBJECT', '[tt-rss] New headlines for last 24 hours');
103 103
104 define('LDAP_AUTH_SERVER_URI', 'ldap://ldap.immae.eu:389/'); 104 define('LDAP_AUTH_SERVER_URI', 'ldap://ldap.immae.eu:389/');
diff --git a/nixops/modules/websites/tools/tools/wallabag.nix b/nixops/modules/websites/tools/tools/wallabag.nix
index a4ce1e0..03779fe 100644
--- a/nixops/modules/websites/tools/tools/wallabag.nix
+++ b/nixops/modules/websites/tools/tools/wallabag.nix
@@ -24,10 +24,10 @@ let
24 locale: fr 24 locale: fr
25 secret: ${env.secret} 25 secret: ${env.secret}
26 twofactor_auth: true 26 twofactor_auth: true
27 twofactor_sender: wallabag@immae.eu 27 twofactor_sender: wallabag@tools.immae.eu
28 fosuser_registration: false 28 fosuser_registration: false
29 fosuser_confirmation: true 29 fosuser_confirmation: true
30 from_email: wallabag@immae.eu 30 from_email: wallabag@tools.immae.eu
31 rss_limit: 50 31 rss_limit: 50
32 rabbitmq_host: localhost 32 rabbitmq_host: localhost
33 rabbitmq_port: 5672 33 rabbitmq_port: 5672