60 lines
1.5 KiB
Nix
60 lines
1.5 KiB
Nix
{...}: {
|
|
accounts.email.accounts = {
|
|
"google max" = {
|
|
address = "max.kaenner@gmail.com";
|
|
userName = "max.kaenner@gmail.com";
|
|
realName = "Max Känner";
|
|
flavor = "gmail.com";
|
|
thunderbird = {
|
|
enable = true;
|
|
settings = id: {
|
|
"mail.smtpserver.smtp_${id}.authMethod" = 10;
|
|
"mail.server.server_${id}.authMethod" = 10;
|
|
};
|
|
};
|
|
primary = true;
|
|
};
|
|
"google informatiker" = {
|
|
address = "kaenner9@gmail.com";
|
|
userName = "kaenner9@gmail.com";
|
|
realName = "Max Känner";
|
|
flavor = "gmail.com";
|
|
thunderbird = {
|
|
enable = true;
|
|
settings = id: {
|
|
"mail.smtpserver.smtp_${id}.authMethod" = 10;
|
|
"mail.server.server_${id}.authMethod" = 10;
|
|
};
|
|
};
|
|
};
|
|
"uni" = {
|
|
address = "max.kaenner@stud.uni-hannover.de";
|
|
userName = "max.kaenner@stud.uni-hannover.de";
|
|
realName = "Max Känner";
|
|
imap = {
|
|
host = "mail.stud.uni-hannover.de";
|
|
port = 993;
|
|
tls = {
|
|
enable = true;
|
|
useStartTls = false;
|
|
};
|
|
};
|
|
smtp = {
|
|
host = "smtp.uni-hannover.de";
|
|
port = 587;
|
|
tls = {
|
|
enable = true;
|
|
useStartTls = true;
|
|
};
|
|
};
|
|
thunderbird = {
|
|
enable = true;
|
|
settings = id: {
|
|
"mail.smtpserver.smtp_${id}.authMethod" = 10;
|
|
"mail.server.server_${id}.authMethod" = 10;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|