• [^] # Re: Un poil plus d'infos

    Posté par . En réponse au message Postfix, pb d'envoi. Évalué à 1.

    Bon, c'est un peu brutal, mais voici mon fichier main.cf sur la machine Debian:

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    myhostname = madebian.domaine.int
    mydomain = domaine.int
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    #myorigin = /etc/mailname
    myorigin = $mydomain
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
    mail.$mydomain, www.$mydomain, ftp.$mydomain
    relayhost =
    mynetworks = 192.168.7.0/24, 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all


    L'erreur retournée est la suivante sur la Debian:

    jolitorax postfix/qmgr[2926]: 35C991303C: from=<alex@domaine.int>, size=412, nrcpt=1 (queue active)
    Apr 28 15:53:10 madebian postfix/smtp[2934]: 35C991303C: to=<user@myserver.domaine.int>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=myserver.domaine.int type=A: Host not found)


    Donc ma Debian s'appelle madebian.domaine.int, et la Fedora s'appelle myserver.domaine.int. Chacune a donc la résolution du nom de l'autre dans son propre /etc/hosts.