Bonjour,
Je voudrais installer un serveur postfix pour avoir un adresse mail perso. J'ai acheter un nom de domain (ex:toto.com) qui pointe sur l'ip fixe de mon poste. J'ai installer postfix avec lequel je peux envoyer des mails (philippe@toto.com) voici le fichier main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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
myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = toto.com, localhost.localdomain, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
Maintenant j'aimerais pouvoir en recevoir depuis n'importe ou. J'ai donc installer bind dont voici les fichier named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
//
include "/etc/bind/named.conf.options";
// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
category cname { null; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
zone "toto.com" {
type master;
file "/etc/bind/db.toto";
};
// add local zone definitions here
include "/etc/bind/named.conf.local";
et voici le fichier db.toto
;
; BIND reverse data file for broadcast zone
;
$TTL 604800
@ IN SOA debian.debianix.org.root.debianix.org. 1 (
604803
86400
2419200
604800
)
;
@ IN MX 50 toto.com
@ IN MX 10 toto.com
toto.com. IN A 192.168.0.10
le probleme c'est que je n'arrive pas a recevoir des mails de l'exterieurs (hotmail par exemple)
Merci par avance de votre aide
Poste le Saturday 1 October 2005 17:07:43