$OpenBSD: patch-core_phpmailer_class_phpmailer_php,v 1.2 2008/11/16 10:41:37 mbalmer Exp $
--- core/phpmailer/class.phpmailer.php.orig	Sun Nov 27 01:46:19 2005
+++ core/phpmailer/class.phpmailer.php	Sun Nov 16 11:32:15 2008
@@ -390,9 +390,9 @@ class PHPMailer
      */
     function SendmailSend($header, $body) {
         if ($this->Sender != "")
-            $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);
+            $sendmail = sprintf("%s -f%s -t", $this->Sendmail, $this->Sender);
         else
-            $sendmail = sprintf("%s -oi -t", $this->Sendmail);
+            $sendmail = sprintf("%s -t", $this->Sendmail);
 
         if(!@$mail = popen($sendmail, "w"))
         {
@@ -430,7 +430,7 @@ class PHPMailer
         {
             $old_from = ini_get("sendmail_from");
             ini_set("sendmail_from", $this->Sender);
-            $params = sprintf("-oi -f %s", $this->Sender);
+            $params = sprintf("-f %s", $this->Sender);
             $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, 
                         $header, $params);
         }
@@ -1496,4 +1496,4 @@ class PHPMailer
     }
 }
 
-?>
\ No newline at end of file
+?>
