Project

General

Profile

Tâche #33974

Scénario #33903: EOLE 2.9 : messages suspects dans posttemplate/03-mail

Étude du problème

Added by Benjamin Bohard over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/28/2022
Due date:
% Done:

100%

Remaining (hours):
0.0

History

#1 Updated by Benjamin Bohard over 1 year ago

  • Status changed from Nouveau to En cours

#2 Updated by Benjamin Bohard over 1 year ago

Les messages d’erreur sont dûs à une erreur de syntaxe qui a déjà été signalé upstream et corrigé : https://bugs.exim.org/show_bug.cgi?id=2821

Sources consultées :
- https://git.exim.org/exim.git
- http://deb.debian.org/debian/pool/main/e/exim4/exim4_4.95-4.debian.tar.xz

La version empaquetée dans Ubuntu (merge depuis Debian unstable) ne suis pas exactement l’état du dépôt upstream : les modifications sont intégrées sous forme de patchs).
L’un des patchs (75_35-Exiqgrep-check-arg-parsing.-Bug-2821.patch) reprend le commit qui introduit l’erreur. Ce patch n’a pas été mis à jour avec la correction qui a suivi upstream.

Il faut donc signaler à Debian (via Ubuntu ?) que le patch doit être mis à jour.

#3 Updated by Benjamin Bohard over 1 year ago

Version 4.95-4ubuntu1 uses patch 75_35-Exiqgrep-check-arg-parsing.-Bug-2821.patch to fix bug 2821.
This patch reflects upstream commit df618101a5ea15dc90c4a2968798ef2be9dba16f.
This upstream commit introduced a syntax error and have been fixed by a later commit 42ed39da5af85552a35626348bb77e5576e18aa4.

The patch 75_35-Exiqgrep-check-arg-parsing.-Bug-2821.patch should be amended to reflect this late fix in order to avoid syntax error with command exiqgrep.

#4 Updated by Benjamin Bohard over 1 year ago

  • Status changed from En cours to À valider

#5 Updated by Benjamin Bohard over 1 year ago

Après mise à jour pour installation de la correction, il s’avère que la commande exiqgrep a changé de comportement :

Sur un eolebase 2.8.1 :

# exiqgrep -i

Sur un eolebase 2.9.0 :

# exiqgrep -i
Exim message queue display utility.

    -h        This help message.
    -C        Specify which exim.conf to use.
    -E        Specify exim binary to use.

Selection criteria:
    -f <regexp>    Match sender address sender (field is "< >" wrapped)
    -r <regexp>    Match recipient address
    -s <regexp>    Match against the size field from long output
    -y <seconds>    Message younger than
    -o <seconds>    Message older than
    -z        Frozen messages only (exclude non-frozen)
    -x        Non-frozen messages only (exclude frozen)
    -G <queuename>    Match in given queue only

[ NB: for regexps, provided string sits in /<string>/ ]

Display options:
    -c        Display match count
    -l        Long Format [Default]
    -i        Message IDs only
    -b        Brief Format
    -R        Reverse order
    -a        All recipients (including delivered)

#6 Updated by Ludwig Seys over 1 year ago

  • Status changed from À valider to Résolu

#7 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Also available in: Atom PDF