scanner / as_email_service

A Django app and smtp relay service for working with 3rd party email services and asimap
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

aiosmtpd inside container getting bridge address for peers #36

Closed scanner closed 11 months ago

scanner commented 1 year ago

When we get the peername for our connections in the aiosmtpd daemon, it is a docker internal ip address (and all connections come from the same ip address.)

This will break the authenticator's blacklist mechanism of black listing ip addresses that frequently produce failed logins. Since every connection is coming from the same internal ip address one client getting black listed will black list everyone.

scanner commented 11 months ago

well, turns out that in our production environment this is NOT happening. This is only happening on our MacOS development environments. So, nothing needs to be done.