Solved

sendmail

Posted on 2008-10-28
5
466 Views
Last Modified: 2010-04-20
Hello Experts,

I am wanting to configure sendmail that will forward mail to an exchange server.  Does anybody have any howto as to how to go about this?  Also, I want to make sure that the sendmail does not act as a relay.  Any suggestions as to how to go about this is greatly appreciated.

As always, thank you in advance for your time on this matter.
0
Comment
Question by:coperator
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 4

Assisted Solution

by:Kaddict
Kaddict earned 150 total points
ID: 22828517
A quick google gave me that result, maybe its what you're looking for

http://www.gaztronics.net/howto/sendmail_to_exchange.php

0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 250 total points
ID: 22828952

http://docs.hp.com/en/32650-90906/ch10s07.html

http://docs.hp.com/en/32650-90906/ch10s07.html

Best one :
http://groups.google.com/group/comp.mail.sendmail/browse_thread/thread/23b85152b7c0ba6f?pli=1


Read this comments :
Use the sendmail.mc file, and add the line

    define(`SMART_HOST', `your.exchange.server')

somewhere above your MAILER() statements, then rebuild the sendmail.cf from
the sendmail.mc file.

Of course you'll lose any other changes you've directly edited in the
sendmail.cf file, so maybe you'll want to edit sendmail.cf directly again
and change:

# "Smart" relay host (may be null)
DSyour.exchange.server


0
 
LVL 79

Assisted Solution

by:arnold
arnold earned 100 total points
ID: 22833751
Are you locked into using sendmail or do you still have an option to choose an alternate mail server i.e. postfix, or qmail?

You might fair better with postfix, or qmail if you would like to get the incoming email "scanned for virus/worm/spam"
www.postfix.org www.qmail.org, www.lifewithqmail.org.
0
 
LVL 31

Expert Comment

by:rid
ID: 22834781
Just a small comment, possibly verging on the nitpicking:

The mail server must be a relay to do anything useful at all. It relays for the sender, out into the internet, or to a smart host. The point is to have it NOT being an "open relay", in which case it will relay without any discrimination, for anybody to anywhere. You want it tor relay for local hosts to the smart-host, I assume. If you gor for a "don't relay" option, you may kill the transport function altogether.
/RID
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 22834853
about the realy ,
if you dont enable this option DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
then it will not work as open realy. it will only sent email from localhost, now unless some one hold any system password to send email from local host its different issue
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question