TODO:

- Expandable variables in the templates (sender, recipient, etc).

- X-Ask-Info header should be added to the discarded messages. This would allow
  procmail users to filter the message using this field.

- Maildrop support (there seems to be some error code problems)

- The current (experimental) way of adding the key to the confirmation presents
  problems, since it exposes the mailkey. An option would be to search for
  the confirmation string in the returned message (from mailerdaemon or other
  autoresponder) and let it IN if it matches one of ours (but is not on the
  subject)

- Let in everything that has "References: .*[our_domain_name]" (optional)

- When a message comes from us and we are in the Bcc, and the message
  contains our mailkey, add all recipients (to/bcc) to the whitelist
  (unless, of course, they're already ignored or blacklisted). Could this
  be used as a way to queue and "Message-IDs" and automatically let in
  everything in reply to what we sent?

- Whitelist/blacklist on regexps.

- Option to a 'log directory' instead of logfile. This will automatically
  rotate the logs on a daily basis.

- Messages to mailer-daemon that do not contain our key should optionally
  go to a different mailbox (Junk?)

- Add "Relaxed Mode" that will let in everything that looks like a reply
  (headers "In-Reply-To", "References" or "Message-ID")

- Add more robust exception handling for the locking function.

- Add loglevel and logfile to the configuration file

- Configurable subject line for the confirmation. We need to specify somewhere
  else in the email that this is a confirmation message or else ASK won't be
  able to detect a confirmation coming from another user's ASK.

- Option to send message back to originator when he's included in the whitelist.

- "Time based" whitelist, allowing the owner to remotely (via mail) specify an
  amount of time where all messages should be allowed (useful for the cases where
  you know a certain email will be received, but no info is available about the
  sender's address)

- Mailing list messages should be optionally sent to a different mailbox than Junk

- X-AskVersion should also be present in the body of the confirmation mail

- sendmail wrapper that automatically adds the destination to whitelist.txt

$Id: TODO,v 1.55 2002/05/23 18:27:52 paganini Exp $
