Allow modifying banners

This commit is contained in:
Andris Reinman 2017-07-27 11:47:32 +03:00
parent 817169062d
commit 4de20bfa0d
2 changed files with 4 additions and 4 deletions

View file

@ -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: {

View file

@ -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'],