Mercurial > dnsbl
diff xml/dnsbl.in @ 92:505e77188317
optimize verification step, cleanup documentation
author | carl |
---|---|
date | Wed, 21 Sep 2005 08:00:08 -0700 |
parents | 962a1f8f1d9f |
children | e107ade3b1c0 |
line wrap: on
line diff
--- a/xml/dnsbl.in Sun Sep 18 10:46:31 2005 -0700 +++ b/xml/dnsbl.in Wed Sep 21 08:00:08 2005 -0700 @@ -2,7 +2,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> -<title>DNSBL Sendmail milter - Version 5.4</title> +<title>DNSBL Sendmail milter - Version 5.5</title> </head> <center>Introduction</center> @@ -19,6 +19,13 @@ per-recipient basis, so that fred@example.com could use SPEWS and the SBL, where all other users @example.com use only the SBL. +<p>This milter can also verify the envelope from/recipient pairs with +the primary MX server. This allows the backup mail servers to properly +reject mail sent to invalid addresses. Otherwise, the backup mail +servers will accept that mail, and then generate a bounce message when +the message is forwarded to the primary server (and rejected there with +no such user). + <p>This milter will also decode (uuencode, base64, mime, html entity, url encodings) and scan for HTTP and HTTPS URLs and bare hostnames in the body of the mail. If any of those host names have A or NS records @@ -112,14 +119,6 @@ point to a child context. If such an entry is found, we switch to that child filtering context. -<br><br><li>If the filtering context specifies a verification host, and -the envelope to email address is covered by this filtering context, and -the verification host is not our own hostname, we open an smtp -conversation with that verification host. The current envelope from and -recipient to values are passed to that verification host. If we receive -anything other than a 250 response those commands, we reject the current -recipient with "no such user". - <br><br><li>We lookup [1) the full envelope from email address, 2) the domain name part of the envelope from address, 3) the user@ part of the envelope from address] in the filtering context env_from statement. @@ -143,9 +142,18 @@ dns suffix). <br><br><li>If the mail has not been accepted or rejected yet, and the +filtering context specifies a verification host, and the envelope to +email address is covered by this filtering context, and the verification +host is not our own hostname, we open an smtp conversation with that +verification host. The current envelope from and recipient to values +are passed to that verification host. If we receive a 5xy response +those commands, we reject the current recipient with "no such user". + +<br><br><li>If the mail has not been accepted or rejected yet, and the filtering context enables content filtering, and this is the first such -recipient in this smtp transaction, we set the content filtering parameters -from this context, and enable content filtering for this body. +recipient in this smtp transaction, we set the content filtering +parameters from this context, and enable content filtering for the body +of this message. </ol>