Hi,
When you send or receive the mail check
tail -f /var/log/maillog
and paste the error so might can help you.
Rishikesh Sharma wrote:
Yes, I have tried with the how to's available on internet but i
have
got error message when i tried to send email from gmail to my mail
server "The error that the other server returned was: 550 550 "
When i tried to send email to gmail from my mail server account it got
error as "deffered, no route to host."
If you have done proper smtp_auth then mail should be sent.
Still can you check
dig -t mx
yourdomain.com
?
As you are getting no route to host ?
Check your firewall settings as well it should allow 25 and 110 port.
Your mx record can not be found.
Is your DNS is registered DNS ? Otherwise you need to get DNS entry to
some register DNS server.
It is not enough that your server have MX entry, How other people will
find your mx ?
[root@station253 Desktop]# dig -t mx
csmanipur.com
; <<>> DiG 9.5.1b2-RedHat-9.5.1-0.8.b2.fc10 <<>> -t mx
csmanipur.com
;; global options: printcmd
;; connection timed out; no servers could be reached
/IT should be shown like below/
[root@station253 Desktop]# dig -t mx electromech.info
; <<>> DiG 9.5.1b2-RedHat-9.5.1-0.8.b2.fc10 <<>> -t mx
electromech.info
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29638
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;electromech.info. IN MX
;; ANSWER SECTION:
electromech.info. 14400 IN MX 0
aspmx.l.google.com.
;; AUTHORITY SECTION:
electromech.info. 86399 IN NS
ns2.dreamhost.com.
electromech.info. 86399 IN NS
ns1.dreamhost.com.
;; ADDITIONAL SECTION:
aspmx.l.google.com. 92 IN A 209.85.199.114
ns2.dreamhost.com. 8627 IN A 208.96.10.221
;; Query time: 663 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon May 11 12:12:40 2009
;; MSG SIZE rcvd: 146
[root@station253 Desktop]#
Please check and let us know.
--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
16, Sun Rise complex,
Nr. Mansi cross Road,
Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info