Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > configuring sendmail with mail server at work

configuring sendmail with mail server at work
Thread Tools
macaroni
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Mar 26, 2003, 02:18 AM
 
Does anyone know how I might configure sendmail to use our mail server at work?

All I want is to have sendmail send emails using my email account at work?

Thanks...
     
Rainy Day
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status: Offline
Reply With Quote
Mar 27, 2003, 04:02 AM
 
I think SMART_HOST is what you're looking for.
     
glasn0st
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Mar 30, 2003, 07:30 PM
 
And for those like me who shiver at the thought of Sendmail's m4 files, just edit /private/etc/mail/sendmail.cf with pico, find the lines containing:

# "Smart" relay host (may be null)
DS


and replace the DS line with:

DSoutgoing.mail.host.com

After restarting sendmail it should now relay all messages through this smart host. Do a tail -f /var/log/mail.log in the terminal to see where they end up.
     
l008com
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
May 4, 2003, 09:52 PM
 
Originally posted by glasn0st:
And for those like me who shiver at the thought of Sendmail's m4 files, just edit /private/etc/mail/sendmail.cf with pico, find the lines containing:

# "Smart" relay host (may be null)
DS


and replace the DS line with:

DSoutgoing.mail.host.com

After restarting sendmail it should now relay all messages through this smart host. Do a tail -f /var/log/mail.log in the terminal to see where they end up.
I run Mac OS X Server and I use Appe's Mail Server, but lots of software still talks directly to sendmail, so I want to relay all mail form sendmail to my Apple Mail Server where it cna be send normally. If I do what you said, will that work for me, since that address it the address of sendmail too? Do you have to do something special so sendmail doesn't try to loop through itself forever?
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:38 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,