Bonsoir à tous,
j'ai un petit soucis lors de l'envoie de mail via la function mail() de php.
voici le log (var/log/maillog)
Code:
Jan 23 17:49:59 ns3367842 postfix/pickup[30425]: 4A2008FE1F: uid=503 from=
Jan 23 17:49:59 ns3367842 postfix/cleanup[30884]: 4A2008FE1F: message-id=<20140123164959.4A2008FE1F@ns3367842.ovh.net>
Jan 23 17:49:59 ns3367842 postfix/qmgr[24498]: 4A2008FE1F: from=, size=494, nrcpt=1 (queue active)
Jan 23 17:49:59 ns3367842 postfix/smtp[30893]: 4A2008FE1F: to=, relay=mail.tqz.be[91.121.163.117]:25, delay=0.14, delays=0.1/0.01/0.03/0.01, dsn=5.0.0, status=bounced (host mail.tqz.be[91.121.163.117] said: 501 Your domain does not seem to be valid. Could not find MX record for your domain. (in reply to MAIL FROM command))
Jan 23 17:49:59 ns3367842 postfix/cleanup[30884]: 678278FE21: message-id=<20140123164959.678278FE21@ns3367842.ovh.net>
Jan 23 17:49:59 ns3367842 postfix/bounce[30894]: 4A2008FE1F: sender non-delivery notification: 678278FE21
Jan 23 17:49:59 ns3367842 postfix/qmgr[24498]: 678278FE21: from=<>, size=2402, nrcpt=1 (queue active)
Jan 23 17:49:59 ns3367842 postfix/trivial-rewrite[30885]: warning: do not list domain ns3367842.ovh.net in BOTH mydestination and virtual_mailbox_domains
Jan 23 17:49:59 ns3367842 postfix/qmgr[24498]: 4A2008FE1F: removed
Jan 23 17:49:59 ns3367842 postfix/local[30895]: 678278FE21: to=, orig_to=, relay=local, delay=0.11, delays=0.03/0.01/0/0.08, dsn=2.0.0, status=sent (delivered to mailbox)
voici le dig delchambre.eu MX
Code:
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6.6 <<>> delchambre.eu MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15228
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUESTION SECTION:
;delchambre.eu. IN MX
;; ANSWER SECTION:
delchambre.eu. 86400 IN MX 10 mail.delchambre.eu.
;; AUTHORITY SECTION:
delchambre.eu. 86400 IN NS sdns2.ovh.net.
delchambre.eu. 86400 IN NS ns3367842.ovh.net.
;; ADDITIONAL SECTION:
mail.delchambre.eu. 86400 IN A 37.187.88.21
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jan 23 17:50:43 2014
;; MSG SIZE rcvd: 119
les mails arrivent bien sur hotmail, mais sur les autres rien et l'erreur 501 Your domain does not seem to be valid. Could not find MX record for your domain. (in reply to MAIL FROM command))
d'avance merci