Un exemple de configuration avec l'outil [home-manager
] pour la partie mail pour un mail @math.cnrs.fr
.
accounts.email = {
accounts.mathrice = {
thunderbird.enable = true;
address = "mon.adresse@math.cnrs.fr";
flavor = "plain";
imap = {
host = "imaps.math.cnrs.fr";
port = 993;
tls = {
enable = true;
useStartTls = false;
};
};
smtp = {
host = "smtps.math.cnrs.fr";
port = 587;
tls = {
enable = true;
useStartTls = true;
};
};
userName = "monloginPLM";
primary = false;
realName = "Mon Nom";
signature = {
text = ''
Exemple de signature
Mon nom et mon prénom
Mon laboratoire
'';
showSignature = "append";
};
};
};
programs.thunderbird = {
enable = true;
profiles = {
mathrice.isDefault = true;
};
};