LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-23-2008, 05:25 PM   #1
scream
Member
 
Registered: Feb 2008
Distribution: Oracle Linux
Posts: 32

Rep: Reputation: 0
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.
 
Old 10-23-2008, 05:52 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
Old 10-25-2008, 02:28 AM   #3
scream
Member
 
Registered: Feb 2008
Distribution: Oracle Linux
Posts: 32

Original Poster
Rep: Reputation: 0
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.
 
Old 10-25-2008, 05:27 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The thread title has been edited to something a bit more relevant to the contents of the thread.
 
Old 10-25-2008, 12:37 PM   #5
chort
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: Reputation: 69
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.
 
Old 10-26-2008, 02:10 AM   #6
scream
Member
 
Registered: Feb 2008
Distribution: Oracle Linux
Posts: 32

Original Poster
Rep: Reputation: 0
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?
 
Old 12-08-2008, 01:34 PM   #7
padiya
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
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
 
  


Reply

Tags
exchange, sendmail


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
SMTP Sendmail via Exchange FastForward Linux - Server 3 07-02-2008 04:59 PM
exchange to sendmail Ammad Linux - Networking 1 06-06-2006 09:13 PM
Configuring sendmail like Exchange gauge73 Linux - Networking 10 03-24-2006 03:54 AM
Exchange 2000 to sendmail??????? graystarr Linux - Networking 8 09-06-2004 06:39 AM
exchange to sendmail shabandri Linux - Software 0 02-19-2004 02:36 AM


All times are GMT -5. The time now is 03:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration