feat(services/mail): removing the roundcube webmail client
- The webmail client is now disable to privilege the client on computer
This commit is contained in:
parent
24fb95b32c
commit
5153908d15
1 changed files with 0 additions and 32 deletions
|
|
@ -36,18 +36,6 @@ in
|
||||||
"d /var/vmail 0750 vmail vmail - -"
|
"d /var/vmail 0750 vmail vmail - -"
|
||||||
];
|
];
|
||||||
|
|
||||||
security.acme.certs."mail.enium.eu" = {
|
|
||||||
group = "nginx";
|
|
||||||
reloadServices = [
|
|
||||||
"postfix.service"
|
|
||||||
"dovecot.service"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
users.groups.nginx.members = [
|
|
||||||
"postfix"
|
|
||||||
"dovecot"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.postfix = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
rootAlias = "direction@enium.eu";
|
rootAlias = "direction@enium.eu";
|
||||||
|
|
@ -248,11 +236,6 @@ in
|
||||||
contact@enium.eu raphael@enium.eu, benjamin@enium.eu
|
contact@enium.eu raphael@enium.eu, benjamin@enium.eu
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.nginx.virtualHosts."mail.enium.eu" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.rspamd = {
|
services.rspamd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
@ -331,20 +314,5 @@ EOD;
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 6381;
|
port = 6381;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.roundcube = {
|
|
||||||
enable = true;
|
|
||||||
hostName = "mail.enium.eu";
|
|
||||||
extraConfig = ''
|
|
||||||
$config['smtp_host'] = "tls://mail.enium.eu";
|
|
||||||
$config['smtp_port'] = 587;
|
|
||||||
$config['smtp_user'] = "%u";
|
|
||||||
$config['smtp_pass'] = "%p";
|
|
||||||
$config['smtp_auth_type'] = "LOGIN";
|
|
||||||
$config['imap_host'] = "ssl://mail.enium.eu";
|
|
||||||
$config['default_port'] = 993;
|
|
||||||
$config['username_domain'] = 'enium.eu';
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue