$OpenBSD: patch-core_phpmailer_class_phpmailer_php,v 1.1.1.1 2006/10/11 18:28:27 mbalmer Exp $
--- core/phpmailer/class.phpmailer.php.orig	Sat Feb 12 21:03:46 2005
+++ core/phpmailer/class.phpmailer.php	Sun Oct  8 16:36:02 2006
@@ -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);
         }
