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.
Thanks Austin
On Wed, Mar 13, 2013 at 10:03 AM, Austin Einter austin.einter@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.
Dear Les Mikesell I executed the steps you have advised.
1. MX Record Check [root@ip-173-201-189-43 necs14]# [root@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@ip-173-201-189-43 necs14]# clear [root@ip-173-201-189-43 necs14]#
2. A record check [root@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@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@gmail.com wrote:
On Wed, Mar 13, 2013 at 10:03 AM, Austin Einter austin.einter@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@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dear All I have some basic doubts.
1. Do I need to run postfix like /etc/init.d/postfix restart 2. What I found it , it is starting.., but when I check immediately ps -ef | grep postfix, I do not see any postfix process running. 3. Is there any system config file, where I need to mention system need to run postfix not sendmail.... 4. If postfix is not running, how am I able to send mails out....
5. I read some "make sure port 25 does not relay mails", can somebody explain more in this regard and how do I stop port 25 relaying mails...
My apologize for novice questions.
Regards -Austin
On Thu, Mar 14, 2013 at 4:27 AM, Austin Einter austin.einter@gmail.comwrote:
Dear Les Mikesell I executed the steps you have advised.
- MX Record Check
[root@ip-173-201-189-43 necs14]# [root@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@ip-173-201-189-43 necs14]# clear [root@ip-173-201-189-43 necs14]#
- A record check
[root@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@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@gmail.comwrote:
On Wed, Mar 13, 2013 at 10:03 AM, Austin Einter austin.einter@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@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/13/2013 07:03 PM, Austin Einter wrote:
Dear All I have some basic doubts.
- Do I need to run postfix like /etc/init.d/postfix restart
- What I found it , it is starting.., but when I check immediately ps -ef
| grep postfix, I do not see any postfix process running.
In Centos we still have the service command, and it works well with services like postfix. So you start, restart, and stop with:
service postfix start/stop/restart/status
Note that at some point, probably Centos 7, 'service' is going away.
Oh, and:
chkconfig --list|grep postfix
It should be on for all run levels if not:
chkconfig postfix on
- Is there any system config file, where I need to mention system need to
run postfix not sendmail....
Did you install sendmail?
grep sendmail /root/install.log
service sendmail status
chkconfig --list|grep sendmail
- If postfix is not running, how am I able to send mails out....
check to see what is running.
- I read some "make sure port 25 does not relay mails", can somebody
explain more in this regard and how do I stop port 25 relaying mails...
Read to Postfix docs on this first then ask questions. Do a google search. This is something you need to know about. the campworld howto sets you up safe. If you got all of his stuff done.
Dear Robert I have a bigger problem.
sendmail was running previously. thats the reason I was able to send mail. Mow did chkconfig off for sendmail.
Now postfix is running.
Both send/recv not working now.
While sending mail from roundcuble it says "connection to server failed".
regards -austin
On Thu, Mar 14, 2013 at 4:47 AM, Robert Moskowitz rgm@htt-consult.comwrote:
On 03/13/2013 07:03 PM, Austin Einter wrote:
Dear All I have some basic doubts.
- Do I need to run postfix like /etc/init.d/postfix restart
- What I found it , it is starting.., but when I check immediately ps -ef
| grep postfix, I do not see any postfix process running.
In Centos we still have the service command, and it works well with services like postfix. So you start, restart, and stop with:
service postfix start/stop/restart/status
Note that at some point, probably Centos 7, 'service' is going away.
Oh, and:
chkconfig --list|grep postfix
It should be on for all run levels if not:
chkconfig postfix on
- Is there any system config file, where I need to mention system need to
run postfix not sendmail....
Did you install sendmail?
grep sendmail /root/install.log
service sendmail status
chkconfig --list|grep sendmail
- If postfix is not running, how am I able to send mails out....
check to see what is running.
- I read some "make sure port 25 does not relay mails", can somebody
explain more in this regard and how do I stop port 25 relaying mails...
Read to Postfix docs on this first then ask questions. Do a google search. This is something you need to know about. the campworld howto sets you up safe. If you got all of his stuff done.
On 03/13/2013 07:42 PM, Austin Einter wrote:
Dear Robert I have a bigger problem.
sendmail was running previously. thats the reason I was able to send mail. Mow did chkconfig off for sendmail.
Now postfix is running.
Both send/recv not working now.
While sending mail from roundcuble it says "connection to server failed".
Look at /var/log/maillog and see what it says there.
And I think roundcube does not directly send via port 25 (postfix) but sends through dovecot. So I would look for dovecot errors. Is it running? Have you set it to be running at boot?
On Wed, Mar 13, 2013 at 5:57 PM, Austin Einter austin.einter@gmail.com wrote:
[root@ip-173-201-189-43 necs14]#
I see in my firewall telenet/25 is blocked. However smtp/25 is allowed.
What does that mean? Both services use TCP. Telnet is normally port 23, SMTP is 25. I suggested 'telnet IP_address 25' as a quick way to see if tcp/25 is permiited.
I can't connect now, though, so either postfix is not listening or there is a firewall somewhere.
telnet ipaddress 25 is not working, looks postfix is not running, but i am clueless why it does not startup even if i do /etc/init.d/postfix restart. even if it is not running, how i am able to send mails out using roundcube....
-austin
On Thu, Mar 14, 2013 at 4:40 AM, Les Mikesell lesmikesell@gmail.com wrote:
On Wed, Mar 13, 2013 at 5:57 PM, Austin Einter austin.einter@gmail.com wrote:
[root@ip-173-201-189-43 necs14]#
I see in my firewall telenet/25 is blocked. However smtp/25 is allowed.
What does that mean? Both services use TCP. Telnet is normally port 23, SMTP is 25. I suggested 'telnet IP_address 25' as a quick way to see if tcp/25 is permiited.
I can't connect now, though, so either postfix is not listening or there is a firewall somewhere.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos