Forum Linux.general postfix et moi

Posté par  .
Étiquettes :
0
1
nov.
2006
alors voila, souvent je reponds aux gens qui ont des questions, eh bien aujourd'hui c'est l'inverse, c'est moi qui vient à vous avec mon probleme.



j'ai un nom de domaine et un site hebergé sur une dedibox.

j'ai installé postsfix pour renvoyer les emails @mon_domaine.com vers les boites de mes utilisateurs (@free.fr, @aol.com etc etc)



quand j'envoie un email depuis le serveur en ligne de commande, il part bien, est bien emis depuis mon serveur.



quand j'envoie de l'exterieur vers mon domaine, j'ai le message d'erreur suivant :





Reporting-MTA: dns; postfix1-g20.free.fr

X-Postfix-Queue-ID: 3C44933F0D0

X-Postfix-Sender: rfc822; moi@free.fr

Arrival-Date: Wed, 1 Nov 2006 13:33:59 +0100 (CET)



Final-Recipient: rfc822; postmaster@mon_domaine.org

Action: failed

Status: 5.0.0

Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error

for name=ip_du_serveur.mon_domaine.org type=A: Host not found





j'ai donc la configuration suivante :



root@xxxxxxxxxxx:~# cat /etc/postfix/main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version





# Debian specific: Specifying a file name will cause the first

# line of that file to be used as the name. The Debian default

# is /etc/mailname.

#myorigin = /etc/mailname



smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)

biff = no



# appending .domain is the MUA's job.

append_dot_mydomain = no



# Uncomment the next line to generate "delayed mail" warnings

#delay_warning_time = 4h



# TLS parameters

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem

smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

smtpd_use_tls=yes

smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache

smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache



# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for

# information on enabling SSL in the smtp client.



myhostname = mon_domaine_a_moi.org

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

myorigin = /etc/mailname

mydestination = mon_domaine_a_moi.org, sd-xxxx.dedibox.fr, localhost.dedibox.fr, localhost

relayhost =

mynetworks = 127.0.0.0/8

mailbox_size_limit = 0

recipient_delimiter = +

inet_interfaces = all







root@lebasrouge:~# cat /etc/aliases

# Added by installer for initial user

root: admin

postmaster: toto@free.fr

webmaster: titi@aol.com

  • # lorem ipsum 0.029591240947685428 Dolore molestias recusandae quam

    Posté par  . Évalué à 2.

    Commodi numquam est rem earum eos accusantium.
    • [^] # Re: Configuration du domaine

      Posté par  . Évalué à 1.

      pour le MX j'ai mis

      .mon_domaine.org MX1 ip_dedibox

      j'ai donc

      Champ Type Cible
      .mon_domaine.org NS dns.ovh.net
      .mon_domaine.org NS ns.ovh.net
      .mon_domaine.org MX 1 ip_dedibox
      .mon_domaine.org A ip_dedibox
      www.mon_domaine.org CNAME mon_domaine.org
      audio.mon_domaine.org CNAME audio.ovh.net
      ftp.mon_domaine.org CNAME mon_domaine.org
      imp.mon_domaine.org CNAME imp.ovh.net
      squirrel.mon_domaine.org CNAME squirrel.ovh.net


      j'aurais oublié quelque chose ?

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.