Package: ingo1 Version: 1.2-1 Severity: normal Tags: patch the procmail-filters generated for vacation/out-of-office notifications are faulty: no emails are sent back to the original sender (which makes the entire "vacation"-filter rather pointless).
the relevant upstream bugs (#6509, #7052) have been fixed upstream in the 1.2.1 release. the attached patch (for /usr/share/horde3/ingo/lib/Script/procmail.php) is ripped from the 1.2.1 release (consider it a backport of the bugfix) since xmas is right at hand, this suddenly became rather urgent... fgmasdr IOhannes -- System Information: Debian Release: lenny/sid APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.24-etchnhalf.1-686 (SMP w/2 CPU cores) Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages ingo1 depends on: ii horde3 3.2.2+debian0-1 horde web application framework Versions of packages ingo1 recommends: ii php5-imap 5.2.6.dfsg.1-0.1~lenny1 IMAP module for php5 Versions of packages ingo1 suggests: ii imp4 4.2-3 webmail component for horde framew pn php-net-sieve <none> (no description available) -- no debconf information
--- ingo/lib/Script/procmail.php.00 2008-12-22 10:59:10.000000000 +0100 +++ ingo/lib/Script/procmail.php 2008-12-22 11:30:50.000000000 +0100 @@ -2,7 +2,7 @@ /** * The Ingo_Script_procmail:: class represents a Procmail script generator. * - * $Horde: ingo/lib/Script/procmail.php,v 1.46.10.28 2008/05/05 17:22:21 selsky Exp $ + * $Horde: ingo/lib/Script/procmail.php,v 1.46.10.30 2008/08/18 12:52:54 jan Exp $ * * Copyright 2003-2008 The Horde Project (http://www.horde.org/) * @@ -488,7 +488,8 @@ $this->_action[] = ' :0 Whc: ${VACATION_DIR:-.}/vacation.lock'; if ($timed) { $this->_action[] = ' * ? test $DATE -gt $START && test $END -gt $DATE'; - $this->_action[] = ' :0 Whaf'; + $this->_action[] = ' {'; + $this->_action[] = ' :0 Whc'; } $this->_action[] = ' * ^TO_' . $address; $this->_action[] = ' * !^X-Loop: ' . $address; @@ -521,6 +522,11 @@ $this->_action[] = ' ' . $this->_params['echo'] . ' -e "' . $reason . '" \\'; $this->_action[] = ' ) | $SENDMAIL -f' . $address . ' -oi -t'; $this->_action[] = ''; + $this->_action[] = ' :0'; + $this->_action[] = ' /dev/null'; + if ($timed) { + $this->_action[] = ' }'; + } } } $this->_action[] = '}';