Solved

sendmail

Posted on 2008-10-28
5
461 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 78

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

740 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