Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-03-2003, 10:03 AM
|
#1
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Rep:
|
POstfix not sending to a local exchange server
Hello all.
I have a Postfix server running RedHat 9.0. It is sending and receiving email just fine to and from other email servers outside our intranet.
The problem is that I have another server running M$ exchange that I need to be able to send emails to as well. While I can receive mail from this server, I can't send mail to it.
Whenever I try and send mail to an email address that is hosted by this server the Linux box seems to have trouble knowing which of my servers is the email server. It is trying to connect on port 25 to the servers I have set up as the dns servers or to our web server.
I checked the mx record in my dns server and it is set up correctly.
Any thoughts?
Thanks
|
|
|
06-03-2003, 12:16 PM
|
#2
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Original Poster
Rep:
|
more info
By the way (I always forget this). My postfix version is 1.1.11
|
|
|
06-03-2003, 02:03 PM
|
#3
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Are there any error messages on either side of the smtp transaction (Postfix or Exchange)?
|
|
|
06-03-2003, 02:09 PM
|
#4
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Original Poster
Rep:
|
Yes,
I tries to conect to one of the server that isn't the email server and the message it gives is
"Server dropped connection"
|
|
|
06-03-2003, 02:16 PM
|
#5
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Quote:
I tries to conect to one of the server that isn't the email server...
|
Erm... you're kind of losing me now. It's connecting to the wrong server?
|
|
|
06-03-2003, 03:26 PM
|
#6
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Original Poster
Rep:
|
I know... it doesn't make sense.
What it says is
"Connecting to Server 10.36.2.18 on port 25 Server dropped connection"
Server 10.36.2.18 is my web server not my email server. It islike the postfix machine doesn't know which server is the email server.
I just tested that theory by setting postfix to relay all messages through the exchange server and it works fine.
The problem is I don't want it to relay through the exchange server.
Let me know if you need more clarification.
Paul
|
|
|
06-03-2003, 03:33 PM
|
#7
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
mkay.. you want mail for local users to go to the Exchange server?
|
|
|
06-03-2003, 03:41 PM
|
#8
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Original Poster
Rep:
|
Heres the deal...
I have two domains... a .edu and a .org
THe .edu domain's email is on the exchange server
The .org domain's email is on the postfix server.
I am able to send from the .edu to the .org but not the other way around.
I realize this is a bit convaluted. Sorry for the confusion
Paul
|
|
|
06-03-2003, 04:30 PM
|
#9
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Okay now I understand. Thanks.
when you do a 'dig domain.org MX' what do you get and where do you get the response from?
|
|
|
06-04-2003, 07:25 AM
|
#10
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Original Poster
Rep:
|
Here is what I get I stuck "firstdomain" in for my domain and "mypdc" for our pdc:
[root@mail root]# dig firstdomain.edu MX
; <<>> DiG 9.2.1 <<>> firstdomain.edu MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54805
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;montreat.edu. IN MX
;; AUTHORITY SECTION:
montreat.edu. 3600 IN SOA mypdc.firstdomain.edu. anadministrator.firstdomain.edu. 16782 600 600 86400 3600
;; Query time: 2 msec
;; SERVER: 10.36.2.12#53(10.36.2.12)
;; WHEN: Wed Jun 4 08:20:02 2003
;; MSG SIZE rcvd: 76
There you go with the names changed o protect the inocent. It not getting an answer. Can I set up a local MX record like a host file telling my linux server which server to contact when sending mail to firstdomain.edu?
Paul
Paul
|
|
|
06-04-2003, 07:54 AM
|
#11
|
Member
Registered: Nov 2001
Location: Black Mountain , NC
Distribution: Debian
Posts: 46
Original Poster
Rep:
|
It is fixed.
The problem was the DNS record that was set up on the Windows 2000 machine. ARRGGHHHH!
I twas pointing to the domain as if it was a child domain. Thanks so much for your patience and help with this. It was so frustrating.
I thought things were set up correctly.
Mail is flowing well now.
Thanks for the help.
Paul
|
|
|
All times are GMT -5. The time now is 10:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|