I'm noob in linux just got my website working on ISPconfig & Roundcube email. Currently i have problem can't send out email, otherwise i can receive emails.
When i send email from:-
Gmail to email@example.com
- working and received
to Gmail - did not receive email.
I found this error is /var/log/maillog
Jul 9 00:32:24 server1 postfix/qmgr: 4A75C49C0F3: from=<firstname.lastname@example.org>, size=900, nrcpt=1 (queue active)
Jul 9 00:32:24 server1 postfix/qmgr: 433BA49C0F0: from=<email@example.com>, size=898, nrcpt=1 (queue active)
Jul 9 00:32:35 server1 postfix/smtp: 4A75C49C0F3: to=<firstname.lastname@example.org>, relay=none, delay=289449, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
Jul 9 00:32:35 server1 postfix/smtp: 433BA49C0F0: to=<email@example.com>, relay=none, delay=294832, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
This is my /etc/postfix/virtusertable
@ IN SOA ns1.mydomain.com. myemail.gmail.com. (
2007070705 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
NS ns1.mydomain.com. ; Inet Address of name server 1
NS ns2.mydomain.com. ; Inet Address of name server 2
MX 10 mail.mydomain.com.
mydomain.com. A 126.96.36.199
ns1 A 188.8.131.52
ns2 A 184.108.40.206
mail A 220.127.116.11
www A 18.104.22.168
smtp CNAME mail.mydomain.com.
webmail CNAME www.mydomain.com.
pop3 CNAME mail.mydomain.com.
mydomain.com. TXT "v=spf1 ?all"
;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
I'm also got "WARN' in category of "Mail server host name in greeting" of dnsreport
"WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.
mail.mydomain.com claims to be non-existent host server1.theserver.com:
220 server1.theserver.com ESMTP Postfix"
Can someone help me identify this errors and how to get my email working?
Thank you very much