LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2008, 03:30 AM   #1
Toufiq
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
cannot send mail from one domain to another


I have two internal sendmail servers which are running successfully. Both the servers have their own dns. One is x.com (192.168.2.5) and another is y.com (192.168.2.21). I can not send mail from x.com to y.com.

Please help me to configure the servers.

Last edited by Toufiq; 03-20-2008 at 04:19 AM.
 
Old 03-20-2008, 03:44 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you have MX records in you zone files?

Try changing you thread title to something vaguely dexcriptive of your problem rather than "Pls help me"

Last edited by billymayday; 03-20-2008 at 03:45 AM.
 
Old 03-20-2008, 04:17 AM   #3
Toufiq
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Would you please instruct me how to do the mx record?

Last edited by Toufiq; 03-20-2008 at 04:27 AM.
 
Old 03-20-2008, 04:32 AM   #4
Toufiq
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
$TTL 86400
@ IN SOA dns.bipl.com. root@bipl.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

@ IN NS dns.bipl.com.
IN MX 10 mail.bipl.com.

IN A 127.0.0.1
dns IN A 192.168.2.5
mail IN A 192.168.2.5
www IN CNAME bipl.com.



$TTL 86400
@ IN SOA dns.hbcl.com. root@hbcl.com. (
49 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

@ IN NS dns.hbcl.com.
IN MX 20 mail.hbcl.com.



IN A 127.0.0.1
dns IN A 192.168.2.21
mail IN A 192.168.2.21
 
Old 03-20-2008, 04:45 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
check if things are working first with

dig bipl.com MX
 
Old 03-20-2008, 04:50 AM   #6
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Rep: Reputation: 15
You have to be more specific. Between this might help

http://www.zytrax.com/books/dns/ch8/mx.html
 
Old 03-20-2008, 05:25 AM   #7
Toufiq
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
[root@mail ~]# dig bipl.com mx

; <<>> DiG 9.2.4 <<>> bipl.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10568
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

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

;; ANSWER SECTION:
bipl.com. 258012 IN MX 10 smtp.getontheweb.com.

;; AUTHORITY SECTION:
bipl.com. 67561 IN NS ns2.dnsnameservice.com.
bipl.com. 67561 IN NS ns1.dnsnameservice.com.

;; ADDITIONAL SECTION:
smtp.getontheweb.com. 258792 IN A 66.36.236.47
ns1.dnsnameservice.com. 238763 IN A 209.61.212.151
ns2.dnsnameservice.com. 6414 IN A 209.61.212.88

;; Query time: 488 msec
;; SERVER: 69.88.13.5#53(69.88.13.5)
;; WHEN: Thu Mar 20 15:31:00 2008
;; MSG SIZE rcvd: 158



[root@hbclmail ~]# dig hbcl.com mx

; <<>> DiG 9.2.4 <<>> hbcl.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65470
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2

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

;; ANSWER SECTION:
hbcl.com. 86400 IN MX 20 mail.hbcl.com.
hbcl.com. 86400 IN MX 10 mail.bipl.com.

;; AUTHORITY SECTION:
hbcl.com. 86400 IN NS dns.hbcl.com.

;; ADDITIONAL SECTION:
mail.hbcl.com. 86400 IN A 192.168.2.21
dns.hbcl.com. 86400 IN A 192.168.2.21

;; Query time: 6 msec
;; SERVER: 192.168.2.21#53(192.168.2.21)
;; WHEN: Thu Mar 20 15:19:06 2008
;; MSG SIZE rcvd: 123
 
Old 03-20-2008, 05:34 AM   #8
Toufiq
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
[root@mail ~]# dig bipl.com mx

; <<>> DiG 9.2.4 <<>> bipl.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19130
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2

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

;; ANSWER SECTION:
bipl.com. 86400 IN MX 10 mail.bipl.com.
bipl.com. 86400 IN MX 20 mail.hbcl.com.

;; AUTHORITY SECTION:
bipl.com. 86400 IN NS dns.bipl.com.

;; ADDITIONAL SECTION:
mail.bipl.com. 86400 IN A 192.168.2.5
dns.bipl.com. 86400 IN A 192.168.2.5

;; Query time: 4 msec
;; SERVER: 192.168.2.5#53(192.168.2.5)
;; WHEN: Thu Mar 20 15:41:28 2008
;; MSG SIZE rcvd: 123
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need some help pls andyar85 Programming 7 04-06-2011 04:54 AM
RHEL 3 with Windows XP - Help please pls pls ar_m_in Red Hat 7 10-01-2006 10:42 AM
hello, help me pls. moodupani Programming 2 08-31-2005 06:29 PM
Help Pls...~ shinwai Linux - General 4 08-26-2005 07:49 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 06:12 PM


All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration