LinuxQuestions.org
Register a domain and help support LQ
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 03-17-2009, 11:57 AM   #1
sweye
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Configuring Sendmail to forward to different mail server


Hello all - I'm currently running a Fedora mail server in the example.com domain.

I've been asked to install an Exchange server and to start converting those users who want to use Outlook to the exchange server.

My exchange server is in the exchange.example.com domain. I have 60 out of 350 users that want to use Outlook with exchange.

How can I configure sendmail to forward those 60 users mail to the exchange server?

I've tried using the Alias file and I've moved my Fedora server resolv.conf to point to the exchange.example.com domain and I've had no luck.

I'm new to the email world as far as having to be the IT guy for this. Any help would be greatly appreciated.
 
Old 03-17-2009, 12:55 PM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
What are you tring to do? you can pop emails with Outlook directly from your sendmail server (no need for exchange), but if for some reason you need the exchange server, then consider this:

Exchange has a setting which allows all outgoing mail to be forwarded to your sendmail gateway.
Now for your example.com domain, you should make a mailertable entry (/etc/mail/mailertable) for like this:


Quote:
@example.com SMTP:exchange.example.com
This way all inbound mail would be forwarded to your exchange server.
If you want only certain users to use the exchange server, then use /etc/mail/virtusertable:

And make sure their mailboxes now reside on exchange server.

Last edited by chitambira; 03-17-2009 at 12:56 PM.
 
  


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
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 10:18 AM
Sendmail mail forward prashanlk Linux - Networking 2 09-14-2008 10:35 PM
Configuring sendmail for mail forwarding to server Yalla-One Slackware 16 11-02-2007 06:27 PM
configuring sendmail to forward mails to Domino server mogundepo Linux - General 0 07-07-2006 11:15 AM
Sendmail problem .forward.mail Please HELP kepweng Linux - Software 0 04-16-2004 04:29 AM


All times are GMT -5. The time now is 05:22 PM.

Main Menu
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