X-Git-Url: https://projects.mako.cc/source/attachcheck/blobdiff_plain/23604a138fba0b335152f5fed4c675fac58b0bfc..db8872f0770b6402c27fd2d4e9c7e74b09ee4cd9:/attachcheck diff --git a/attachcheck b/attachcheck old mode 100644 new mode 100755 index ebcd6be..1c3c6f9 --- a/attachcheck +++ b/attachcheck @@ -16,7 +16,7 @@ __author__ = "Benjamin Mako Hill " ########################################### # 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 @@ -42,7 +42,7 @@ def send_message(): 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() )