campaigns: exclude full Yahoo/Verizon-Media domain family from cold email
Yahoo operates a large family of consumer domains (AOL, AT&T, Verizon, Frontier, sbcglobal, bellsouth, etc.) that aggressively defer cold senders with 421 'unexpected volume / user complaints', which poisons our self-hosted sending IP for every other provider. Previously we only excluded aol.com/yahoo.com/ymail.com/rocketmail.com. Centralize the authoritative block list in scripts/_email_exclusions.py and import it from both audience builders so they stay in sync.
This commit is contained in:
parent
4010103531
commit
344300ebd4
3 changed files with 49 additions and 8 deletions
|
|
@ -31,6 +31,8 @@ from typing import Any
|
|||
import psycopg2
|
||||
import psycopg2.extras
|
||||
|
||||
from scripts._email_exclusions import BLOCKED_EMAIL_DOMAINS
|
||||
|
||||
LOG = logging.getLogger("populate_new_carrier_startup_campaign")
|
||||
|
||||
LISTMONK_URL = os.getenv("LISTMONK_URL", "https://lists.performancewest.net").rstrip("/")
|
||||
|
|
@ -39,7 +41,6 @@ LISTMONK_PASS = os.getenv("LISTMONK_PASS", "6X1rKPea61N4rZ1S65Hx5zvqzbCj30F6nvEe
|
|||
LIST_NAME = os.getenv("NEW_CARRIER_LIST_NAME", "FMCSA Trucking - New Carrier Missing Startup Items")
|
||||
DATABASE_URL = os.getenv("DATABASE_URL", "")
|
||||
|
||||
BLOCKED_EMAIL_DOMAINS = {"aol.com", "yahoo.com", "ymail.com", "rocketmail.com"}
|
||||
STARTUP_SERVICE_SLUGS = {
|
||||
"boc3-filing",
|
||||
"ucr-registration",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue