Project

General

Profile

Tâche #23871

Scénario #23873: Corrections EOLE 2.7.0

AmonEcole 2.7.0 : impossible d'envoyer un mail depuis le maître

Added by Joël Cuissinat almost 6 years ago. Updated almost 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
05/09/2018
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

Du coup, les mails d'ouverture ne sont pas envoyés d'où les tests en rouge :

ERREUR: le repertoire '/home/mail/6a.01' n'existe pas

root@amonecole:~# mail prof@etb3.ac-test.fr 
Subject: test
OK
Cc: send-mail: 451 Temporary local problem - please try later
Can't send mail: sendmail process failed with error code 1

Mouais :

==> /var/log/rsyslog/local/exim/exim.info.log <==
2018-05-09T17:28:05.950089+02:00 reseau exim[15255]: 2018-05-09 17:28:05 1fGR0e-0003y3-UR H=(amonecole.etb3.ac-test.fr) [192.0.2.1] F=<fromuser@ac-test.fr> temporarily rejected after DATA: failed to expand ACL string "${if >{$demime_errorlevel}{2}{1}{0}}": unknown variable name "demime_errorlevel" 
2018-05-09T17:31:19.628343+02:00 reseau exim[16785]: 2018-05-09 17:31:19 1fGR3m-0004Mj-K3 H=(amonecole.etb3.ac-test.fr) [192.0.2.1] F=<fromuser@ac-test.fr> temporarily rejected after DATA: failed to expand ACL string "${if >{$demime_errorlevel}{2}{1}{0}}": unknown variable name "demime_errorlevel" 

appliqué par commit commit:7fbf4555feeed589aca26c8eac9de405540521a3


Related issues

Related to Distribution EOLE - Tâche #23374: Option demime Fermé 03/12/2018

Associated revisions

Revision 7fbf4555 (diff)
Added by Laurent Flori almost 6 years ago

Completely remove demime option and check

ref: ##23374

Revision bbd24b4d (diff)
Added by Joël Cuissinat almost 6 years ago

Use s-nail instead of mailx

Ref: #23871
Ref: #22775

History

#1 Updated by Joël Cuissinat almost 6 years ago

  • Parent task changed from #23742 to #23873

#2 Updated by Joël Cuissinat almost 6 years ago

#3 Updated by Laurent Flori almost 6 years ago

  • Description updated (diff)
  • Assigned To set to Laurent Flori

#4 Updated by Laurent Flori almost 6 years ago

  • Status changed from Nouveau to En cours

#5 Updated by Laurent Flori almost 6 years ago

  • Status changed from En cours to Résolu

#6 Updated by Laurent Flori almost 6 years ago

  • Project changed from Distribution EOLE to eole-exim
  • Description updated (diff)
  • Status changed from Résolu to Nouveau
  • Assigned To deleted (Laurent Flori)

#7 Updated by Joël Cuissinat almost 6 years ago

  • Assigned To set to Laurent Flori

#8 Updated by Laurent Flori almost 6 years ago

  • Project changed from eole-exim to Distribution EOLE
  • Status changed from Nouveau to En cours

#9 Updated by Joël Cuissinat almost 6 years ago

C'est toujours pas bon au niveau de l'envoi des mails d'ouverture : http://jenkins.eole.lan/jenkins/job/2.7.0/job/test-importation-amonecole-2.7.0-amd64/buildTimeTrend

Il manque la commande mailx dans le conteneur mail mais elle pourrait être remplacée par s-nail : eole-common:22cfd683

jojo@jojo-MS-B09611:~/git/scribe-backend (master=)$ rgrep mailx
bin/synchro_aaf:        cmd = ['mailx', '-s', subject, '-r', MAIL_ADMIN, address]
scribe/eoleuser.py:    cmd = ['mailx', '-s', subject, '-r', MAIL_ADMIN, mail]

#10 Updated by Joël Cuissinat almost 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.25

#11 Updated by Fabrice Barconnière almost 6 years ago

  • Description updated (diff)
  • Remaining (hours) changed from 0.25 to 0.0

#12 Updated by Fabrice Barconnière almost 6 years ago

Message envoyé à prof1 OK, réception vérifiée dans Roundcube

root@amonecole:~# mail prof1@etb3.ac-test.fr
Subject: test
OK
Cc:

#13 Updated by Fabrice Barconnière almost 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF