diff --git a/imap.js b/imap.js index 0b99d6ea..619e3916 100644 --- a/imap.js +++ b/imap.js @@ -44,9 +44,9 @@ const serverOptions = { ignoreSTARTTLS: config.imap.ignoreSTARTTLS, id: { - name: 'Wild Duck IMAP Server', - version: packageData.version, - vendor: 'Kreata' + name: config.imap.name || 'Wild Duck IMAP Server', + version: config.imap.version || packageData.version, + vendor: config.imap.vendor || 'Kreata' }, logger: { diff --git a/lmtp.js b/lmtp.js index 1b949562..a983e646 100644 --- a/lmtp.js +++ b/lmtp.js @@ -36,7 +36,7 @@ const serverOptions = { name: false, // not required but nice-to-have - banner: 'Welcome to Wild Duck Mail Server', + banner: config.lmtp.banner || 'Welcome to Wild Duck Mail Server', disabledCommands: ['AUTH'],