Package: libphp-phpmailer Version: 5.1-1 Severity: normal Tags: patch Hi,
I'm the maintainer of the mahara package and while I'd like to use the libphp-phpmailer package instead of the bundled version of phpmailer, there is a patch that is missing upstream. I have attached it to this email in case you want to add it to the package in time for squeeze. Due to a bad assumption about the value of 'safe_mode', the envelope sender for emails is wrong on Debian. This bug was reported upstream: http://sourceforge.net/tracker/index.php?func=detail&aid=2991547&group_id=26031&atid=385707 and there is another patch here: http://mantis.phplist.com/view.php?id=12625 Cheers, Francois -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.33.5-grsec (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libphp-phpmailer depends on: ii libapache2-mod-php5 5.3.2-1 server-side, HTML-embedded scripti ii php5 5.3.2-1 server-side, HTML-embedded scripti ii php5-cli 5.3.2-1 command-line interpreter for the p libphp-phpmailer recommends no packages. Versions of packages libphp-phpmailer suggests: ii postfix [mail-transport-agent 2.7.1-1 High-performance mail transport ag -- no debconf information
--- a/htdocs/lib/phpmailer/class.phpmailer.php +++ b/htdocs/lib/phpmailer/class.phpmailer.php @@ -649,7 +649,7 @@ class PHPMailer { $to = implode(', ', $toArr); $params = sprintf("-oi -f %s", $this->Sender); - if ($this->Sender != '' && strlen(ini_get('safe_mode'))< 1) { + if ($this->Sender != '' && ini_get('safe_mode')< 1) { $old_from = ini_get('sendmail_from'); ini_set('sendmail_from', $this->Sender); if ($this->SingleTo === true && count($toArr) > 1) {