• [^] # Re: Virtual domain / local domain

    Posté par . En réponse au message Postifx sender non-delivery. Évalué à 1.

    Ok ok, Voila ce que j'ai fait: 1) Changer mais fichier /etc/hosts et hostname:
    hosts:
    127.0.0.1	localhost
    #127.0.1.1	Flo-Debian.gescom	Flo-Debian
    192.168.2.10 smtp.flo-debian.gescom smtp
    192.168.2.10 imap.flo-debian.gescom imap
    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    hostname:
    smtp.flo-debian.gescom
    
    Ensuite dans /etc/postfix/postfix.conf:
    myhostname = stmp.flo-Debian.gescom 
    mydomain = flo-debian.gescom 
    mydesination = stmp.Flo-Debian.gescom,localhost,smtp,localhost.localdomain 
    
    Puis le résulta du fichier log :s
    Mar 8 08:59:51 smtp postfix/pickup[1813]: 0524154282: uid=0 from=
    Mar 8 08:59:51 smtp postfix/cleanup[2258]: 0524154282: message-id=<20100308075951.0524154282@stmp.flo-Debian.gescom>
    Mar 8 08:59:51 smtp postfix/qmgr[1816]: 0524154282: from=<root@Flo-Debian.gescom>, size=325, nrcpt=1 (queue active)
    Mar 8 08:59:51 smtp postfix/smtp[2260]: 0524154282: to=<florian@flo-debian.gescom>, relay=none, delay=0.27, delays=0.23/0.03/0.02/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=flo-debian.gescom type=A: Host not found)
    Mar 8 08:59:51 smtp postfix/cleanup[2258]: 3E9BD54283: message-id=<20100308075951.3E9BD54283@stmp.flo-Debian.gescom>
    Mar 8 08:59:51 smtp postfix/bounce[2261]: 0524154282: sender non-delivery notification: 3E9BD54283
    Mar 8 08:59:51 smtp postfix/qmgr[1816]: 0524154282: removed
    Mar 8 08:59:51 smtp postfix/qmgr[1816]: 3E9BD54283: from=<>, size=2250, nrcpt=1 (queue active)
    Mar 8 08:59:51 smtp postfix/smtp[2260]: 3E9BD54283: to=<root@Flo-Debian.gescom>, relay=none, delay=0.1, delays=0.09/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=Flo-Debian.gescom type=A: Host not found)
    Mar 8 08:59:51 smtp postfix/qmgr[1816]: 3E9BD54283: removed
    Mar 8 08:59:57 smtp postfix/pickup[1813]: 18D0154282: uid=0 from=
    Mar 8 08:59:57 smtp postfix/cleanup[2258]: 18D0154282: message-id=<20100308075957.18D0154282@stmp.flo-Debian.gescom>
    Mar 8 08:59:57 smtp postfix/qmgr[1816]: 18D0154282: from=<root@Flo-Debian.gescom>, size=321, nrcpt=1 (queue active)
    Mar 8 08:59:57 smtp postfix/smtp[2260]: 18D0154282: to=<flo@flo-debian.gescom>, relay=none, delay=0.21, delays=0.2/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=flo-debian.gescom type=A: Host not found)
    Mar 8 08:59:57 smtp postfix/cleanup[2258]: 4DCF454283: message-id=<20100308075957.4DCF454283@stmp.flo-Debian.gescom>
    Mar 8 08:59:57 smtp postfix/bounce[2261]: 18D0154282: sender non-delivery notification: 4DCF454283
    Mar 8 08:59:57 smtp postfix/qmgr[1816]: 18D0154282: removed
    Mar 8 08:59:57 smtp postfix/qmgr[1816]: 4DCF454283: from=<>, size=2238, nrcpt=1 (queue active)
    Mar 8 08:59:57 smtp postfix/smtp[2260]: 4DCF454283: to=<root@Flo-Debian.gescom>, relay=none, delay=0.08, delays=0.07/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=Flo-Debian.gescom type=A: Host not found)
    Mar 8 08:59:57 smtp postfix/qmgr[1816]: 4DCF454283: removed