par belugha » 03 Oct 2003 11:14
Bonjour,
<BR>
<BR><!-- BBCode Start --><B>Ma config</B><!-- BBCode End -->:
<BR>Ipcop 1.3 avec fixes et 3 cartes réseaux.
<BR>Serveur Mail sur une RH9 sur la DMZ: Postfix, protocole IMAP, webmail Horde.
<BR>Connexion: Wanadoo ADSL Pro qui me permet de bénéficier d'un nom de domaine gratuitement (mondomaine.fr)
<BR>
<BR>Mon pb est le suivant: je n'arrive pas à recevoir des mails venant de l'extérieur.
<BR>
<BR><!-- BBCode Start --><B>Mon main.cf sur postfix</B><!-- BBCode End -->:
<BR>command_directory = /usr/local/postfix/sbin
<BR>daemon_directory = /usr/local/postfix/libexec
<BR>program_directory = /usr/local/postfix/bin/
<BR>#defer_transports = smtp local virtual relay
<BR>#queue_directory = /var/spool/postfix
<BR>smtpd_banner = $myhostname ESMTP
<BR>setgid_group = postdrop
<BR>biff = no
<BR>append_dot_mydomain = no
<BR>myhostname = mamachine.mondomaine.fr
<BR>alias_maps = hash:/etc/postfix/aliases
<BR>alias_database = hash:/etc/postfix/aliases
<BR>myorigin = mondomaine.fr
<BR>mydestination = mondomaine.fr, mamachine.mondomaine.fr, localhost.mondomaine.fr, localhost
<BR>relayhost =
<BR>mynetworks = 127.0.0.0/8, 10.1.0.0/16
<BR>mailbox_command = procmail -a "$EXTENSION"
<BR>mailbox_size_limit = 0
<BR>recipient_delimiter = +
<BR>inet_interfaces = all
<BR>sender_canonical_maps = hash:/etc/postfix/sender_canonical
<BR>smtpd_recipient_limit = 500
<BR>masquerade_domains = $mydomain
<BR>masquerade_exceptions = root
<BR>masquerade_classes = envelope_sender, envelope_recipient, header_sender, header_recipient
<BR>
<BR>J'ai configurer mon nom de domaine de la facon suivante:
<BR><!-- BBCode Start --><B>/etc/named.conf</B><!-- BBCode End -->
<BR>options {
<BR> directory "/var/named";
<BR> forward first;
<BR> forwarders {
<BR> 193.252.19.3;
<BR> 193.252.19.4;
<BR> };
<BR>};
<BR>
<BR>//
<BR>// a caching only nameserver config
<BR>//
<BR>zone "." {
<BR> type hint;
<BR> file "named.ca";
<BR>};
<BR>
<BR>zone "0.0.127.in-addr.arpa" {
<BR> type master;
<BR> file "named.local";
<BR>};
<BR>
<BR>zone "mondomaine.fr" {
<BR> type master;
<BR> file "mondomaine.fr";
<BR>};
<BR><!-- BBCode Start --><B>/var/named/named.local</B><!-- BBCode End -->
<BR>@ IN SOA mamachine.mondomaine.fr. root.mamachine.mondomaine.fr. (
<BR> 1997022700 ; Serial
<BR> 28800 ; Refresh
<BR> 14400 ; Retry
<BR> 3600000 ; Expire
<BR> 86400 ) ; Minimum
<BR> IN NS mamachine.mondomaine.fr.
<BR>
<BR>1 IN PTR localhost.
<BR>
<BR><!-- BBCode Start --><B>/var/named/mondomaine.fr </B><!-- BBCode End -->
<BR>@ IN SOA mamachine.mondomaine.fr. root.mondomaine.fr. (
<BR> 1997022700 ; Serial
<BR> 28800 ; Refresh
<BR> 14400 ; Retry
<BR> 3600000 ; Expire
<BR> 86400 ) ; Minimum
<BR> NS mamachine
<BR> NS mamachine.mondomaine.fr.
<BR> MX 10 mamachine
<BR> MX 20 mamachine.mondomaine.fr.
<BR>
<BR>
<BR>localhost A 127.0.0.1
<BR>mamachine A 10.1.0.10
<BR>
<BR><!-- BBCode Start --><B>/etc/resolv.conf</B><!-- BBCode End -->
<BR>search mondomaine.fr
<BR>nameserver 127.0.0.1
<BR>nameserver 193.252.19.4
<BR>nameserver 1993.252.19.3
<BR>
<BR>Losque je fais : host -a mamachine
<BR><!-- BBCode Start --><I>je devrais avoir</I><!-- BBCode End -->
<BR>Trying "mamachine.mondomaine.fr"
<BR>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33741
<BR>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
<BR>
<BR>;; QUESTION SECTION:
<BR>;mamachine.mondomaine.fr. IN ANY
<BR>
<BR>;; ANSWER SECTION:
<BR>mamachine.mondomaine.fr. 86400 IN A 192.168.25.75
<BR>
<BR>;; AUTHORITY SECTION:
<BR>mondomaine.fr. 86400 IN NS mamachine.mondomaine.fr.
<BR>
<BR>Received 65 bytes from 127.0.0.1#53 in 15 ms
<BR><!-- BBCode Start --><I>Et bien non, j'ai </I><!-- BBCode End -->
<BR>Trying "mamachine.mondomaine.fr"
<BR>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40879
<BR>;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
<BR>
<BR>;; QUESTION SECTION:
<BR>;mamachine.mondomaine.fr. IN ANY
<BR>
<BR>;; ANSWER SECTION:
<BR>mamachine.mondomaine.fr. 161108 IN A 117.108.12.25
<BR>
<BR>;; AUTHORITY SECTION:
<BR>mondomaine.fr. 161108 IN NS ns2.lerelaisinternet.com.
<BR>mondomaine.fr. 161108 IN NS ns1.lerelaisinternet.com.
<BR>
<BR>;; ADDITIONAL SECTION:
<BR>ns1.lerelaisinternet.com. 74606 IN A 194.206.126.200
<BR>
<BR>Received 132 bytes from 127.0.0.1#53 in 0 ms
<BR>
<BR>
<BR>Donc voilà pourquoi je n'arrive pas à recevoir mes courriers.
<BR>
<BR>Quelle est la solution ? <IMG SRC="images/smiles/icon_help.gif">
<BR>
<BR>Merci d'avance.
<BR>
<BR>
L'humanité est à un croisement: un chemin mène au désespoir, l'autre à l'extinction totale. Espérons que nous aurons la sagesse de savoir choisir.
[Woody Allen]