Mark, Sounds like a great idea for protecting your son. As for generating a dated address that would go to you, I'd suggest setting your son's crypt key to be the same as yours, then in his ~/.tmda/config file set the CONFIRM_ADDRESS variable to your email address and set DATED_TEMPLATE_VARS = 1
Once you've done those to things you will be able to add custom bounce and confirmation messages to your son's ~/.tmda/templates directory that include a Reply-To.US-ASCII: header with a dated_recipient_address like this: ===[begin ~/.tmda/templates/bounce.txt]=== From.US-ASCII: "%(FULLNAME)s" <%(recipient_address)s> Subject.US-ASCII: RE: %(subject)s Reply-To.US-ASCII: %(dated_recipient_address)s BodyCharset: US-ASCII This message was created automatically by mail delivery software (TMDA). Your message attached below could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: <%(recipient_address)s>: %(bounce_text)s ===[end ~/.tmda/templates/bounce.txt]=== I'm not 100% certain that the dated_recipient_address will be based on the setting of the CONFIRM_ADDRESS variable, so it would need some testing. As an alternative to bouncing the email you could change the confirm_request.txt template as follows: ===[begin ~/.tmda/templates/confirm_request.txt]=== From.US-ASCII: "%(FULLNAME)s" <%(recipient_address)s> Subject.US-ASCII: RE: %(subject)s Reply-To.US-ASCII: %(dated_recipient_address)s BodyCharset: US-ASCII This email account only accepts email from known addresses. Since your address is not known, your email has been deleted. If you believe this to be an error, please send email to [EMAIL PROTECTED] ===[end ~/.tmda/templates/confirm_request.txt]=== > Hi, > > I'd like to give my 6 year old son an email address. He wants to > send email to his grandma and some of his friends who have email. > > However, I'm *very* concerned with the incredible amount of CRAP > that he might receive. So I'm planning on using an extremely tight > TMDA configuration in order to keep crap out. > > My plan is to have an incoming filter with only one rule: > > from-file ~/.tmda/lists/white.manual > > That file would *ONLY* be edited manually by me or my wife. > Additionally, I'd set: > > ACTION_INCOMING = bounce > BOUNCE_TEXT_FILTER_INCOMING = "This email account only > accepts email from known addresses. Since your > address is not known, your email has been deleted. > > If you believe this to be an error, please send > email to [EMAIL PROTECTED]" > > What I'd *like* to do is add one of MY dated addresses to the bounce > similar to using DATED_TEMPLATE_VARS. This is challenging because > in order to do that he'd have to have read access to my crypt_key. > I'm thinking of setting up a cron job to create one of my 24 hour > dated addresses and store it in a file that is world readable and > then use that. > > Does anyone have any better suggestions? Any other tips on how I > might make my son's email experiece positive? > > Thanks, > - Mark > _____________________________________________ > tmda-users mailing list ([EMAIL PROTECTED]) > http://tmda.net/lists/listinfo/tmda-users > _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
