Bot sign-ups with rotating temp-mail domains (onldm.net -> 10minutemail's SMTP) and nonexistent addresses were bouncing every magic link back into the support inbox and hurting sender reputation. - email_policy.mx_verdict(): resolve the domain's MX (A fallback per RFC 5321) and reject when nothing can receive mail or when the MX target belongs to known disposable-mail infrastructure - catches the rotating front domains the static blocklist can't keep up with. Cached per domain, fails open on resolver trouble. - auth: per-IP rate limit on magic-link requests (bots rotate addresses, not IPs). - blocklist: add onldm.net; pin dnspython (already transitive via email-validator).
12 lines
369 B
Text
12 lines
369 B
Text
# Extra dependencies for cloud (paid / managed-keys) mode ONLY.
|
|
# Self-hosters running BYOK do NOT need these — see requirements.txt.
|
|
# Installed on top of requirements.txt when BILLING_ENABLED is used.
|
|
sqlalchemy[asyncio]==2.0.36
|
|
asyncpg==0.30.0
|
|
alembic==1.14.0
|
|
stripe==11.3.0
|
|
authlib==1.3.2
|
|
itsdangerous==2.2.0
|
|
PyJWT==2.10.1
|
|
email-validator==2.2.0
|
|
dnspython==2.7.0
|