Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 26/09/2006, à 17:16

Jarodd

[serveur mail] Installation ok, mais pas d'envoi

Bonjour,

Je viens de suivre ce tuto : http://doc.ubuntu-fr.org/serveur/mail

Je suis arrivé au bout, je n'ai pas rencontré de difficulté ni d'erreur (ça m'étonne ! big_smile )

Seulement, à la dernière étape, j'ai fait un test d'envoi (commande mail) et pourtant je ne reçois rien... J'ai envoyé le mail test sur ma boite free, et elle fonctionne en réception, a priori c'est l'envoi qui ne fonctionne pas.

Je ne sais pas trop vers où me tourner vu que je n'ai aucune erreur, même pendant l'envoi (j'ai bien les demandes CC, Subject, etc) donc je viens chercher une chtite aide. Merci d'avance smile

Jarodd


Ubuntu 22.04.3 LTS (64 bits)

Hors ligne

#2 Le 26/09/2006, à 18:05

Uggy

Re : [serveur mail] Installation ok, mais pas d'envoi

Jarodd a écrit :

Je ne sais pas trop vers où me tourner vu que je n'ai aucune erreur

Tourne toi vers le fichier de logs du serveur mail (Postfix) -> /var/log/mail.log

Hors ligne

#3 Le 27/09/2006, à 17:36

Jarodd

Re : [serveur mail] Installation ok, mais pas d'envoi

Ok, je colle tout le log (la ligne où figure mon test est la première de 17h07mn 25 sec). J'ai changé volontairement le nom de domaine parce que le site n'est pas fini (sécurisation des accès wink )

solSep 23 18:36:55 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 23 18:37:26 localhost postfix/master[8003]: daemon started -- version 2.2.10, configuration /etc/postfix
Sep 23 21:12:11 localhost authdaemond.plain: restarting authdaemond children
Sep 23 21:12:11 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 23 21:12:18 localhost postfix/master[8003]: terminating on signal 15
Sep 24 09:06:25 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 24 09:06:35 localhost postfix/master[4673]: daemon started -- version 2.2.10, configuration /etc/postfix
Sep 24 09:13:25 localhost postfix/cleanup[5399]: 9A88423526: message-id=<20060924071325.9A88423526@localhost.localdomain>
Sep 24 09:13:25 localhost postfix/qmgr[4681]: 9A88423526: from=<root@mondomaine.com>, size=439, nrcpt=1 (queue active)
Sep 24 09:13:25 localhost postfix/local[5401]: 9A88423526: to=<sylvain@mondomaine.com>, orig_to=<root>, relay=local, delay=0, status=sent (delivered to command: procmail -a "$EXTENSION")
Sep 24 09:13:25 localhost postfix/qmgr[4681]: 9A88423526: removed
Sep 24 09:37:01 localhost authdaemond.plain: restarting authdaemond children
Sep 24 09:37:01 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 24 09:37:06 localhost postfix/master[4673]: terminating on signal 15
Sep 26 15:11:13 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 26 15:11:22 localhost postfix/master[4656]: daemon started -- version 2.2.10, configuration /etc/postfix
Sep 26 17:00:55 localhost postfix/master[4656]: terminating on signal 15
Sep 26 17:00:57 localhost postfix/master[7403]: daemon started -- version 2.2.10, configuration /etc/postfix
Sep 26 17:00:58 localhost authdaemond.plain: restarting authdaemond children
Sep 26 17:00:58 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 26 17:00:58 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 26 17:07:21 localhost postfix/pickup[7413]: AE7C32352F: uid=1000 from=<sylvain>
Sep 26 17:07:21 localhost postfix/cleanup[7582]: AE7C32352F: message-id=<20060926150721.AE7C32352F@mail.mondomaine.com>
Sep 26 17:07:21 localhost postfix/qmgr[7414]: AE7C32352F: from=<sylvain@mondomaine.com>, size=409, nrcpt=1 (queue active)
Sep 26 17:07:25 localhost postfix/smtp[7584]: AE7C32352F: to=<mon-mail-test@free.fr>, relay=mx1.free.fr[212.27.48.6], delay=4, status=bounced (host mx1.free.fr[212.27.48.6] said: 553 sorry, your envelope sender domain must exist (#5.7.1) (in reply to MAIL FROM command))
Sep 26 17:07:25 localhost postfix/cleanup[7582]: 7D78323532: message-id=<20060926150725.7D78323532@mail.mondomaine.com>
Sep 26 17:07:25 localhost postfix/qmgr[7414]: 7D78323532: from=<>, size=2354, nrcpt=1 (queue active)
Sep 26 17:07:25 localhost postfix/qmgr[7414]: AE7C32352F: removed
Sep 26 17:07:25 localhost postfix/smtp[7584]: 7D78323532: to=<sylvain@mondomaine.com>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=mondomaine.com type=A: Host found but no data record of requested type)
Sep 26 17:07:25 localhost postfix/qmgr[7414]: 7D78323532: removed
Sep 26 18:34:29 localhost authdaemond.plain: restarting authdaemond children
Sep 26 18:34:29 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 26 18:34:36 localhost postfix/master[7403]: terminating on signal 15
Sep 27 17:13:10 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 27 17:13:30 localhost postfix/master[4681]: daemon started -- version 2.2.10, configuration /etc/postfix
Sep 27 17:21:38 localhost authdaemond.plain: modules="authpam", daemons=5
Sep 27 17:21:47 localhost postfix/master[4665]: daemon started -- version 2.2.10, configuration /etc/postfix

J'espère que cela vous parlera plus qu'à moi big_smile

Dernière modification par Jarodd (Le 27/09/2006, à 17:38)


Ubuntu 22.04.3 LTS (64 bits)

Hors ligne

#4 Le 28/09/2006, à 10:09

Uggy

Re : [serveur mail] Installation ok, mais pas d'envoi

to=<mon-mail-test@free.fr>, relay=mx1.free.fr[212.27.48.6], delay=4, status=bounced (host mx1.free.fr[212.27.48.6] said: 553 sorry,                     
your envelope sender domain must exist (#5.7.1) (in reply to MAIL FROM command)),

c'est pourtant assez clair ?

Autrement dit tu as du mettre un nom de domaine innexistant, et donc free n'est pas con et il refuse ton mail (vu que de toute facon on pourrais pas repondre, vu que le domaine n'existe pas)

Hors ligne

#5 Le 28/09/2006, à 18:07

mamagubida10

Re : [serveur mail] Installation ok, mais pas d'envoi

to=<mon-mail-test@free.fr> enfin un destinataire inexistant tu veux dire ?


Dual boot Ubuntu 12.04LTS / Windows8 sur Toshiba Satellite A200-258
Processeur Intel® Core™2 Duo  T5450 1.66 GHz
ATI Mobility™ Radeon® HD2400 128Mo dédiés

Hors ligne

#6 Le 29/09/2006, à 13:52

Jarodd

Re : [serveur mail] Installation ok, mais pas d'envoi

J'ai changé l'adresse mail pour mon message sur le forum, mais pendant le test j'ai utilisé ma véritable adresse mail @free.fr, qui fonctionne bien comme indiqué dans le 1er message wink


Ubuntu 22.04.3 LTS (64 bits)

Hors ligne

#7 Le 29/09/2006, à 15:02

Uggy

Re : [serveur mail] Installation ok, mais pas d'envoi

mamagubida10 a écrit :

to=<mon-mail-test@free.fr> enfin un destinataire inexistant tu veux dire ?

mais non.... l'erreur c'est "envelope sender" donc l'expéditeur ...

donc:
from=<sylvain@mondomaine.com>

Hors ligne

#8 Le 29/09/2006, à 19:39

mamagubida10

Re : [serveur mail] Installation ok, mais pas d'envoi

ah ok, je commence à comprendre. C'est un sujet qui m'intéresse.


Dual boot Ubuntu 12.04LTS / Windows8 sur Toshiba Satellite A200-258
Processeur Intel® Core™2 Duo  T5450 1.66 GHz
ATI Mobility™ Radeon® HD2400 128Mo dédiés

Hors ligne

#9 Le 29/09/2006, à 22:59

Jarodd

Re : [serveur mail] Installation ok, mais pas d'envoi

Ah ok j'avais mal compris vos remarques smile Ca se tient, j'ai envoyé un mail sans expéditeur lol

Je vais refaire des tests. Mais le "from" ne m'a pas été demandé dans la commande (logique), cependant je ne vois pas où je dois l'indiquer hmm Rien n'est précisé dans le tuto que j'ai suivi.


Ubuntu 22.04.3 LTS (64 bits)

Hors ligne

#10 Le 03/10/2006, à 17:49

Jarodd

Re : [serveur mail] Installation ok, mais pas d'envoi

Help...

Je ne trouve pas où configurer l'expéditeur du mail  sad


Ubuntu 22.04.3 LTS (64 bits)

Hors ligne

#11 Le 05/10/2006, à 09:49

Uggy

Re : [serveur mail] Installation ok, mais pas d'envoi

Pour changer le domaine del'expéditeur, change le hostname de la machine...

Hors ligne