Operating System - HP-UX
1753816 Members
8323 Online
108805 Solutions
New Discussion юеВ

Re: How to check whether SMTP and SFTP is installed in Our System.

 
SOLVED
Go to solution
unixguy_1
Regular Advisor

How to check whether SMTP and SFTP is installed in Our System.

Hi,

How to Checnk that the SMTP and SFTP Server is installed in our server.

Pls Guide me step by step.

Regards,
Unixguy.
5 REPLIES 5
Ganesan R
Honored Contributor
Solution

Re: How to check whether SMTP and SFTP is installed in Our System.

Hi Unixguy,

SFTP is part of secure shell product you need to install. It is available with openssh and HP secure shell. openssh is open source available for all flavour of unix whereas HP secure shell is from HP.
Check with swlist if it is already installed.

# swlist |grep -i secure
T1471AA A.04.00.002 HP-UX Secure Shell

# swlist |grep -i open
SOE-Openssh 4.6p1-1 SOE-Openssh 4.6p1 - SSH-SecSH protocol suite, encryption for network services

SMTP is mail transferring protocol you need to enable.
Best wishes,

Ganesh.
bright image
Frequent Advisor

Re: How to check whether SMTP and SFTP is installed in Our System.

To check if they are running you can look at the listening network ports

$ egrep "ssh|smtp" /etc/services
smtp 25/tcp # Simple Mail Transfer Protocol
ssh 22/tcp # Secure Shell

$ netstat -a |grep LISTEN |egrep "smtp|ssh"
tcp 0 0 *.ssh *.* LISTEN

In this case ssh is running but not smtp.

SMTP is started using the sendmail server on HP-UX.

Frank de Vries
Respected Contributor

Re: How to check whether SMTP and SFTP is installed in Our System.

A good way to check if SMTP is running
do a :

telnet ipofhost portnr

eg for us: telnet 10.214.22.25 25

and you should see a response like this:

220 vwagwox00xxx.vw.vwg Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Thu, 5 Feb 2009 14:01

Look before you leap
Md. Farhan A Azam
Trusted Contributor

Re: How to check whether SMTP and SFTP is installed in Our System.

Hi,

Frank suggested good way to check SMTP,

and also you check in

#more /etc/services

you will get entry like this
smtp 25/tcp # Simple Mail Transfer Protocol

It means SMTP is there, and to check that its running, then telnet the IP through 25 number port.

#telnet {IP address} {port no. (e.i. 25)}

If you get help , then go ahead and assign the points.
unixguy_1
Regular Advisor

Re: How to check whether SMTP and SFTP is installed in Our System.


Hi,

I close this Case,I have found the solution.

Regards,
Unixguy.