Linux - ServerThis 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.
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.
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.
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.
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.
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.