LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 10: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, 08:07 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 PM.

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
Open Source Consulting | Domain Registration