Tâche #10099
Distribution EOLE - Scénario #12978: Assistance aux utilisateurs (39-41)
Les aliases sympa ne sont pas contraints aux domaines locaux
Status:
Fermé
Priority:
Haut
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Pour reproduire :
- avoir une adresse mail externe
quelquechose@un_domaine_externe
- avoir une liste sympa
quelquechose@domaine_messagerie_etab
- avoir une liste sympa
autrechose@domaine_messagerie_etab
- inscrire
quelquechose@un_domaine_externe
à la listeautrechose@domaine_messagerie_etab
- envoyer un message à la liste
quelquechose@domaine_messagerie_etab
Exim va tenter d’envoyer le message à la liste autrechose@domaine_messagerie_etab
.
Le problème vient du routeur sympa (source:exim4/eole.d/router/sympa.conf#326ec02) qui ne restreint pas la recherche des alias aux domaines des listes.
Il faut ajouter une condition:
--- sympa.conf.orig 2014-12-17 15:19:45.696947810 +0100 +++ sympa.conf 2014-12-17 15:07:11.076062231 +0100 @@ -1,5 +1,6 @@ sympa_aliases: debug_print = "R: sympa_aliases for $local_part@$domain" + domains = +local_domains driver = redirect allow_defer data = ${lookup{$local_part}lsearch{SYMPA_ALIASES}}
Related issues
Associated revisions
Vérifier le domaine des alias sympa
Si un mail sort avec une partie locale (avant @) du nom d’une liste,
alors exim va tenter de poster à la liste.
Ref: #10099
History
#1 Updated by Daniel Dehennin over 5 years ago
- Estimated time set to 1.00 h
- Parent task set to #12978
Problématique sur platon.
#2 Updated by Daniel Dehennin over 5 years ago
- Assigned To set to Daniel Dehennin
- Remaining (hours) set to 1.0
- Distribution changed from EOLE 2.4 to EOLE 2.5
#3 Updated by Daniel Dehennin over 5 years ago
- Description updated (diff)
#4 Updated by Daniel Dehennin over 5 years ago
- Status changed from Nouveau to En cours
- % Done changed from 0 to 100
Intégration du patch
#5 Updated by Daniel Dehennin over 5 years ago
- Remaining (hours) changed from 1.0 to 0.0
#6 Updated by Scrum Master over 5 years ago
- Status changed from En cours to Résolu
#7 Updated by Joël Cuissinat over 5 years ago
- Status changed from Résolu to Fermé
root@reseau:~# rgrep -A4 sympa_aliases /etc/ /etc/exim4/eole.d/router/sympa.conf:sympa_aliases: /etc/exim4/eole.d/router/sympa.conf: debug_print = "R: sympa_aliases for $local_part@$domain" /etc/exim4/eole.d/router/sympa.conf- domains = +local_domains /etc/exim4/eole.d/router/sympa.conf- driver = redirect /etc/exim4/eole.d/router/sympa.conf- allow_defer /etc/exim4/eole.d/router/sympa.conf- data = ${lookup{$local_part}lsearch{SYMPA_ALIASES}}