]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- use the -i option when invoking sendmail
authorMariusz Mazur <mmazur@pld-linux.org>
Wed, 28 Sep 2005 15:48:35 +0000 (15:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/mailer.py -> 1.18
    PLD_Builder/wrap.py -> 1.8

PLD_Builder/mailer.py
PLD_Builder/wrap.py

index 31584b055e107b640fbaaa00ead392429b0bdce8..c98e3886e1d53b7c2c16f462163c86c6b55daba2 100644 (file)
@@ -66,7 +66,7 @@ class Message:
         util.sendfile(self.body, f)
 
     def send(self):
-        send_sendmail = "/usr/sbin/sendmail -t -f %s" % config.admin_email
+        send_sendmail = "/usr/sbin/sendmail -i -t -f %s" % config.admin_email
         f = os.popen(send_sendmail, "w")
         self.write_to(f)
         f.close()
index 44992f98a71aceadfec6edfe3af2f6805d720a91..3bfe5cbca25a6d36a67efc9e29bda21dfe0b1236 100644 (file)
@@ -26,7 +26,7 @@ def wrap(main):
         log.alert("during: %s" % status.get())
         
         # don't use mailer.py; it safer this way
-        f = os.popen("/usr/sbin/sendmail -t", "w")
+        f = os.popen("/usr/sbin/sendmail -i -t", "w")
         f.write("""Subject: builder failure
 To: %s
 Cc: %s, %s
This page took 0.0644 seconds and 4 git commands to generate.