Hi sun-expert,
Thanks so much for your quick responded. I got so much reply
more than what I expect. If I miss your name here, please
forgive me.
Thanks again.
Tricia Kha
Question:
=========
> Is there a way or command can tell me what version of sendmail that I current
> have on my machine?.
>
> Thanks in advance.
>
Responded:
==========
----- Begin Included Message -----
>From ajs6143@eerpf001.ca.boeing.com Sat Feb 10 10:54 PST 1996
If you are on Solaris 2.x the command is in /usr/ccs/bin/what
su
then
/usr/ccs/bin/what /usr/lib/sendmail
We place two copies of PEOPLE magazine in a DARK, HUMID mobile home.
45 minutes later CYNDI LAUPER emerges wearing a BIRD CAGE on her head!
These opinions are not those of the Boeing Co., but they do belong
to at least one of my personalities.
----- End Included Message -----
----- Begin Included Message -----
>From chris@Advent.COM Sat Feb 10 12:10 PST 1996
Tricia,
Telnet to your local port 25 ('telnet localhost 25')
or look in your /etc/sendmail.cf file for the DZ flag.
(if your configuration file was built the last time
sendmail was installed.)
By the way, Williams Sonoma is one of my favorite stores! =)
Tricia ====> Thanks
----- End Included Message -----
----- Begin Included Message -----
>From jjr@databook.com Sat Feb 10 12:14 PST 1996
If you an log onto a different machine, try:
sendmail -v tkha@wsgc.com < /dev/null
This will show you the transaction in verbose mode. Assuming 'wsgc.com' is running the unknown version of sendmail, the verbose mode will show you what version it is running. See my example at the end.
- Jim
sttng:/asic/db87144.build55/sec.std70> /usr/lib/sendmail -v jjr@sttng < /dev/null
/home2/jjr/.forward: line 1: jjr@sttng... forwarding to jjr@sttng,jjr@intrinsix.com
jjr@sttng... Connecting to via local...
jjr@sttng... Sent
jjr@intrinsix.com... Connecting to boss via ether...
mail exchanger is boss.databook.com
Trying 205.247.32.10... connected.
220-boss Sendmail 8.6.9/8.6.9 ready at Sat, 10 Feb 1996 15:20:33 -0500
^^^^^^^^^^^^^^^^^^^^
here the sendmail version is reported!
220 ESMTP spoken here
>>> HELO sttng.databook.com
250 boss Hello sttng.databook.com [205.247.32.100], pleased to meet you
>>> MAIL From:<jjr@databook.com>
250 <jjr@databook.com>... Sender ok
>>> RCPT To:<jjr@intrinsix.com>
250 <jjr@intrinsix.com>... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 PAA03110 Message accepted for delivery
>>> QUIT
221 boss closing connection
jjr@intrinsix.com... Sent
-- Jim Reisert <jjr@databook.com> Databook, Inc., Danvers, MA http://ve7tcp.ampr.org/~reisert Tel: 508-762-9779 x224----- End Included Message -----
----- Begin Included Message -----
>From karnott@falcon.tamucc.edu Sat Feb 10 13:28 PST 1996
telnet localhost 25 will telnet to port 25 and the version of sendmail will be on the header ka --<<<<<<<<<<<<<<<<<<<<<*>>>>>>>>>>>>>>>>>>>>>-- Kent Arnott Systems Programmer II, Systems Administrator Texas A&M University-Corpus Christi e-mail: karnott@tamucc.edu ph:(512)994-2693 --<<<<<<<<<<<<<<<<<<<<<*>>>>>>>>>>>>>>>>>>>>>--
----- End Included Message -----
----- Begin Included Message -----
>From covingto@omicron.msmary.edu Sat Feb 10 15:55 PST 1996
You can telnet to port 25 of the machine and it will tell you in the debug output.
---------------------------------------------------------------------------- Michael J. Covington Internet: covingto@msmary.edu Senior Systems Administrator Phone: (301) 447-5220 Department of Information Technology http://www.msmary.edu/~covingto Mount Saint Mary's College Emmitsburg, Maryland 21727-7799 PGP 2.6.2 Public Key Available ----------------------------------------------------------------------------
----- End Included Message -----
----- Begin Included Message -----
>From heas@nexen.com Sat Feb 10 15:57 PST 1996
> maggie [300] telnet wsgc.com 25 > Trying 199.87.9.1 ... > Connected to wsgc.com. > Escape character is '^]'. > 220-ns.wsgc.com Sendmail 8.6.9/8.6.9 ready at Sat, 10 Feb 1996 15:52:31 -0800 ^^^^^^^^^^^^^^ ^^^^^== configuration version type > 220 ESMTP spoken here > quit > 221 ns.wsgc.com closing connection > Connection closed by foreign host.
----- End Included Message -----
----- Begin Included Message -----
>From rachel@juno.virago.org.au Sat Feb 10 16:00 PST 1996
Hello,
try this:
/usr/lib/sendmail -v
Rachel
----- End Included Message -----
----- Begin Included Message -----
>From wolfgang@nosc.mil Sat Feb 10 16:26 PST 1996
Hi Tricia,
If you are asking about wsgc.com, its running 8.6.9.
Just telnet to the computer using port 25, as in "telnet foo.com 25".
We disable sendmail's identifying itself by changing sendmai.cf. Let me know if you are interested and I'll explain how.
Regards, Lew Wolfgang
----- End Included Message -----
----- Begin Included Message -----
>From cbarnard@cs.uchicago.edu Sat Feb 10 17:01 PST 1996
(~) Salmon 27 % telnet wsgc.com smtp Trying 199.87.9.1 ... Connected to wsgc.com. Escape character is '^]'. 220-ns.wsgc.com Sendmail 8.6.9/8.6.9 ready at Sat, 10 Feb 1996 16:57:23 -0800 220 ESMTP spoken here quit 221 ns.wsgc.com closing connection Connection closed by foreign host. (~) Salmon 28 %
You're running sendmail 8.6.9.
+-----------------------------------------------------------------------+ | Christopher L. Barnard O When I was a boy I was told that | | cbarnard@cs.uchicago.edu / \ anybody could become president. | | (312) 702-8850 O---O Now I'm beginning to believe it. | | http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow | | Cyber Rights Now: Accept No Compromise. | +----------PGP public key available via finger or PGP keyserver---------+
----- End Included Message -----
----- Begin Included Message -----
>From tmornini@sun630mp-le0.infomania.com Sat Feb 10 17:15 PST 1996
Telnet to port 25 on that machine. Sendmail will announce itself.
Your signature is way to long. Netiquette demands no more than 4 lines.
-- Tom Mornini -- InfoMania
----- End Included Message -----
----- Begin Included Message -----
>From dcc@raleigh.ssds.com Sat Feb 10 18:15 PST 1996
Easiest way is to "telnet localhost 25" and look at the banner message.
If it says anything less than "Sendmail Version 8.7.3" I'd upgrade.
Derrick
On Fri, 9 Feb 1996, Tricia Kha wrote:
----- End Included Message -----
----- Begin Included Message -----
>From ric@rtd.com Sat Feb 10 18:18 PST 1996
Telent to your machine on port 25. Sendmail will spew out version info, unless thats been turned off in the config file.
You may also find some information /etc/mail/sendmail.cf (/etc/sendmail.cf for SunOS 4).
BSD 8.7.x is current, available from ftp.cs.berkeley.edu in /ucb/sendmail.
Cheers, Ric (<ric@rtd.com> "Ric Anderson", using RTD's public internet access)
----- End Included Message -----
----- Begin Included Message -----
>From michael@hawaii.adb.com Sat Feb 10 20:09 PST 1996
telnet machine.domain.domain 25
Michael
----- End Included Message -----
----- Begin Included Message -----
>From jadams@engr.ukans.edu Sat Feb 10 20:19 PST 1996
There probably is a command, but here's how I do it;
telnet <machinename> 25
The 25 will put you in to the mail port and it should respond with a line that contains the sendmail version.
Hope it helps, Jeff
----- End Included Message -----
----- Begin Included Message -----
>From James.E.Coby.Jr@cdc.com Sat Feb 10 20:37 PST 1996
Hello,
Try /usr/lib/sendmail -d19 (username)
Then a type a period.
Output wiil show version of sendmail.
----- End Included Message -----
----- Begin Included Message -----
>From mikey@azalea.LANL.GOV Sat Feb 10 21:31 PST 1996
telnet localhost smtp.
It should tell you in the banner.
Mikey
----- End Included Message -----
----- Begin Included Message -----
>From ray@isor.vuw.ac.nz Sun Feb 11 02:23 PST 1996
Send yourself a message and have a look at the headers - or look at the headers on this one! If your mail agent suppresses headers when you read messages, you could try editing the /var/[spool/]mail/username file to see all the gory details.
Hope this helps
Ray Brownrigg <ray@isor.vuw.ac.nz> http://www.isor.vuw.ac.nz/~ray
----- End Included Message -----
----- Begin Included Message -----
>From anderson@neon.mitre.org Sun Feb 11 13:31 PST 1996
Sure, just type
% telnet hostname 25
where hostname is the name of the host running sendmail.
23 is the port number as listed in /etc/services.
- Mark
----- End Included Message -----
----- Begin Included Message -----
>From Marina.Daniels@ccd.tas.gov.au Sun Feb 11 14:49 PST 1996
Yes, on your machine "galahad" (for example) type
"telnet galahad 25"
- this shows you the version
(just type 'quit' or 'control-d' to get out of it
Marina
----- End Included Message -----
----- Begin Included Message -----
>From Gordon.Rowell@nms.otc.com.au Sun Feb 11 15:09 PST 1996
telnet localhost smtp
The sign-on banner will tell you.
Gordon
----- End Included Message -----
----- Begin Included Message -----
>From george@dbms.com Sun Feb 11 16:38 PST 1996
Try `mconnect`
% mconnect 220 wok.dbms.com Sendmail 4.1/SMI-4.1 ready at Sun, 11 Feb 96 16:35:13 PST quit
----- End Included Message -----
----- Begin Included Message -----
>From spp@psisa.com Sun Feb 11 20:25 PST 1996 To: tkha@wsgc.com (Tricia Kha) Subject: Re: Send Mail version Date: Sun, 11 Feb 1996 22:23:53 -0600 From: Stephen Potter <spp@psisa.com>
By default, sendmail will tell you that when you send mail to it. If you "telnet localhost 25", you'll be able to see the version number unless someone specifically masked it when they set it up.
-spp
----- End Included Message -----
----- Begin Included Message -----
>From simdro@sisca.qc.ca Mon Feb 12 05:11 PST 1996 From: Simon-Bernard Drolet <simdro@sisca.qc.ca> Date: Mon, 12 Feb 1996 08:11:52 -0500 (EST) To: tkha@wsgc.com Subject: Re: Send Mail version Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-MD5: bRfJgtKwel+TGetQviH63Q==
Try out /usr/lib/sendmail -d0.5' username.
It should answer with something like that: Version 8.7.3 Compiled with: LOG MATCHGECOS MIME8TO7 NAMED_BIND NDBM NETINET NETUNIX NIS NISPLUS SCANF XDEBUG canonical name: endeavour.sisca.qc.ca UUCP nodename: endeavour a.k.a.: endeavour a.k.a.: end a.k.a.: [204.19.153.4]
============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = endeavour (canonical domain name) $j = endeavour.sisca.qc.ca (subdomain name) $m = sisca.qc.ca (node name) $k = endeavour ========================================================
username... Recipient names must be specified
----- End Included Message -----
----- Begin Included Message -----
>From rtrzaska@uk.mdis.com Mon Feb 12 06:40 PST 1996 Date: Mon, 12 Feb 1996 10:54:44 GMT From: rtrzaska@uk.mdis.com (ray) To: tkha@wsgc.com Subject: Re: Send Mail version
try out sendmail in debug mode - /usr/lib/sendmail -bv -d 2 tkha <<EOM test . EOM
it will then tell you the version, (and if mail is deliverable to tkha )
ray.
----- End Included Message -----
----- Begin Included Message -----
>From clg@zygote.csph.psu.edu Mon Feb 12 06:50 PST 1996
telnet to the mail port:
telnet hostname 25
-Craig
----- End Included Message -----
----- Begin Included Message -----
>From melvil2c@ditco.disa.mil Mon Feb 12 06:54 PST 1996
Tricia, You can telnet to your sendmail gateway machine to port 25 (telnet mailhost 25). It'll give you the version number when the connection is established. Once you connect, you should try entering "debug" and "wiz" to see if your version is vulnerable to sendmail attacks. If it is, you need a new version (8.6.10 or higher). Cheers, Colin Melville melvil2c@ditco.disa.mil Defense Information Technology Contracting Office Scott AFB IL
----- End Included Message -----
----- Begin Included Message -----
>From parks@xdiv.LANL.GOV Mon Feb 12 06:57 PST 1996
telnet machine-name 25
it will will tell you the version.
parks
----- End Included Message -----
----- Begin Included Message -----
>From sutton@venus.connectware.com Mon Feb 12 07:13 PST 1996
telnet `hostname` 25
John R. Sutton
----- End Included Message -----
----- Begin Included Message -----
>From Rasana.Atreya@library.ucsf.edu Mon Feb 12 08:49 PST 1996 To: tkha@wsgc.com (Tricia Kha) Subject: Re: Send Mail version Date: Mon, 12 Feb 1996 08:48:20 PST From: "Rasana P. Atreya" <Rasana.Atreya@library.ucsf.edu>
Your /etc/sendmail.cf file should mention it on the top.
Rasana
----- End Included Message -----
----- Begin Included Message -----
>From milt@iqsc.com Mon Feb 12 03:37 PST 1996
Telnet to the machine using port 25. You should get a hello message with the version number in it.
The comment is: telnet machinename 25
-Milt
----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:53 CDT