Hi, I have some problems with a domain name, everything works but I don't get any mail sent to any address *@mydomain.com I explain: - I have a dedicated server at ovh (debian+ispconfig3) and a domain name - In the DNS zone of my domain, I put the ip of my server: (Possible type: A, CNAME, TXT, AAAA, NS) - After all works: > mydomain reference to my server > I can send mail from my server, eg from [email protected] to [email protected] (via squirrelMail) but the problem I don't receive any mail, I tried to send mail from my Yahoo email account to [email protected] but I get this error : failure notice any idea please ? it's misconfiguration of the domain name? thank you in advance for your help (sorry for my bad english)
Have you checked that you can see "mydomain.com" from anywhere else on the Internet? For example, did you get your domain registrar to insert host records for your nameservers, or delegate the domain to your nameservers? If so, have you allowed external DNS requests through your firewall?
yes my domain is : http://www.dimadimaraja.info/ this is what I have in the logs of emails warning Code: Jul 14 00:59:40 mohammed postfix/smtpd[504]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 01:29:41 mohammed postfix/smtpd[2583]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 01:59:40 mohammed postfix/smtpd[4451]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 02:29:42 mohammed postfix/smtpd[8401]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 02:31:13 mohammed postfix/trivial-rewrite[9407]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 02:34:50 mohammed postfix/trivial-rewrite[28106]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 02:34:50 mohammed postfix/trivial-rewrite[28106]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 02:59:39 mohammed postfix/smtpd[29685]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 03:03:46 mohammed postfix/trivial-rewrite[30113]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 03:03:47 mohammed postfix/trivial-rewrite[30113]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 03:03:47 mohammed postfix/trivial-rewrite[30113]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 03:29:39 mohammed postfix/smtpd[31796]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 03:59:39 mohammed postfix/smtpd[1352]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 04:29:38 mohammed postfix/smtpd[3421]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 04:59:37 mohammed postfix/smtpd[5280]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 05:29:38 mohammed postfix/smtpd[7350]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 05:59:38 mohammed postfix/smtpd[9155]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 06:29:37 mohammed postfix/smtpd[11180]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 06:59:37 mohammed postfix/smtpd[13041]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 07:29:37 mohammed postfix/smtpd[15099]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 07:59:37 mohammed postfix/smtpd[16922]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 08:29:37 mohammed postfix/smtpd[18981]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 08:59:35 mohammed postfix/smtpd[20786]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 09:29:36 mohammed postfix/smtpd[22862]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 10:15:57 mohammed postfix/trivial-rewrite[27834]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 10:29:35 mohammed postfix/smtpd[32350]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 14 10:30:07 mohammed postfix/trivial-rewrite[968]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 10:41:57 mohammed postfix/trivial-rewrite[3680]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains Jul 14 10:43:39 mohammed postfix/trivial-rewrite[5762]: warning: do not list domain mohammed.ovh.net in BOTH mydestination and virtual_mailbox_domains
You have to create a record of type "MX" in the dns server of your provider which points to the hostname of your server.
The wildcard A record you show in your first post should have worked. It looks like you've gotten rid of it, and now only have an A record pointing at www.dimadimaraja.info. You need to do one of the following. Create an A record for dimadimaraja.info that points at 213.186.40.113, or, create an A record for mail.dimadimaraja.info that points at 213.186.40.113 and then create an MX record that points at mail.dimadimaraja.info, or, create an MX record that points at mohammed.ovh.net. Any of those options will get mail pointed at your server. My personal preference is for the second option.
the problem still persists, this is what I put in the registrar dimadimaraja.info: what i have in mail war-log : Code: Jul 17 02:59:57 mohammed postfix/smtpd[16052]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 03:29:56 mohammed postfix/smtpd[18114]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 03:59:57 mohammed postfix/smtpd[19966]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 04:29:57 mohammed postfix/smtpd[22023]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 04:59:55 mohammed postfix/smtpd[23829]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 05:29:55 mohammed postfix/smtpd[25890]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 05:59:56 mohammed postfix/smtpd[27696]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 06:29:55 mohammed postfix/smtpd[29775]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 06:59:55 mohammed postfix/smtpd[31600]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 07:29:55 mohammed postfix/smtpd[1414]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 07:59:54 mohammed postfix/smtpd[3244]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 08:29:53 mohammed postfix/smtpd[5372]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 08:59:53 mohammed postfix/smtpd[7297]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 09:29:53 mohammed postfix/smtpd[9556]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 09:59:53 mohammed postfix/smtpd[11376]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net Jul 17 10:29:52 mohammed postfix/smtpd[14011]: warning: 213.186.40.251: address not listed for hostname mrtg-6.ovh.net for the secondary dns I have not inserted (ns0.ovh.net), it can be the cause? another question : how to redirect [email protected] to [email protected] via ISPConfig>Email ?
Are you sure that the server's IP is 213.186.40.251? Because Code: dig mrtg-6.ovh.net shows 213.186.38.251.
euh my server's ip is 213.186.40.113 http://213.186.40.113 / http://www.dimadimaraja.info why they show mrtg-6.ovh.net ?
It's definitely your DNS that needs fixing. - Your MX records are not visible. You really only need the one, mail.dimadimaraja.info, as they both will ultimately point at the same place. - Your wildcard entry is working, but doesn't resolve dimadimaraja.info. You should add an A record for dimadimaraja.info.