View Single Post
  #1  
Old 8th July 2007, 19:25
johnnie johnnie is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot send out email

Hi,

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 admin@mydomain.com - working and received
admin@mydomain.com to Gmail - did not receive email.

I found this error is /var/log/maillog

Quote:
Jul 9 00:32:24 server1 postfix/qmgr[2413]: 4A75C49C0F3: from=<admin@mydomain.com>, size=900, nrcpt=1 (queue active)
Jul 9 00:32:24 server1 postfix/qmgr[2413]: 433BA49C0F0: from=<admin@mydomain.com>, size=898, nrcpt=1 (queue active)
Jul 9 00:32:35 server1 postfix/smtp[3258]: 4A75C49C0F3: to=<myemail@gmail.com>, 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[3260]: 433BA49C0F0: to=<myemail@gmail.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
Quote:
admin@www.mydomain.com web6_mydomain
web6_mydomain@www.mydomain.com web6_mydomain
admin@mydomain.com web6_mydomain
web6_mydomain@mydomain.com web6_mydomain
In /etc/postfix/local-host-names
Quote:
localhost
server1.theserver.com
localhost.server1.theserver.com
localhost.theserver.com
localhost.localdomain
www.mydomain.com
mydomain.com
In /var/named/chroot/var/named/pri.mydomain.com
Quote:
$TTL 86400
@ 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 111.11.11.11
ns1 A 111.11.11.11
ns2 A 222.22.22.22
mail A 111.11.11.11
www A 111.11.11.11

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
Quote:
"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
Reply With Quote
Sponsored Links