LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2007, 11:45 AM   #1
hotfoot
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
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.
 
Old 11-10-2007, 09:07 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
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.
 
  


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
integration linux sendmail with exchange server . rahuldevalone Linux - Enterprise 3 10-16-2007 10:44 PM
Integrate linux sendmail with exchange server? rahuldevalone Linux - Networking 1 10-09-2007 09:48 AM
Help me integrate linux sendmail with exchange server? rahuldevalone Linux - Server 1 10-09-2007 09:27 AM
Using Sendmail to relay all mail to my Exchange Server TimothyBoggess Linux - Newbie 7 05-01-2007 04:32 AM
qmail as exchange for sendmail server srikz Red Hat 2 09-29-2004 12:02 AM


All times are GMT -5. The time now is 10:21 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration