T M D A |
|
||||||||||||||||||||||||||||||||||||||||||||
|
TMDA Client ConfigurationIn addition to filtering your incoming e-mail, TMDA can also work with your mail client to modify your outgoing address with unique, cryptographically enhanced (tagged) e-mail addresses. This is done to compliment the filter's "whitelist" functionality.Dated Addresses
This particular address expires on Sun, May 6 00:25:08 2001 UTC, which is exactly 5 days after it was generated. TMDA time intervals can be set in years, months, weeks, days, hours, minutes, and seconds. Once a dated address expires, messages sent there must go through the confirmation process. Use of strong cryptography insures that the timestamp can't be modified.jason-dated-989108708.a17f80@mastaler.com Sender Addresses
This particular sender address will only accept messages from president@whitehouse.gov. Other messages must go through the confirmation process.jason-sender-a751af@mastaler.com Sender addresses are often used to subscribe to mailing lists. This way, you don't have to worry that the subscription list might get harvested by spammers since only the mailing list software will be able to send messages there. The address to use can be found in the Return-Path header of a mailing list message (e.g, subscribe to the Python list with a sender address based upon python-list-admin@python.org). Keyword Addresses
Keyword addresses are appropriate when you need to hand-out a working address, but you don't want its use limited to a particular sender or time frame. They are particularily useful in cases where you are not be able to predict the sender address such as with automated mailings (your ISP, your Amazon.COM account, etc.).jason-promos.8d06eu@mastaler.com The caveat of course is that since keyword addresses are essentially keys to your inbox, you must manually intervene if the address starts getting spammed. An easy way to do this is to add the harvested keyword address to your ~/.tmda/lists/revoked file. The utilities tmda-dated-address, tmda-sender-address and tmda-keyword-address are included to generate the various types of addresses from the command line. Run the utility with the -h flag to get usage information (e.g, tmda-dated-address -h ).
TMDA determines how to tag your outgoing mail by scanning though a set of text files in ~/.tmda/lists/. Here are the available list files: See the "User configurable settings" section in Defaults.py for more information on these files.bare (don't tag) dated (tag with a dated address) sender (tag with a sender address) keyword (tag with a keyword address) exp (use an explicit address) ext (add an extension to the address) Similar to the whitelist, the list files contain e-mail addresses and/or wildcard patterns, one per line. See the FAQ for details on matching syntax. A match in one of the list files determines the tag. For example, if you@domain.dom is listed in sender, mail sent there will be tagged with a sender address. If the destination address isn't listed in any of the files, or if the list files don't exist, the message will be tagged with a dated address. You can change this default by defining COOKIE_TYPE in your .tmdarc You can override any declarations you might have in your list files by adding this header when composing a message. TMDA will look for it first when determining how to tag the message. The header will be removed just before the message is sent. Here is how it can be used:
Make sure that your .tmdarc contains the same CRYPT_KEY on both your mail server and your mail client -- they must match. NOTE: The bare COOKIE_TYPE is especially useful when maintaining a "whitelist" of trusted contacts to filter your incoming mail against as described in the above sections. By default, addresses matching your WHITELIST will receive untagged (no cookie added) messages. This way your trusted contacts will not even be aware of TMDA. Set WHITELIST_TO_BARE = 0 in your .tmdarc to reverse this behavior. To have TMDA read your configuration each time you send outgoing mail and modify your sender address accordingly, you must arrange for your MUA to call the included sendmail compatibility wrapper (tmda-sendmail). Here is how to accomplish this for a few popular MUAs. Let me know if you are using TMDA with a MUA not listed here.
If you still read USENET (a notorious source of SPAM), you might find it useful to post using a dated address. Simply have your newsreader call tmda-dated-address and use the result as your posting address. For Gnus, this could be accomplished with the following addition to your .gnus file: (defun tmda-dated-address () (shell-command-to-string "/path/to/tmda/bin/tmda-dated-address")) (setq gnus-posting-styles (message-this-is-news (address tmda-dated-address))) |