Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 10:27:40 -0800 (PST)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-isp@FreeBSD.ORG, pbrezny@cyber1.net
Subject:   Re: sendmail
Message-ID:  <199903121827.KAA98931@pau-amma.whistle.com>
In-Reply-To: <914078369F42D2118FE000600896E00003B4E9@rocket.cyber1.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: Peter Brezny <pbrezny@cyber1.net>
>Date: Fri, 12 Mar 1999 13:14:58 -0500

>how do i tell what version of sendmail is running on my freebsd2.2.8
>box?

If you're running sendmail as an SMTP server, one simple way is:

	telnet localhost 25

In my case, I get the response:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 pau-amma.whistle.com ESMTP Sendmail 8.9.2/8.9.2; Fri, 12 Mar 1999 10:22:21 -0800 (PST)


which says it's 8.9.2, running with a configuration file for 8.9.2, as
well.  (The latter is the designation after the /.)




Alternatively, you could take a look at some mail that traversed your
system; for example, the Received: header from my system that
corresponds to the message that you sent reads:

Received: from pau-amma.whistle.com (pau-amma.whistle.com [207.76.205.64])
        by pau-amma.whistle.com (8.9.2/8.9.2) with ESMTP id KAA98868
	for <dhw@pau-amma.whistle.com>; Fri, 12 Mar 1999 10:20:22 -0800 (PST)


and you should note the same "8.9.2/8.9.2" string there.



For the first method, "quit" is an appropriate way to terminate the
session.


Bear in mind that it is possible to specify alternate strings for
sendmail to spit out in such cases, so neither is quite foolproof.


Cheers,
david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903121827.KAA98931>