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
While working on PR for mailcatcher the issue / enhancement #25 was seen. That also opens the potential for wrong initialization of SMTP server instances.
if e.g. using 'localhost' and '127.0.01' for host name pattern, MidiSmtpServer will try to instiate twice on same address.
Expected behavior
To prevent that, the given hosts (ips and names) should been resolved to their ip address and then instatiated on the ip addresses.
The text was updated successfully, but these errors were encountered:
I am just before launching release 3 of midi-smtp-server.
This will not be "magically" resolved!
Reason: In many tests and thoughts I did during the last updates, I came to the conclusion that it is very important that the administrator of a running service is aware on the ip-addresses and ports the midi-smtp-server components are listening on.
So doing some magically fixes on wrong defined parameters will not help to make the world better :-) So for that, my highly suggested proposal is to define ip-addresses as ipv4 and ipv6 adresses and not use loose namings to bind services on.
If your server will handle ipv4 and ipv6 network, the "localhost" parameter will bind on both adapters. If you have to define only one or have to be sure that both are available, better use "127.0.0.1, ::1" as parameter.
This is not a bug anymore but wished feature. If you define somewhere same ip-addresses in the end, midi-smtp-server will raise exception like "cannot bind to address:port - already in use"
While working on PR for mailcatcher the issue / enhancement #25 was seen. That also opens the potential for wrong initialization of SMTP server instances.
if e.g. using 'localhost' and '127.0.01' for host name pattern, MidiSmtpServer will try to instiate twice on same address.
Expected behavior
To prevent that, the given hosts (ips and names) should been resolved to their ip address and then instatiated on the ip addresses.
The text was updated successfully, but these errors were encountered: