music, media, systems, performance, installation
[ start | index | login ]

Running TMDA

Created by nick. Last edited by nick, 6 years and 154 days ago. Viewed 1,477 times. #1
[edit] [rdf]
labels
attachments
We install as per documentation, building and running RPM's (as root):

rpmbuild -tb --nodeps tmda-1.0.tgz
rpm -Uvh /usr/src/RPM/RPMS/noarch/tmda-1.0-1.noarch.rpm

(With appropriate version number and source RPM path).

Run tmda-keygen (as the user requiring the TMDA service), create and protect ~/.tmda/crypt_key (perms 600).

Create ~/.qmail-tmda, containing

|preline /usr/bin/tmda-filter
./Maildir/

and symlink .qmail-tmda-default to this. So: we accept (and process) any mail to an address <user>-tmda and <user>-tmda-*.

(Modify the second line to taste, if delivery is to other than a maildir.)

Mail to be challenged (from procmailrc) should be routed to the address <user>-tmda.

In our procmailrc, we replace Reply-To with the (old) 'From ' before forwarding (otherwise the forwarding causes us to receive our own challenges!). Note: the "CHALLENGE ?? 1" part is the test for suspect (spam) mail.

:0
* CHALLENGE ?? 1
{
	# SpamAssassin seems to lose Return-Path:, so we use envelope:

SENDER=`formail -x 'From ' | sed -e 's/ .*//'`

# Since we're about to forward, make sure challenges go the # the original (envelope) sender, not me!

:0 f | formail -i "Return-Path: <$SENDER>"

# Forward:

:0 !nick-tmda }

Auto-whitelisting: ~/.tmdarc contains

CONFIRM_APPEND = os.path.expanduser("..../auto-whitelist")

~/.tmda/filters/incoming contains

from-file ..../auto-whitelist accept
to *@cassiel.com hold

(We are holding, rather than challenging.)

Daily interrogation of the pending list: our crontab looks like

0 4 * * *		tmda-pending -C -b -s
Please login to post a comment.

Logged in Users: (0)
… and a Guest.



Contact: Nick Rothwell

Powered by SnipSnap 1.0b3-uttoxeter

Future Dates

This is an archive page; the latest information is >>here.

Recent Work

mmb-150-90

>>Monomatic's >>Modular Music Box, >>Kinetica Art Fair

counterpoint-150-90

Shobana Jeyasingh: Counterpoint [2010]

moon-150-90

Projects/The Moon [2010]

cla-150-90

Wayne McGregor|Random Dance: CLA

peal-150-90

PEAL [2009-2010]

xenakis-150-90

Xenakis Pavilion [2010]

troop-150-90

Troop

fumi-150-90

The T. Parkers

carlee-150-90

Quartet

» Performed Music » Media Technology
  • surroundAV [2004-2005]
  • Audio Impressions
  • Sonic Postcards
  • Aylogence Sound Curtain
» Older Performance Works

Resources

» Gearhead

» Tech Notes

» Asides

Other resources

Contact

Nick Rothwell, nick@cassiel.com

snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt