[CentOS] Postfix (Roundcube client) sends mail, but not able to receive

Wed Mar 13 22:57:57 UTC 2013
Austin Einter <austin.einter at gmail.com>

Dear Les Mikesell
I  executed the steps you have advised.

1. MX Record Check
[root at ip-173-201-189-43 necs14]#
[root at ip-173-201-189-43 necs14]# dig -t MX netcloudjobs.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> -t MX
netcloudjobs.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28659
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;netcloudjobs.com.              IN      MX

;; ANSWER SECTION:
netcloudjobs.com.       86400   IN      MX      0 mail.netcloudjobs.com.

;; AUTHORITY SECTION:
netcloudjobs.com.       86400   IN      NS      ns2.netcloudjobs.com.
netcloudjobs.com.       86400   IN      NS      ns1.netcloudjobs.com.

;; ADDITIONAL SECTION:
mail.netcloudjobs.com.  86400   IN      A       173.201.189.43
ns1.netcloudjobs.com.   86400   IN      A       173.201.189.43
ns2.netcloudjobs.com.   86400   IN      A       173.201.189.43

;; Query time: 0 msec
;; SERVER: 10.0.0.1#53(10.0.0.1)
;; WHEN: Wed Mar 13 15:41:00 2013
;; MSG SIZE  rcvd: 139

[root at ip-173-201-189-43 necs14]# clear
[root at ip-173-201-189-43 necs14]#


2. A record check
[root at ip-173-201-189-43 necs14]# dig mail.netcloudjobs.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> mail.netcloudjobs.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5672
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;mail.netcloudjobs.com.         IN      A

;; ANSWER SECTION:
mail.netcloudjobs.com.  86400   IN      A       173.201.189.43

;; AUTHORITY SECTION:
netcloudjobs.com.       86400   IN      NS      ns1.netcloudjobs.com.
netcloudjobs.com.       86400   IN      NS      ns2.netcloudjobs.com.

;; ADDITIONAL SECTION:
ns1.netcloudjobs.com.   86400   IN      A       173.201.189.43
ns2.netcloudjobs.com.   86400   IN      A       173.201.189.43

;; Query time: 0 msec
;; SERVER: 10.0.0.1#53(10.0.0.1)
;; WHEN: Wed Mar 13 15:42:19 2013
;; MSG SIZE  rcvd: 123

[root at ip-173-201-189-43 necs14]#

I see in my firewall telenet/25 is blocked.
However smtp/25 is allowed.


Not sure how do I debug..., Any idea...

-Austin



On Wed, Mar 13, 2013 at 9:52 PM, Les Mikesell <lesmikesell at gmail.com> wrote:

> On Wed, Mar 13, 2013 at 10:03 AM, Austin Einter <austin.einter at gmail.com>
> wrote:
> > Dear All
> > Recently I just setup postfix, dovecot, roundcube etc in a dedicated
> server.
> >
> > >From roundcuble, I am able to send mail to my gmail account.
> >
> > But from my gmail account, when sent mail to my mail id, that I setup
> > recently, I do not see that email in roundcuble inbox. Neither that mail
> > bounced back in gmail. Not sure, how do I debug this.
> >
> > Kindly let me know how should I proceed to fix this issue.
>
> First look in your posftix log to see if there has been an attempt to
> deliver it.   If it hasn't gotten that far, make sure that your DNS MX
> record is visible to the rest of the world and also the A record for
> the name in the MX.   Then check that there are no firewalls blocking
> port 25 either from the internet
> service provider or your router, or your host.
>
> These are easiest if you have some outside account where you can:
> dig -t MX your_domain.com
> then
> dig name_of_MX_host
> then
> telnet IP_address 25
> and you should get an SMTP ready prompt from your postfix.
>
> If your domain name did not resolve in DNS at all, gmail should have
> rejected it immediately, but it may resolve to the wrong address or
> the connection may be blocked somewhere and it would retry for a
> while.
>
> --
>    Les Mikesell
>     lesmikesell at gmail.com
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>