Package: exim4-daemon-heavy
Version: 4.96-22
Severity: important

Dear Maintainer,

   Installed Packages list:

 * ii  exim4                  4.96-22      all
 * ii  exim4-base             4.96-22      amd64
 * ii  exim4-config           4.96-22      all
 * ii  exim4-daemon-heavy     4.96-22      amd64

   example calling command :

   exim -be '${reduce {<\n 1.1.1.1\n2.2.2.2\n3.3.3.3\n4.4.4.4\n4.4.4.4\n}{}{${if 
!inlisti{$item}{<\n $value}{$value$item\n}{$value}}}}'

   output is :

     4.4.4.4  ->  last 4.4.4.4 not matched in list and last value is the output

Counter check with exim4 4.94.2 :

   Installed Packages list:

 * ii  exim4                  4.94.2-7     all
 * ii  exim4-base             4.94.2-7     amd64
 * ii  exim4-config           4.94.2-7     all
 * ii  exim4-daemon-heavy     4.94.2-7     amd64

   exim -be '${reduce {<\n 1.1.1.1\n2.2.2.2\n3.3.3.3\n4.4.4.4\n4.4.4.4\n}{}{${if 
!inlisti{$item}{<\n $value}{$value$item\n}{$value}}}}'

   output is :

   1.1.1.1
   2.2.2.2
   3.3.3.3
   4.4.4.4  -> last 4.4.4.4 matches in list and the reduced list is the output  
(double 4.4.4.4 removed)

BR
Sascha

-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable-security'), (900, 
'stable'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages exim4-daemon-heavy depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  exim4-base             4.96-22
ii  libc6                  2.36-9+deb12u1
ii  libcrypt1              1:4.4.33-2
ii  libdb5.3               5.3.28+dfsg2-1
ii  libgnutls-dane0        3.8.1-4+b1
ii  libgnutls30            3.8.1-4+b1
ii  libidn12               1.41-1
ii  libidn2-0              2.3.3-1+b1
ii  libldap-2.5-0          2.5.13+dfsg-5
ii  libmariadb3            1:10.11.3-1
ii  libnsl2                1.3.0-2
ii  libpam0g               1.5.2-6
ii  libpcre2-8-0           10.42-4
ii  libperl5.36            5.36.0-7
ii  libpq5                 15.3-0+deb12u1
ii  libsasl2-2             2.1.28+dfsg1-3
ii  libspf2-2              1.2.10-7.2+b1
ii  libsqlite3-0           3.40.1-2

-- no debconf information

Reply via email to