Check whitelist/blacklist even when not checking SPF (e.g. trusted relay).

This commit is contained in:
Stuart Gathman
2006-04-06 18:14:17 +00:00
parent f42ddbfb53
commit afd3e0f042
2 changed files with 49 additions and 25 deletions
+15 -2
View File
@@ -1,5 +1,18 @@
For selected domains, check users via CBV before accepting mail. Cache
results.
Auto_whitelist is checked in check_spf(), but check_spf() is not called for
trusted_relay. Hence, mail relayed via trusted relay is not whitelisted.
Should also check auto_whitelist for trusted relay - but need to extract
relay SPF result from Received-SPF or X-Guessed-SPF header field.
FIXME: DSN for Permerror shows 'None' for error.
Another metaDSN format:
Subject: Delivery Report
...
Original-Envelope-ID: SRS0...@...
For selected domains, check rcpts via CBV before accepting mail. Cache
results. This will kick out dictonary attacks against a mail domain
behind a gateway sooner.
Allow blacklisted emails as well as domains in blacklist.log. Use same
data structure as autowhitelist.log. Add emails blacklisted via CBV