Package: squirrelmail
Version: 2:1.4.23~svn20120406-2
Severity: normal
Tags: upstream patch


Bug only applies on php7 machines.

Syntax issue in the sendmail delivery module causes the PHP page to error out. 
Here's 
a simple fix.

raven:[~/squirrelmail-1.4.23~svn20120406/class/deliver]->diff -u 
Deliver_SendMail.class.php.orig Deliver_SendMail.class.php

--- Deliver_SendMail.class.php.orig     2017-04-18 11:06:21.003142910 -0400
+++ Deliver_SendMail.class.php  2017-04-18 11:06:58.380995387 -0400
@@ -89,7 +89,7 @@
     * @return void
     * @access public
     */
-    function initStream($message, $sendmail_path, $ignore=0, $ignore='', 
$ignore='', $ignore='', $ignore='', $ignore=false, $ignore='') {
+    function initStream($message, $sendmail_path, $ignore=0, $ignoreA='', 
$ignoreB='', $ignoreC='', $ignoreD='', $ignoreE=false, $ignoreF='') {
         $rfc822_header = $message->rfc822_header;
         $from = $rfc822_header->from[0];
         $envelopefrom = trim($from->mailbox.'@'.$from->host);


-- System Information:
Debian Release: 8.7
  APT prefers proposed-updates
  APT policy: (700, 'proposed-updates'), (700, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-0.bpo.2-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages squirrelmail depends on:
ii  apache2 [httpd]              2.4.10-10+deb8u8
ii  apache2-mpm-prefork [httpd]  2.4.10-10+deb8u8
ii  libapache2-mod-php5          5.6.30+dfsg-0+deb8u1
ii  perl                         5.20.2-3+deb8u6
ii  php5                         5.6.30+dfsg-0+deb8u1
ii  php5-cgi                     5.6.30+dfsg-0+deb8u1

Versions of packages squirrelmail recommends:
ii  aspell [aspell-bin]       0.60.7~20110707-1.3
ii  ispell                    3.3.02-6
ii  php5-common [php5-mhash]  5.6.30+dfsg-0+deb8u1
pn  squirrelmail-locales      <none>
pn  squirrelmail-viewashtml   <none>

Versions of packages squirrelmail suggests:
ii  dovecot-imapd [imap-server]  1:2.2.13-12~deb8u1
pn  imapproxy                    <none>
ii  php-pear                     5.6.30+dfsg-0+deb8u1
pn  php5-ldap                    <none>
pn  php5-recode                  <none>
pn  squirrelmail-decode          <none>

Reply via email to