Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail and Exchange 2003

Status
Not open for further replies.

pbodini1

IS-IT--Management
Dec 2, 2005
1
IT
Hello,

i have to move some of my emails from my sendmail server to an exchange server 2003.

Can i configure the sendmail server to redirect this emails my exchange server without change the stmp address ?

Example : me@mydomain.com was on my sendmail server. Now is on my exchange server. All the emails for @mydomain.com still go to my sendmail server. Sendmail should redirect all the emails for me@mydomain.com to the exchange server.

is it possible ?
thanks
 
All instructions below assume a typical RedHat style sendmail layout.

Remove mydomain.com from the w class (typically the local domains are in /etc/mail/local-host-names). Add a setting to mailertable to relay that domain to the exchange box. Look in /usr/share/sendmail-cf/README for the syntax of the mailertable file. Rebuild the mailertable.db and restart sendmail.

If you are unsure that your sendmail supports the mailertable option, check it with something similar to this:
Code:
[root@lunar mail]# grep Kmailertable sendmail.cf
Kmailertable hash -o /etc/mail/mailertable.db
If you have that, then you have mailertable support enabled. If not, then you need to add it. Put the following line in your sendmail.mc:
Code:
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
Rebuild your senmdail.cf, then restart sendmail.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top