mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-04 07:02:45 +08:00
Allow setting custom SSL certififcates for IMAP server
This commit is contained in:
parent
64bc5fc876
commit
4194df97f7
1 changed files with 1 additions and 1 deletions
2
imap.js
2
imap.js
|
@ -35,7 +35,7 @@ if (config.imap.cert) {
|
||||||
serverOptions.cert = fs.readFileSync(config.imap.cert);
|
serverOptions.cert = fs.readFileSync(config.imap.cert);
|
||||||
}
|
}
|
||||||
|
|
||||||
let server = new IMAPServer();
|
let server = new IMAPServer(serverOptions);
|
||||||
|
|
||||||
let database;
|
let database;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue