LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-04-2004, 12:29 PM   #1
kuso
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Rep: Reputation: 0
Lightbulb Make sendmail use a different server


I have a redhat server running, but I have another server handling my email. Lets say mail.mysite.com

On my server (just mysite.com), when I use sendmail, I would like sendmail to connect to mail.mysite.com and use it.

How can I do this?

Thanks so much!

-billy
 
Old 04-04-2004, 02:46 PM   #2
kuso
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Ya, I figured it out

In your sendmail.mc file, uncomment
define(`SMART_HOST',`your.outgoingsmtp.com')
and fill out your smtp on that line

Then do:

# m4 sendmail.mc > _sendmail.cf
# mv -f _sendmail.cf sendmail.cf

and restart sendmail

-billy
 
  


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
is there a way to make a local linux server the time stamp server for win2k? Lleb_KCir Linux - General 2 09-19-2005 07:05 PM
Make sendmail require authentication tcarpent Linux - Newbie 0 07-22-2005 07:54 AM
Sendmail - Can I make sendmail think its a different machine? Thorkyl Linux - Networking 7 01-05-2004 06:19 PM
sendmail is slow, how to make it fast? raghava Linux - Newbie 0 07-14-2003 06:52 PM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 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