2022-09-16 20:01:31 +03:00
|
|
|
var child_process = require('child_process');
|
2020-11-25 10:06:19 +02:00
|
|
|
|
|
|
|
function getStdout(cmd) {
|
|
|
|
var stdout = child_process.execSync(cmd);
|
|
|
|
return stdout.toString().trim();
|
|
|
|
}
|
|
|
|
|
2022-09-16 20:01:31 +03:00
|
|
|
exports.host = 'imap.migadu.com';
|
2020-11-25 10:06:19 +02:00
|
|
|
exports.port = 993;
|
|
|
|
exports.tls = true;
|
|
|
|
exports.tlsOptions = {
|
|
|
|
rejectUnauthorized: true,
|
|
|
|
};
|
2022-09-16 20:01:31 +03:00
|
|
|
exports.username = 'functionalhacker@korhonen.cc';
|
2020-11-25 10:06:19 +02:00
|
|
|
exports.password = "{{@@ env['PASS_EMAIL_HACKER'] @@}}";
|
2022-09-16 20:01:31 +03:00
|
|
|
exports.onNewMail = 'mbsync functionalhacker@korhonen.cc';
|
2020-11-25 10:06:19 +02:00
|
|
|
exports.onNewMailPost =
|
2022-09-16 20:01:31 +03:00
|
|
|
'~/git/dotfiles/scripts/mail/notify-new-mail.sh functionalhacker@korhonen.cc';
|
|
|
|
exports.boxes = ['INBOX'];
|