POSTFIX - Formation Postfix - Configuration réseau Ubuntu
De PedroWiki
(Redirigé depuis Formation Postfix - Configuration réseau Ubuntu)
/etc/hosts
127.0.0.1 localhost.localdomain localhost 10.4.1.6 julien.insa-rennes.fr julien 10.4.1.6 smtp.ploplo.fr smtp # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts root@julien:~#
/etc/hostname
julien
/etc/resolv.conf
search insa-rennes.fr nameserver 10.4.1.21 nameserver 10.4.1.18 root@julien:~#
/etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.4.1.6 netmask 255.255.255.0 network 10.4.1.0 broadcast 10.4.1.255 gateway 10.4.1.254 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.4.1.21 10.4.1.18