Project

General

Profile

Tâche #33159

Scénario #33073: Amélioration exim : Authentification sur un relay SMTP + ports pour SMTP sur TLS

Test

Added by Emmanuel GARETTE about 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/03/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

History

#1 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Emmanuel GARETTE

#2 Updated by Emmanuel GARETTE about 2 years ago

Test envoi de mail sur un port différent de 25 :

Pour test on a besoin :

- d'une passerelle sur ACA => aca.scribe 2.8.1
- un serveur pour envoyer des mails depuis ACA => aca.eolebase 2.8.1

Changement de configuration sur aca.eolebase :

- exim_relay_smtp : scribe.ac-test.fr
- tls_smtp : port personnalisé
- exim_relay_port : 32

Forcer exim sur le port 32 sur Scribe :

- dans le fichier /etc/default/exim4, remplacer SMTPLISTENEROPTIONS='' par SMTPLISTENEROPTIONS='-oX 32'
- redémarrer exim
- ajouter la règle iptables : iptables -I eth0-root -p tcp -m tcp --dport 32 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT

Envoyer un mail :

# mail admin@ac-test.fr
Subject: test
.
CC:

Test d'envoi de mail avec passerelle authentifiée

Sur eolebase :

Dans gen_config configurer l'authentification sur le relay dans l'onglet messagerie avec : admin + Eole12345!

Puis :

# MAIL=egarette@cadoles.com
# CreoleSet exim_relay_smtp scribe.ac-test.fr
# CreoleSet system_mail_from admin@ac-test.fr
# CreoleSet system_mail_to $MAIL
# CreoleSet system_mail_from_for_headers oui
# reconfigure
# mail $MAIL
Subject: test
.
CC:
# journalctl -fu exim4
sept. 23 14:46:31 eolebase exim[29287]: 2021-09-23 14:46:31 1mTO7T-0007cN-8Z <= admin@ac-test.fr U=root P=local S=439
sept. 23 14:46:31 eolebase exim[29289]: 2021-09-23 14:46:31 1mTO7T-0007cN-8Z => egarette@cadoles.com R=satellite_route T=remote_smtp H=192.168.0.26 [192.168.0.26] X=TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=no A=login K C="250- 453 byte chunk, total 453\\n250 OK id=1mTO7T-001xn3-HV" 
sept. 23 14:46:31 eolebase exim[29289]: 2021-09-23 14:46:31 1mTO7T-0007cN-8Z Completed

#3 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from En cours to À valider

#4 Updated by Emmanuel GARETTE about 2 years ago

  • Status changed from À valider to En cours
  • Assigned To changed from Emmanuel GARETTE to Matthieu Lamalle

#5 Updated by Matthieu Lamalle about 2 years ago

  • Status changed from En cours to À valider

#6 Updated by Emmanuel GARETTE almost 2 years ago

  • % Done changed from 0 to 100

#7 Updated by Emmanuel GARETTE almost 2 years ago

  • Status changed from À valider to Résolu

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

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Vu

Also available in: Atom PDF