mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 02:10:52 +08:00
Allow modifying banners
This commit is contained in:
parent
817169062d
commit
4de20bfa0d
2 changed files with 4 additions and 4 deletions
6
imap.js
6
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: {
|
||||
|
|
2
lmtp.js
2
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'],
|
||||
|
||||
|
|
Loading…
Reference in a new issue