We help IT Professionals succeed at work.

Sendmail relay

lolaferrari asked
If I want to run sendmail on my machine just to relay to
A mail relay host on another machine how do insecurely configure it to run on my machine- this is on linux
Watch Question

Just add the smarthost configuration to your /etc/mail/sendmail.mc file

dnl define(`SMART_HOST', `smtp.your.provider')dnl

Wait - insecurely configure?

I think what he is trying to say is he has a linux server on his network and he wants to forward mail out of there without any security implications.

By default relaying will be disabled from his linux server, and also most likely he will have troubles on his smart host too and need to open it up to relay from his linux server.  But that is another topic :)