WIP: feat/automated-account-deletion #174

Draft
b12f wants to merge 23 commits from feat/automated-account-deletion into main
3 changed files with 26 additions and 0 deletions
Showing only changes of commit 86c239d44c - Show all commits

View file

@ -88,5 +88,7 @@ in
puppeteer_run('page.locator("button::-p-text(Register)").click()') puppeteer_run('page.locator("button::-p-text(Register)").click()')
puppeteer_run('page.waitForNetworkIdle()') puppeteer_run('page.waitForNetworkIdle()')
client.screenshot("after-register") client.screenshot("after-register")
client.succeed("offlineimap")
''; '';
} }

View file

@ -45,5 +45,25 @@ in
]; ];
}; };
}; };
accounts.email.accounts."test-user@${config.pub-solar-os.networking.domain}" = {
primary = true;
address = "test-user@${config.pub-solar-os.networking.domain}";
userName = "test-user@${config.pub-solar-os.networking.domain}";
passwordCommand = "echo password";
realName = "Test User";
imap = {
host = "mail.${config.pub-solar-os.networking.domain}";
port = 993;
};
smtp = {
host = "mail.${config.pub-solar-os.networking.domain}";
port = 587;
tls.useStartTls = true;
};
getmail.enable = true;
getmail.mailboxes = [ "ALL" ];
msmtp.enable = true;
};
}; };
} }

View file

@ -22,6 +22,10 @@
"hakkonaut@${config.pub-solar-os.networking.domain}" = { "hakkonaut@${config.pub-solar-os.networking.domain}" = {
hashedPasswordFile = "/tmp/emailpw"; hashedPasswordFile = "/tmp/emailpw";
}; };
"test-user@${config.pub-solar-os.networking.domain}" = {
quota = "1G";
hashedPasswordFile = "/tmp/emailpw";
};
}; };
}; };
} }