LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Make sendmail use a different server (https://www.linuxquestions.org/questions/linux-software-2/make-sendmail-use-a-different-server-166103/)

kuso 04-04-2004 12:29 PM

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

kuso 04-04-2004 02:46 PM

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


All times are GMT -5. The time now is 10:45 PM.