1834156 Members
2494 Online
110064 Solutions
New Discussion

Sendmail Questions

 
SOLVED
Go to solution
Sanjay Tailor
Frequent Advisor

Sendmail Questions

Hello,

I have sendmail running and want the server to reject all incoming mail from outside. Basically, I only want to send mail within the server. Can this be done? I do not have DNS running.

Thanks for your help,
Sanjay
6 REPLIES 6
Santosh Nair_1
Honored Contributor

Re: Sendmail Questions

If you're just sending mail, then you don't really need to have sendmail running. Your mail client should be able to connect to recipient machine.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Uday_S_Ankolekar
Honored Contributor

Re: Sendmail Questions

Hi,

If I understood your question correctly then,

No need to run sendmail process for server internal mails.

Goodluck,

-USA..
Good Luck..
harry d brown jr
Honored Contributor
Solution

Re: Sendmail Questions

Santosh is correct, if you aren't using sendmail, shut it down for security reasons, because you don't need it to send mail.

And as for security issues, link to this, print it, and consider some of the options:

http://people.hp.se/stevesk/bastion11.html


live free or die
harry
Live Free or Die
Sanjay Tailor
Frequent Advisor

Re: Sendmail Questions

Hello,

Thank you for your answers. How do i safely turn off sendmail. I checked the man page and I found a sendmail -bk option which will kill the daemon. How do I set my startup files so that when I reboot, it will not turn on sendmail.

Thanks again,

Sanjay
Sachin Patel
Honored Contributor

Re: Sendmail Questions

Hi Sanjay
cd /etc/rc.config.d/
vi mailservers and change line
export SENDMAIL_SERVER=1
to
export SENDMAIL_SERVER=0

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: Sendmail Questions

Hi
I forget to mention how to stop sendmail before you change mailserver file

#/sbin/rc2.d/S540sendmail stop

Sachin
Is photography a hobby or another way to spend $