mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
20 lines
582 B
JavaScript
20 lines
582 B
JavaScript
var child_process = require('child_process');
|
|
|
|
function getStdout(cmd) {
|
|
var stdout = child_process.execSync(cmd);
|
|
return stdout.toString().trim();
|
|
}
|
|
|
|
exports.host = 'imap.migadu.com';
|
|
exports.port = 993;
|
|
exports.tls = true;
|
|
exports.tlsOptions = {
|
|
rejectUnauthorized: true,
|
|
};
|
|
exports.username = 'functionalhacker@korhonen.cc';
|
|
exports.password = "{{@@ env['PASS_EMAIL_HACKER'] @@}}";
|
|
exports.onNewMail = 'mbsync functionalhacker@korhonen.cc';
|
|
exports.onNewMailPost =
|
|
'~/git/dotfiles/scripts/mail/notify-new-mail.sh functionalhacker@korhonen.cc';
|
|
exports.boxes = ['INBOX'];
|