Re: Bash Script for Mail sending Check



On Sat,18.Apr.09, 08:04:12, Kurian Thayil wrote:
Hi,

Even I am in the same opinion as Tapani. `nc` or `nmap` actually shows
only whether the port is open or not. But what I need is to check if an
SMTP server is listening in that port. So I guess the best tool is
telnet and to check 220 status.

Hhm, I thought a port cannot be "open" unless some server is *listening*
on that port. What other server do you think would otherwise listen to
port 25?

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • RE: unblock port 25
    ... Im not sure what smtp server you are using, if it's sendmail, ... netstat -i shows me that port 25 is listening only for local ... Connection closed by foreign host. ...
    (RedHat)
  • Re: nmap shows 6667/tcp closed irc, hack evidence?
    ... > the nmap output has always verified that. ... > currently listening on it (so no process shows up in netstat -ap). ... > nmap would not be able to see that port if iptables were dropping it. ...
    (comp.security.firewalls)
  • Re: Best Plan of action for 2 forest.......
    ... PortQry reports the status of a port in one of the following ways: ... ..LISTENING This response indicates that a process is listening on the target ...
    (microsoft.public.windows.server.active_directory)
  • Re: RIP issue with HMC - security violation?
    ... using an UDP port, 520, which would normally imply that there was a Routing ... Information Protocol (RIP) process behind it capable of modifying the routing ... as a "listening" state for the application. ...
    (bit.listserv.ibm-main)
  • Re: [SLE] nmap showing cups/nfs open to outside.
    ... I did an nmap scan on my computer itself on thee ways and realized ... external interface; would you please have an advise, ... You can stop CUPS from listening on the external interface by editing ... Nmap should now show port 631 is not open ...
    (SuSE)