Old 8th July 2007, 20: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


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

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
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
In /var/named/chroot/var/named/pri.mydomain.com
$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
ns1 A
ns2 A
mail A
www A

smtp CNAME mail.mydomain.com.
webmail CNAME www.mydomain.com.
pop3 CNAME mail.mydomain.com.

mydomain.com. TXT "v=spf1 ?all"

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
Reply With Quote
Sponsored Links
Old 9th July 2007, 09:40
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

The problem is that your server was not able to resolve the domain name gmail.com in DNS. Please make sure that the nameservers that are listed in /etc/resolv.conf are reachable from your server.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot send email from OE through ISPconfig site tomd General 10 12th March 2009 07:05
how to configure postfix to send email out for a hosted domain nox171 Server Operation 24 13th July 2007 12:48
Can't send email with attachments to another email nysprite Installation/Configuration 2 29th June 2006 19:09
Can't send email with attachments to a user rafaelenrike General 9 15th June 2006 20:01
newbie...need to send out a bulk email for work.. pjm2211 HOWTO-Related Questions 1 22nd May 2006 23:58

All times are GMT +2. The time now is 05:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.