| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-23-2008, 04:25 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2008
Distribution: Oracle Linux
Posts: 27
Rep:
|
I need help with Sendmail and Exchange
I am using sendmail and Exchange server 2003 in the same network.
exchange has priority 10 and sendmail has priority 20 in dns. both
the server can send mail external email server but can not communicate between them.
moreover exchange is accepting external mail but sendmail is not
accepting any external mail. can anybosy help me? Urgent help required.
|
|
|
|
10-23-2008, 04:52 PM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
There's something else that is urgent, don't use titles that say you're question is urgent. Be more descriptive so we know what your thread is about.
Well, sendmail isn't going to receive any email unless the exchange server is down or unavailable. That's what that priority setting is for in the dns configuration for MX records.
What do you mean sendmail and exchange can't communicate between the two? As in send email to each other? If they're setup as the primary and secondary mail servers with priorities 10 and 20, they don't need to communicate directly. What you do is setup sendmail to hold onto the messages to be delivered when the primary mail server (exchange in your case with priority 10) is available once again.
|
|
|
|
10-25-2008, 01:28 AM
|
#3
|
|
LQ Newbie
Registered: Feb 2008
Distribution: Oracle Linux
Posts: 27
Original Poster
Rep:
|
Sorry for the subject. next time i will be careful.
Let me describe the scenario. We have 2 office in 2 different location. Lets say one location is "A" and other one is "B". we have one mail server in Location "A" which is exchange 2003. now i have installed one more mail server in location "B" which is sendmail for the employee of Location "B". So, both the mail server are primary.based on this scenario suggest me what to do to setup both the mail server.
|
|
|
|
10-25-2008, 04:27 AM
|
#4
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
The thread title has been edited to something a bit more relevant to the contents of the thread.
|
|
|
|
10-25-2008, 11:37 AM
|
#5
|
|
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
|
I can only guess what you did wrong, since you didn't describe at all how you set them up, but it sounds like you told each server that it's domain is "domain.tld" (since you're in the same company). If the users in each office have only e-mail addresses of "user@domain.tld", then each server is only going to look at itself to see if it can deliver the message. If it knows about that user, it will put the message in their mailbox. If it cannot find the user, it will assume they don't exist at all, because each server thinks it's the authority for "domain.tld" and will therefor bounce the message (it won't send it to the other server to see if that user exists on the other server).
The easiest thing would be to have all the mailboxes on Exchange and only use Sendmail to forward all e-mail to the Exchange server. You should configure a VPN in the remote office so employees can access Exchange from there.
It would be a lot easier to figure out the problems with your Sendmail if you posted the contents of your sendmail.mc file.
|
|
|
|
10-26-2008, 01:10 AM
|
#6
|
|
LQ Newbie
Registered: Feb 2008
Distribution: Oracle Linux
Posts: 27
Original Poster
Rep:
|
reddazz- thanks for editing the subject.
chrot- you are right. i configure both server with same domain. actually i am migrating from exchange 2003 to sendmail. and this is first time i am configuring sendmail. so, before 100% sure that my sendmail is stable, i dont want to take any risk. i wanted to run both mail server same time. So that i can migrate the users slowly from exchange to sendmail. can you give me any better suggestion to do so?
|
|
|
|
12-08-2008, 12:34 PM
|
#7
|
|
LQ Newbie
Registered: Dec 2008
Posts: 1
Rep:
|
Hi all,
I have similar situation, however instead of migrating from Exchange to Sendmail we are looking into integrating Exchnage and Sendmail.
Our curent set up is running Sendmail IMAP and we want to keep it that way. Is there any way to integrate exchange and keep sendmail at the same time. So if exchange fails we can quickly switch to sendmail.
I looked around and seen that it is common to run Sendmail with spam assasin to scan through emails and then route message to exchange. Is it posible to do the same thing but in addition to store a copy on sendmail. and the other way round when sending messages out.
Sorry if some of this sounds like nonsence as I have no experience with Sendmail however my coleague does and I will be looking into it too. I have some exchange experience. Its a bit of a learning curve for me.
Thanks
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:00 AM.
|
|
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
|
|