Allow setting custom SSL certififcates for IMAP server

This commit is contained in:
Andris Reinman 2017-03-11 18:31:33 +02:00
parent 64bc5fc876
commit 4194df97f7

View file

@ -35,7 +35,7 @@ if (config.imap.cert) {
serverOptions.cert = fs.readFileSync(config.imap.cert);
}
let server = new IMAPServer();
let server = new IMAPServer(serverOptions);
let database;