Bonjour,

J'ai un serveur postfix installé avec webmin hébergé chez digitalocean. Sur ce même serveur, j'ai plusieurs domaines et les DNS sont comme ceci:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
mondomain.com. IN SOA ns1.digitalocean.com. hostmaster.mondomain.com. 1476954187 10800 3600 604800 1800
mondomain.com. 1800 IN NS ns1.digitalocean.com.
mondomain.com. 1800 IN NS ns2.digitalocean.com.
mondomain.com. 1800 IN NS ns3.digitalocean.com.
mondomain.com. 1800 IN A 192.34.XXX.XXX
www.mondomain.com. 1800 IN A 192.34.XXX.XXX
mail.mondomain.com. 1800 IN A 192.34.XXX.XXX
mondomain.com. 1800 IN MX 10 mail.mondomain.com.
dev.mondomain.com. 1800 IN A 192.34.XXX.XXX
mondomain.com. 1800 IN TXT v=spf1 ip4:192.34.XXX.XXX  mx:mondomain.com include:mondomain2.com include:mondomaine3.com ~all
2016._domainkey.mondomain.com. 1800 IN TXT v=DKIM1; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoKxMaJi3jCBJl7ZwmLziKbrpTI53P0UU3Iw9xEhrS1Op4LK435yiKhHFs/k7EA9AF/KTf2olmoWNXM4pRLESqRh9LF4fngegksApTXG6LdugZUh0qPUbdaNBRlFZSHm5IQXqr/Q9HYfp5xoInN1LrFzwXS6OJU2kytSn3Ktj9/Y/A7TrHBy/KSq310QPdc/WxaN6WbPeB56Cl6mzHlkmmXLwwk6V0gCqdfmvi+it6AjmYGljISbzqQMs4UtrcILWzQIDAQAB
_dmarc.mondomain.com. 1800 IN TXT v=DMARC1; p=none; rua=mailto:hostmaster@mondomain.com
Lorsque je fais un check de mes DNS chez http://mxtoolbox.com j'ai deux warnings.
- Reverse DNS is not a valid Hostname
- Reverse DNS does not match SMTP Banner

Je ne sais pas si cela vient de ma configuration postfix ou des DNS.

Réponse de smtp_helo_name:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
root@Ubuntu-14LTS-NY1:~# postconf smtp_helo_name
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
smtp_helo_name = $myhostname
Mis à part ces warnings, ce que je comprends pas c'est le $myhostname au lieu de me répondre mondomaine.com.

Dans le main.cf de postfix, j'ai ceci:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
myorigin = /etc/mailname
mydestination = mydomain.com, mydomain2.com, mydomain3.com, localhost
Et dans /etc/mailname il y a bien mydomain.com

Qu'est-ce que je peux vérifier pour arranger ces warnings ?

Merci,
Vincent.