Added a number of small changes that didn't work because of a failed
[attachcheck] / attachcheck
old mode 100644 (file)
new mode 100755 (executable)
index ebcd6be..1c3c6f9
@@ -16,7 +16,7 @@ __author__ = "Benjamin Mako Hill <mako@debian.org>"
 ###########################################
 
 # location of the sendmail binary
 ###########################################
 
 # location of the sendmail binary
-sendmail = "/usr/sbin/sendmail -oi"
+sendmail = "/usr/sbin/sendmail"
 
 # list of mimetype which are, for the sake of this program, not
 # attachments
 
 # list of mimetype which are, for the sake of this program, not
 # attachments
@@ -42,7 +42,7 @@ def send_message():
     global sendmail
     sendmail = sendmail + " " + " ".join( sys.argv[1:] )
    
     global sendmail
     sendmail = sendmail + " " + " ".join( sys.argv[1:] )
    
-    mailpipe = os.popen("%s -t" % sendmail_with_args, 'w')
+    mailpipe = os.popen("%s" % sendmail, 'w')
     mailpipe.write( message_string )
     sys.exit( mailpipe.close() )
 
     mailpipe.write( message_string )
     sys.exit( mailpipe.close() )
 

Benjamin Mako Hill || Want to submit a patch?