Another question !
Alors voila c'est un peu compliqué à expliquer et en même temps très simple :
J'utilise donc Postfix qui fonctionne très bien. Je me suis aperçue il y a peu qu'i y avait un problème d'envois de mail avec les client Outlook extérieur.
En effet, sur mon réseau local je peux envoyer et recevoir des mail via un client Outlook ou n'importe quel autre client SMTP\POP3.
Mais lorsque je suis à l'extérieur (hors de mon réseau local) j'ai un "relay access denied" quand j'utilise un client mail de type Outlook. Je sais que cela vient de la directive "mynetworks du fichier main.cf. Je fais donc l'expérience d'ajouter le sous réseau d'une IP qui est normalement refuser par Postfix (Wanadoo 193.254.x.x), j'ajoute donc à "mynetworks" le sous réseau 193.0.0.0/8.
Je test l'envois et... Ca fonctionne ! Mais bon, je me vois mal attribuer tous les sous réseaux des inscrits à mon serveur.
Ma question est simple, existe il un moyen d'accepter toutes les IP pour l'envois de mail ? Je vous laisse mon fichier de config.
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname
smtpd_banner = $myhostname Simm's Club $mail_name (asso-sc.com)
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
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = wellby.dyndns.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = wellby.dyndns.org
#mynetworks = 127.0.0.0/8 192.168.0.0/16
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
#adress rewriting
sender_canonical_maps = hash:/etc/postfix/sender_canonical
mail_name = Simm's Club Mail server
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
mynetworks_style = class
Poste le Monday 4 June 2007 22:51:06