Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-15-2006, 11:39 PM   #1
Registered: Jan 2006
Posts: 65

Rep: Reputation: 15
Question Can one configure sendmail to use an SMTP server?

We have an SMTP server and wanted to configure sendmail on our linux boxes to use that server, very much like one would configure a UPS to use an SMTP server to send out alerts.

Is there a place in the configuration file in sendmail to tell it to send out email through a regular SMTP server?

Is there any way to do this? I've found information configuring to use a central hub, but we don't really need something that fancy...we just need to be able to send out alerts from our linux servers, and we would like to do it using our existing SMTP server.

Would smarthost be a good place to focus my efforts? Also, does anyone know how to configure the on RHES? The info I've found through google indicates I need to utilize the m4 program using sendmail macros...but I can't find any macros that appear to be related to sendmail. Should they be there if sendmail is installed? Might I have forgotten to check to have them installed when building the system?

Thanks for any info.

Last edited by laggerific; 02-16-2006 at 01:06 AM.
Old 02-16-2006, 10:49 AM   #2
Registered: Jan 2006
Posts: 65

Original Poster
Rep: Reputation: 15
Ah must be like people who grew up with Windows trying to deal with DOS commands...more oldschool than I am used to, but we have success.

I did modify the smarthost entry but I also needed to comment out the DAEMON_OPTIONS section as well so that it would not attempt to use itself for email. So our systems are now able to use the existing SMTP server.


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
configure sendmail to use a specific smtp server TheOneAndOnlySM Linux - Software 4 06-20-2004 05:15 AM
Help! Can I install an smtp Server/(sendmail) on my firewall? mfeoli Linux - Networking 4 02-12-2004 09:19 AM
configure pop-besore-smtp on sendmail nelsoon Linux - Software 1 12-22-2003 09:21 AM
How to configure sendmail to use other smtp server? josealexandre Linux - Newbie 2 10-12-2003 05:09 PM
How to configure smtp server in RH7.3 renjith_renjith Linux - Networking 1 04-25-2003 09:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration