Ok je commence donc par postfix qui si je ne dis pas de bétise devrait me permettre d’envoyer des mails entre les users du serveur.
Je l’ai donc installé et configurer et j’ai éssayé la commande donné par Arnaud. La commande à été envoyé sous root : [mono]# echo “TEST” | mail -s “Mail de test” matthieu@mondomaine.fr[/mono]
Enusite je vois voir dans le dossier Maildir de Matthieu, mais rien ne s’y trouve.
Les logs me disent la chose suivante :
Aug 16 16:53:44 mail2 postfix/master[30389]: terminating on signal 15
Aug 16 16:53:45 mail2 postfix/master[30727]: daemon started -- version 2.9.6, configuration /etc/postfix
Aug 16 16:53:51 mail2 postfix/pickup[30739]: 84C531001C5: uid=0 from=<root@hogwarts.mondomaine.fr>
Aug 16 16:53:51 mail2 postfix/cleanup[30751]: 84C531001C5: message-id=<20150816145351.84C531001C5@hogwarts.mondomaine.fr>
Aug 16 16:53:51 mail2 postfix/qmgr[30740]: 84C531001C5: from=<root@hogwarts.mondomaine.fr>, size=393, nrcpt=1 (queue active)
Aug 16 16:53:51 mail2 postfix/smtp[30753]: warning: no MX host for mondomaine.fr has a valid address record
Aug 16 16:53:51 mail2 postfix/smtp[30753]: 84C531001C5: to=<matthieu@mondomaine.fr>, relay=none, delay=0.07, delays=0.04/0.02/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=mail2.mondomaine.fr type=AAAA: Host not found)
Aug 16 16:53:51 mail2 postfix/cleanup[30751]: 94F581001C6: message-id=<20150816145351.94F581001C6@hogwarts.mondomaine.fr>
Aug 16 16:53:51 mail2 postfix/bounce[30754]: 84C531001C5: sender non-delivery notification: 94F581001C6
Aug 16 16:53:51 mail2 postfix/qmgr[30740]: 94F581001C6: from=<>, size=2478, nrcpt=1 (queue active)
Aug 16 16:53:51 mail2 postfix/qmgr[30740]: 84C531001C5: removed
Aug 16 16:54:21 mail2 postfix/smtp[30753]: connect to hogwarts.mondomaine.fr[90.33.129.89]:25: Connection timed out
Aug 16 16:54:21 mail2 postfix/smtp[30753]: 94F581001C6: to=<root@hogwarts.mondomaine.fr>, relay=none, delay=30, delays=0/0/30/0, dsn=4.4.1, status=deferred (connect to hogwarts.mondomaine.fr[90.33.129.89]:25: Connection timed out)
Aug 16 16:58:45 mail2 postfix/qmgr[30740]: 906951001C1: from=<>, size=2478, nrcpt=1 (queue active)
Aug 16 16:59:15 mail2 postfix/smtp[30768]: connect to hogwarts.mondomaine.fr[90.33.129.89]:25: Connection timed out
Aug 16 16:59:15 mail2 postfix/smtp[30768]: 906951001C1: to=<root@hogwarts.mondomaine.fr>, relay=none, delay=426, delays=396/0.03/30/0, dsn=4.4.1, status=deferred (connect to hogwarts.mondomaine.fr[90.33.129.89]:25: Connection timed out)
J’ai alors pensé à un problème de conf du coté de chez ovh mais tous m’a l’air bon :
IN MX 20 hogwarts.mondomaine.fr
hogwarts IN A XX.XX.XX.XX
Quelqu’un a une idée?