Bug#524757: maildrop command substitution does not work in lenny

2009-04-19 Thread Reinhold Fischer
Package: maildrop
Version: 2.0.4-3
Severity: grave
Justification: renders package unusable

After upgrade from etch to lenny maildrop does not work anymore (filters not 
changed).

Maildrop hangs on comman substitutions.

Sample filter:
-- [.mailfilter] --
 1  # maildrop filter file

 2  ## Define commands
 3  MAILDIRMAKE = maildirmake
 4  REFORMAIL = reformail

 5  ## Default maildir directory
 6  DEFAULT = $HOME/Maildir

 7  ## Logfile
 8  logfile $HOME/.mailfilter.log

 9  ## Default maildir directory
10  `test -d $DEFAULT`
11  if ( $RETURNCODE == 1 )
12  {
13`$MAILDIRMAKE $DEFAULT`
14log "Created maildir $DEFAULT"
15  }

16  ## Store the mail in the default folder
17  to $DEFAULT
-- [.mailfilter] --

Sample execution:
$ sudo exim -Mvc 1LvWju-00029v-BX | maildrop .mailfilter-test
.mailfilter-test(42): MAILDIRMAKE="maildirmake"
.mailfilter-test(43): REFORMAIL="reformail"
.mailfilter-test(47): DEFAULT="/home/reini/Maildir"
maildrop: Filtering through `test -d $DEFAULT`
.mailfilter-test(49): Evaluating IF condition.
.mailfilter-test(49): Operation on: 0 and 1 - equal, result is 0
.mailfilter-test(49): IF evaluated, result=0
maildrop: Timeout quota exceeded.


I installed and pinned maildrop 2.0.2 from etch and all works fine as before.
# LANG=C apt-cache policy maildrop
maildrop:
  Installed: 2.0.2-11
  Candidate: 2.0.2-11
  Package pin: 2.0.2-11
  Version table:
 2.0.4-3 1001
500 http://ftp.at.debian.org lenny/main Packages
 *** 2.0.2-11 1001
100 /var/lib/dpkg/status


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: arm (armv5tel)

Kernel: Linux 2.6.26-2-ixp4xx
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages maildrop depends on:
ii  courier-authlib  0.61.0-1+lenny1 Courier authentication library
ii  exim44.69-9  metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-heavy [mail 4.69-9  Exim MTA (v4) daemon with extended
ii  libc62.7-18  GNU C Library: Shared libraries
ii  libgcc1  1:4.3.2-1.1 GCC support library
ii  libgdbm3 1.8.3-3 GNU dbm database routines (runtime
ii  libpcre3 7.6-2.1 Perl 5 Compatible Regular Expressi
ii  libstdc++6   4.3.2-1.1   The GNU Standard C++ Library v3

maildrop recommends no packages.

maildrop suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#311637: qmail (with qmail-scanner) does not restart if LANG/LC_* is set

2005-06-02 Thread Reinhold Fischer
Package: qmail
Version: 1.03-38
Severity: critical
Tags: l10n patch
Justification: breaks unrelated software


I have configured qmail to use qmail-scanner 1.25.

This starts without problems on boot, but if I do a "/etc/init.d/qmail
restart", I get the following errors in /var/log/mail.log and mails
not scanned any more:

Jun  1 15:19:42 myhost qmail: 1117631982.448929 Can't load 
'/usr/lib/perl/5.8/auto/DB_File/DB_File.so' for module DB_File: 
libdb-4.2.so: failed to map segment from sharedobject: Cannot allocate 
memory at /usr/lib/perl/5.8/XSLoader.pm line 68.

Jun  1 15:19:42 myhost qmail: 1117631982.449495  
at /usr/lib/perl/5.8/DB_File.pm line 251

Jun  1 15:19:42 myhost qmail: 1117631982.449532 Compilation failed in 
require at /var/qmail/bin/qmail-scanner-queue.pl line 1055.

Jun  1 15:19:42 myhost qmail: 1117631982.449561 BEGIN 
failed--compilation aborted at /var/qmail/bin/qmail-scanner-queue.pl 
line 1055.

I found out, that if I unset LANG and LC_ environment variables, qmail
starts again without problems.

So I put the following line in /etc/init.d/qmail before the "case"
statement:
unset `locale | cut -d= -f1`

With this additional code I can restart qmail without any problems.

On a other server with Woody I did not have this problems.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages qmail depends on:
ii  debconf 1.4.30.13Debian configuration management sy
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libssl0.9.7 0.9.7e-3 SSL shared libraries
ii  netbase 4.21 Basic TCP/IP networking system
ii  perl-modules5.8.4-8  Core Perl modules
ii  procmail3.22-11  Versatile e-mail processor
ii  ucspi-tcp   0.88-9   tools for building TCP client-serv

-- debconf information:
* qmail/qlist:
  qmail/recipientmap:
  qmail/inetd:
  qmail/readme:
  qmail/override:
* qmail/start: yes
* qmail/reboot:
  qmail/userpurge:
* qmail/tcpupdate:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]