Operating System - HP-UX
1833032 Members
2360 Online
110049 Solutions
New Discussion

Disabling the use of TELNET:25 command for local users

 
Sébastien N
Advisor

Disabling the use of TELNET:25 command for local users

Hi,

I want to prevent local users to connect my smtp server on port 25 (via telnet for ex.) to avoid "anonymous mails" except for identified users (root, ...).
What is the better and simpliest way to do that ?

Thanx,
Sebastien.
5 REPLIES 5
G. Vrijhoeven
Honored Contributor

Re: Disabling the use of TELNET:25 command for local users

Niraj Kumar Verma
Trusted Contributor

Re: Disabling the use of TELNET:25 command for local users

Hi,

I have a suggesation.

you can use postfix, its very similar to the sendmail and
you can achive very good security.

visit

www.postfix.org

Regards
-Niraj
Niraj.Verma@philips.com
Sébastien N
Advisor

Re: Disabling the use of TELNET:25 command for local users

I forgot to say that the SMTP server is not administrate by myself.

What I want to do is prevent specific users (but not all users) on server A to access port TCP/25 on server B without modifying server B.

Any ideas ?
Niraj Kumar Verma
Trusted Contributor

Re: Disabling the use of TELNET:25 command for local users

Hi,

You can achive this by writing a WRAPPER to your telnet ....


-Niraj
Niraj.Verma@philips.com
Sébastien N
Advisor

Re: Disabling the use of TELNET:25 command for local users

Hi,

What do you mean by "write a wrapper" ? Do you have an exemple ?
I tried tcp_wrapper, but it seems to work only on incoming connections :-(