Check for large e-mails and notification system

ForumMsgSizeMatcher checks all outgoing and incoming mail for the size of their messages. The matcher uses the maximum size that is prescribed in the forum settings. When a mail is found that is larger than this maximum the ForumNotifyMailet is used to send a notification message to the sender (user in the forum) and also to the mail forum champions.Future work need to improve this notification system as it currently only handles one situation, and it is a hard coded message. The notification system must also handle replies to this notification and the sender of the notification should be stated. Should it be:

  • the administrator in the forum?
  • the administrator of the James mail server?
  • the alias mail address?