[CLUE-Tech] How to verify SMTP config
Jeffery Cann
fabian at jefferycann.com
Mon Jun 23 18:59:02 MDT 2003
On Monday 23 June 2003 02:25 pm, Matt Gushee wrote:
> > and I'll use telnet
> ^^^^^^
> Isn't that spelled S-S-H?
Matt,
I think he meant to use telnet to the SMTP port (25) and see if you can
connect, i.e.,
$ telnet blah.com 25
You should see something like:
$ telnet blah.com 25
Trying x.xx.x.xx...
Connected to blah.com
Escape character is '^]'.
220 blah.com ESMTP
quit
After the 220, you can submit SMTP commands if you wish. Generally, simply
connecting is good enough as it tests your xinetd (or *gasp* inetd)
configuration for SMTP daemon.
But:
$ ssh blah.com 25
does not work - ssh tries to run '25' as a command (makes sense because sshd
is listening on only one port).
HTH
Jeff
--
"Keep yourselves far from every form of exaggerated nationalism, racism and
intolerance."
-- Pope John Paul II
More information about the clue-tech
mailing list