LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Forwarding Sendmail to my Exchange Server (https://www.linuxquestions.org/questions/linux-newbie-8/forwarding-sendmail-to-my-exchange-server-598081/)

hotfoot 11-08-2007 10:45 AM

Forwarding Sendmail to my Exchange Server
 
I am trying to setup my new subdomain (xxx.yyyy.com) to pass all email to my exchange server (mail.yyyy.com). I have gone through a number of walk throughs to get it setup and working. Here is the full setup...


I have multiple websites hosted on this server xxx.yyyy.com, I am trying to setup a few pages on each sub-domain to collect info and send emails to certain people. I am setup in the exchange server to relay emails. However my sendmail is only queuing up the messages and not delivering them to the exchange server.

I have added the subdomains into the Sendmail configuration (Relay Domains, and Mailertable). I am not sure what else to do.....any help would be greatly appriciated.

MensaWater 11-10-2007 08:07 AM

Did you setup smart relay in the sendmail.cf file?

You should have a line in sendmail.cf that starts with:
DS
You should follow the DS with your Exchange server name:
DSmail.yyyy.com

You may not need the yyyy.com if your name resolves without it. You should check to make sure it is reachable from the Sendmail server:

host mail.yyyy.com
-or-
host mail.com

You do need to setup Exchange to accept relay from the Sendmail server but it sounds like you've done that.

The mailer table isn't needed for this simple smart relay. The mailer table is used to allow you to direct different domains to different relay servers.


All times are GMT -5. The time now is 09:56 PM.