We help IT Professionals succeed at work.

Sendmail relay

lolaferrari
lolaferrari asked
on
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
Comment
Watch Question

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

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

Commented:
Wait - insecurely configure?

Commented:
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 :)