guepe J'ai du noir sur la truffe ? | J'ai un serveur avec postfix configuré : les mails partent correctement par exemple pour un destinataire vers gmail. L'adresse email du serveur est mettons srv@mondomaine.com
Lorsque le serveur veut envoyer un email a machin@mondomaine.com le mail ne part pas, voici l'erreur : Jan 6 05:49:32 srv postfix/error[24701]: BEE245DFC: to=<machin@mondomaine.com>, relay=none, delay=0.05, delays=0.04/0.01/0/0.01, dsn=5.0.0, status=bounced (local delivery is disabled)
Or tous les mails sont envoyés par l'ISP et devraient arriver au serveur de mail réel (qui lui n'est pas un null client). Je n'ai aucun contrôle sur ce serveur, je ne sais pas ou il est ni comment il est configuré. Bref disons c'est un serveur de mail pour mondomaine.com
Voici la config de postfix :
# 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 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
readme_directory = no
# 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:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_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.
## SASL Settings
# This is going in to THIS server
smtpd_sasl_auth_enable = yes
# We need this
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_local_domain = $myhostname
smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonymous
smtp_always_send_ehlo = yes
smtpd_sasl_application_name = smtpd
smtp_generaic_maps = hash:/etc/postfix/generic
canonical_maps = hash:/etc/postfix/canonical
#myhostname = mondomaine.com
#alias_maps = hash:/etc/aliases
#alias_database = hash:/etc/aliases
#myorigin = /etc/mailname
mydestination = mondomaine.com
#, srv, localhost.localdomain, localhost
relayhost = relais.videotron.ca
#mail.domaine.com
#mynetworks = 127.0.0.0/8 [:ffff:127.0.0.0]/104 [:1]/128, 192.168.1.2
#mynetworks = 127.0.0.0/8, 192.168.1.0/24
#mailbox_command = procmail -a "$EXTENSION"
#mailbox_size_limit = 0
#recipient_delimiter = +
inet_interfaces = loopback-only
local_transport = error:local delivery is disabled
|
Pourquoi cela ne marche-t-il pas ? ---------------
Un blog qu'il est bien
|