
Cutting Edge Spam Elimination
Anticipated Sender - Implementation Guide for Web Developers
Related Documents:
Anticipated Sender Overview
Anticipated Sender Implementation Guide for Spam Filter Developers
SpamButcher is publishing the Anticipated Sender standard for use by webmasters, legitimate commercial email senders and spam filter developers without charge.
Link Presentation
Anticipated Sender links may be presented to the user at any point it is desired to add an email address to the known senders list of their spam filter.

It should be indicated to the user either in or around the link that it requires Anticipated Sender support in order to function.
File Format
Example Anticipated Sender File
The address entry may either be a valid email address or a domain name. If a domain name is entered, all email messages from that domain will be allowed to bypass filtering.
MIME Type and File Extension
MIME Type: application/x-anticipatedsender
File Extension: acn
MIME types allow web servers to define the nature of the file being passed to the web browser. The web browser then uses local configuration information to determine how to process the file.
In the case Anticipated Sender files, the locally installed spam filter application is responsible for parsing the file.
MIME types are commonly associated with file extensions in order to help web servers determine the correct type for a given file. Server-side scripting languages such as PHP or ASP may also send MIME information back to the web browser independent of file extension.
In order to assure Anticipated Sender files are handled correctly, they must be passed to the user's web browser as having a MIME type of application/x-anticipatedsender.
There are two primary ways of accomplishing this.
Option 1 - Configure your Server with the Anticipated Sender MIME Type
If your web server is configured so that all ACN files are mapped to the application/x-anticipatedsender MIME type, any file with an ACN extension will be processed as an Anticipated Sender file by the user's web browser.
For Apache-based web servers, the MIME type may be added by updating the .htaccess file with the following content:
This Microsoft KnowledgeBase article contains information on adding MIME types to Internet Information Server (IIS).
Option 2 - Server Side Scripting in ASP or PHP
By using a server-side script, it's possible to send an Anticipated Sender file to the user with MIME type information without requiring any server-side configuration.
Example Anticipated Sender PHP Script
Example Anticipated Sender ASP Script
Testing Your Link
In order to test your Anticipated Sender link, you'll need to download and install a spam filter application that supports Anticipated Sender such as SpamButcher.
|