You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now when a new IMAP connection is created, init() is called, however there's no exposed handler for custom WildDuck servers to add a custom handler for onConnect (similar to smtp-server supporting an onConnect handler).
It would be great to have this supported, since you could then block connections programmatically from session.remoteAddress addresses, add global rate limits per IP, and more.
Right now when a new IMAP connection is created,
init()
is called, however there's no exposed handler for custom WildDuck servers to add a custom handler foronConnect
(similar tosmtp-server
supporting anonConnect
handler).It would be great to have this supported, since you could then block connections programmatically from
session.remoteAddress
addresses, add global rate limits per IP, and more.wildduck/imap-core/lib/imap-connection.js
Lines 118 to 122 in 73acc42
https://github.com/nodemailer/smtp-server/blob/ce14fcc60c3144d55c752e64287cb3c1cf1b8108/lib/smtp-connection.js#L178
https://github.com/search?q=repo%3Anodemailer%2Fsmtp-server%20onConnect&type=code
The text was updated successfully, but these errors were encountered: