OVH Community, votre nouvel espace communautaire.

Erreur mail 454: Relay access denied [ ISP config + nginx + Debian 8]


Allezpaillade
14/02/2016, 14h35
Bonjour,

Après plusieurs jours de tutos et autres solutions proposés sur la toile je n'arrive toujours pas à finaliser la configuration de mes mails sur mon VPS OVH. Mails que je souhaite gérer en interne à l'aide de ISP Config sous nginx + Debian 8.

Bien conscient de mon manque de connaissances je vous sollicite afin d'éclairer ma lanterne sur ce problème de config.

Le nom de domaine étant également géré chez OVH, voici ma config:

Code:
allezpaillade.com.	0	NS	dns200.anycast.me.		
	allezpaillade.com.	0	NS	ns200.anycast.me.		
	allezpaillade.com.	0	MX	1 mail.allezpaillade.com.		
	www.allezpaillade.com.	0	MX	1 mail.allezpaillade.com.		
	_autodiscover._tcp.allezpaillade.com.	0	SRV	0 0 443 mailconfig.ovh.net.		
	_imaps._tcp.allezpaillade.com.	0	SRV	0 0 993 ssl0.ovh.net.		
	_submission._tcp.allezpaillade.com.	0	SRV	0 0 465 ssl0.ovh.net.		
	allezpaillade.com.	0	A	149.202.53.195		
	imap.allezpaillade.com.	0	A	149.202.53.195		
	mail.allezpaillade.com.	0	A	149.202.53.195		
	pop3.allezpaillade.com.	0	A	149.202.53.195		
	smtp.allezpaillade.com.	0	A	149.202.53.195		
	test.allezpaillade.com.	0	A	176.31.143.163		
	www.allezpaillade.com.	0	A	149.202.53.195		
	autoconfig.allezpaillade.com.	0	CNAME	mailconfig.ovh.net.		
	ftp.allezpaillade.com.	0	CNAME	allezpaillade.com.		
	allezpaillade.com.	0	TXT	"1|www.allezpaillade.com"		
	www.allezpaillade.com.	0	TXT	"3|welcome"		
	www.allezpaillade.com.	0	TXT	"l|fr"
Config du fichier Postfix: Main.cf
Code:
# 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 = /usr/share/doc/postfix

# 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.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = vps230164.ovh.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = vps230164.ovh.net, localhost.vps230164.ovh.net, localhost
relayhost = 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
inet_protocols = ipv4
Extrait du fichier Log pour les erreurs mails:
Code:
Feb 14 15:03:21 vps230164 postfix/anvil[9298]: statistics: max connection rate 1/60s for (smtp:178.32.228.195) at Feb 14 14:59:09
Feb 14 15:03:21 vps230164 postfix/anvil[9298]: statistics: max connection count 1 for (smtp:178.32.228.195) at Feb 14 14:59:09
Feb 14 15:03:21 vps230164 postfix/anvil[9298]: statistics: max cache size 1 at Feb 14 14:59:09
Feb 14 15:04:09 vps230164 postfix/smtpd[9464]: connect from mo195.mail-out.ovh.net[178.32.228.195]
Feb 14 15:04:10 vps230164 postfix/smtpd[9464]: NOQUEUE: reject: RCPT from mo195.mail-out.ovh.net[178.32.228.195]: 454 4.7.1 : Relay access denied; from= to= proto=ESMTP helo=
Feb 14 15:04:10 vps230164 postfix/smtpd[9464]: disconnect from mo195.mail-out.ovh.net[178.32.228.195]
Feb 14 15:04:42 vps230164 dovecot: pop3-login: Disconnected (tried to use disallowed plaintext auth): user=<>, rip=86.213.151.135, lip=149.202.53.195, session=
Feb 14 15:04:45 vps230164 dovecot: pop3-login: Disconnected (tried to use disallowed plaintext auth): user=<>, rip=86.213.151.135, lip=149.202.53.195, session=
Feb 14 15:05:01 vps230164 postfix/smtpd[9464]: connect from localhost[127.0.0.1]
Feb 14 15:05:01 vps230164 postfix/smtpd[9464]: lost connection after CONNECT from localhost[127.0.0.1]
Feb 14 15:05:01 vps230164 postfix/smtpd[9464]: disconnect from localhost[127.0.0.1]
Feb 14 15:05:01 vps230164 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=
Feb 14 15:05:01 vps230164 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=
N'hésitez pas si vous voyez quelque chose d'incohérent...

Merci par avance à tous ceux qui prendront le temps de s'intéresser à mon problème,

A+