maildev / maildev

:mailbox: SMTP Server + Web Interface for viewing and testing emails during development.
https://maildev.github.io/maildev/
Other
5.19k stars 509 forks source link

Too many connections to the SMTP relay server #128

Open arnou opened 8 years ago

arnou commented 8 years ago

When I activate the automatic relay with deny: * , connections are still open to the relay server, without being closed.

An exception is then returned by the remote server, and causes a fatal error maildev

djfarrelly commented 8 years ago

Hi @arnou, I'm curious on this setup, are you enabling automatic relay then denying all emails from automatically relaying? If you'd like to prevent it from connecting to the relay server could you disable automatic relay?

arnou commented 8 years ago

Hi @djfarrelly , I have a little too simplified my example : I want to ban the automatic relay for all recipients, but one or two

[ { "deny": "*" }, { "allow": "user1@domain1.com" }, { "allow": "user2@domain2.com" } ]

oktapodia commented 5 years ago

Can you please create a little example to easily reproduce the problem?