how to check for sendmail version & telnet problems

2007-12-25 11:06:00

Hello all,

Special thanks to the following gurus who helped. You guys are great!

J. J. Johnson

Emanuel Almeida

Sean Quaint

Brett Lymn

Jay Lessert

The following are the answers to my question (see below):

1) There is another way of checking for the sendmail version. Try:

     # /usr/lib/sendmail -bt -d

You should see:

     Version 8.9.3+Sun

     Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7

                    NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS

NISPLUS

                    QUEUE SCANF SMTP USERDB XDEBUG

Another variant is this:

     # /usr/lib/sendmail -d0.1 -bt < /dev/null

I think both means the same thing :)

2) On the box that you are trying to connect to, edit the following

etc/default/login file

  and "comment" the line as follows:

# If CONSOLE is set, root can only login on that device.

# Comment this line out to allow remote login by root.

#

#CONSOLE=/dev/console

Actually, I have yet to try them as my system administrator is busy. On the

other hand, it's only polite if I submit the summary early. Anyway, I think

it should work since others have tried them successfully. I'll try it once

my sys admin is free. If the results are different from the above, I'll

post another summary.

cheers!

heemeng

*** Original Question ***

Hi gurus,

I'm currently trying to check for the version of sendmail used in our

servers.

I know of one way of doing so, that is to telnet locally to the server

itself.

After logging in, I managed to get the following from one of my servers:

  Trying ::1...

  Connected to localhost.

  Escape character is '^]'.

  220 STM1@nirvana.com.sg ESMTP Sendmail 8.9.3+Sun/8.9.3; Mon, 28 Aug

2000

15:25:18

   +0800 (SGT)

>From the above, I identified that the sendmail version used is 8.9.3

However, when I repeated the same process on another server, I get:

  Not on system console

  Connection closed by foreign host

Somehow, it does not work! I checked the /etc/inetd.conf file and

verified

that telnet daemon is enabled.

My questions:

1) Are there any other methods of checking for the sendmail version?

2) What happened on my second server? Have anyone encountered this

before?

Please advise.

Lastly, a million thanks in advance. I'll summarize once I get the

feedbacks :)

cheers!

heemeng

S

U BEFORE POSTING please READ the FAQ located at

N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq

. and the list POLICY statement located at

M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy

A To submit questions/summaries to this list send your email message

to:

N sun-managers@ececs.uc.edu

A To unsubscribe from this list please send an email message to:

G majordomo@codeprof.ececs.uc.edu

E and in the BODY type:

R unsubscribe sun-managers

S Or

. unsubscribe sun-managers original@subscription.address

L To view an archive of this list please visit:

I http://www.latech.edu/sunman.html

S

T

S

U BEFORE POSTING please READ the FAQ located at

N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq

. and the list POLICY statement located at

M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy

A To submit questions/summaries to this list send your email message to:

N sun-managers@ececs.uc.edu

A To unsubscribe from this list please send an email message to:

G majordomo@codeprof.ececs.uc.edu

E and in the BODY type:

R unsubscribe sun-managers

S Or

. unsubscribe sun-managers original@subscription.address

L To view an archive of this list please visit:

I http://www.latech.edu/sunman.html

S

T

Comments

Got something to say?

You must be logged in to post a comment.