#!/usr/bin/env python
-# (c) 2004 -- Benjamin Mako Hill <mako@bork.hampshire.edu>
+# AttachCheck -- A MTA wrapper to help check outgoing email for
+# forgotten attachments.
-# TODO:
-# * check for an attachment overrides line as an alternative type of option
+# (c) 2005 -- Benjamin Mako Hill <mako@bork.hampshire.edu>
+# Author/Software Homepage at: http://mako.cc
__copyright__ = "Copyright (c) 2004 Benjamin Mako Hill"
__author__ = "Benjamin Mako Hill <mako@debian.org>"
-import re
-
### Configuration Options
###########################################
# list of regular expressions which we will view as being indicative
# of an attachment
-attachment_regexes = [ r'\battach(ed|ment)?\b(?im)' ]
+attachment_regexes = [ r'\battach(ed|ment|ing)?\b(?im)' ]
-### No Need To Edit Below This Line
+### No Edit Below This Line
###########################################
import sys
import os
import email
+import re
## SUB: send message
def send_message():