Remove duplicated or unecessary email config
This commit is contained in:
parent
5e5ad01f26
commit
b06047834e
2 changed files with 0 additions and 35 deletions
|
|
@ -10,20 +10,6 @@ let
|
||||||
davmail.smtpPort=1025
|
davmail.smtpPort=1025
|
||||||
davmail.disableUpdateCheck=true
|
davmail.disableUpdateCheck=true
|
||||||
'';
|
'';
|
||||||
davMailIngenicoConf = pkgs.writeText "davmail-ingenico.propertries" ''
|
|
||||||
davmail.server=true
|
|
||||||
davmail.mode=O365Modern
|
|
||||||
davmail.oauth.clientId=8ed87c30-ae92-4443-8528-f6a52ac95362
|
|
||||||
davmail.oauth.redirectUri=https://login.microsoftonline.com/common/oauth2/nativeclient
|
|
||||||
davmail.oauth.tenantId=143a5e19-140b-4632-b3ea-e71a15cddb8c
|
|
||||||
davmail.url=https://outlook.office365.com/EWS/Exchange.asmx
|
|
||||||
davmail.caldavPort=2080
|
|
||||||
davmail.imapPort=2143
|
|
||||||
davmail.ldapPort=2389
|
|
||||||
davmail.popPort=2110
|
|
||||||
davmail.smtpPort=2025
|
|
||||||
davmail.disableUpdateCheck=true
|
|
||||||
'';
|
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
davmail
|
davmail
|
||||||
|
|
@ -41,17 +27,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.user.services = {
|
|
||||||
davmail-ingenico = {
|
|
||||||
Unit = {
|
|
||||||
Description = "DavMail Ingenico Exchange";
|
|
||||||
};
|
|
||||||
|
|
||||||
Service = {
|
|
||||||
Type = "simple";
|
|
||||||
RemainAfterExit = "no";
|
|
||||||
ExecStart = "${pkgs.davmail}/bin/davmail ${davMailIngenicoConf}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,4 @@
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"127.0.0.1" = [ "localhost" "local.ted.europa.eu" ];
|
"127.0.0.1" = [ "localhost" "local.ted.europa.eu" ];
|
||||||
};
|
};
|
||||||
services.davmail = {
|
|
||||||
enable = true;
|
|
||||||
url = "https://webmail.arhs-developments.com/owa/";
|
|
||||||
config = {
|
|
||||||
davmail.mode = "EWS";
|
|
||||||
davmail.allowRemote = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue