[pkg-horde] Bug#509430: Bug#509430: ingo1: bad procmail-recipies generated for vacation

Ola Lundqvist opal at debian.org
Tue Dec 23 11:21:39 UTC 2008


Hi

On Mon, Dec 22, 2008 at 11:43:30AM +0100, IOhannes m zmoelnig wrote:
> 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)

Thanks for the report. Will be corrected when next upstream release is taken for Debian.

> 
> since xmas is right at hand, this suddenly became rather urgent...

:-)

Best regards,

// Ola

> 
> 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_AT at euro, LC_CTYPE=de_AT at 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[] = '}';

> _______________________________________________
> pkg-horde-hackers mailing list
> pkg-horde-hackers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-horde-hackers

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal at debian.org                     Annebergsslingan 37      \
|  ola at inguza.com                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------





More information about the pkg-horde-hackers mailing list