On Monday, November 10, 2003, at 11:15, you wrote: > I realise that you can use dated addresses for this kind of "register" need, > but do you think these <n> replies addresses could be a new interesting > feature?
You can implement this relatively easily with a unix shell script. I was playing with this idea the other day and came up with a simple one (get it at http://www.thesafebox.com/nonce.sh ). <caveats>I havnt tested this very much, but it works for me. I wouldnt like to say there are no security issues with this either (if someone starts faking up extension addresses to contain nasty stuff). The key it produces it not very random, so if someone could be bothered they could brute force email to you but it wouldnt be worth the hassle. YMMV. :)</caveats> Usage: ./nonce.sh --create [n] : returns an nonce key id to use. Valid n times. If n is not specified, 1 is default ./nonce.sh --check <keyid> : returns 0 is key is invalid, 1 otherwise (note this is the reverse to what a shell script does normally because I want to use this with qmail's bouncesaying. I think it will work in a TMDA pipe as well) You may need to edit the KEYDIR variable in the script, it defaults to "~/.keys" and also the path to your bash executable You must create an address to use it with so for qmail use something like: .qmail-joebloggs: | /var/qmail/bin/bouncesaying "No such user at this address" .qmail-joebloggs-default | /var/qmail/bin/bouncesaying "Some message saying reason for bounce" /path/to/nonce.sh --check $EXT ./Maildir/ You may need to change $EXT to $EXT2 or $EXT3 depending on your installation of qmail. For most people $EXT should work. To test, at a unix command prompt: $ ./nonce.sh --create 1 1068724866.8786 Now email [EMAIL PROTECTED], you should get the email. Email the same user again and you should get a bounce. Mail me (offlist is probably better since this isnt anything to do with TMDA) if you want help. HTH Marcus _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
