Re: [exim] exiwhat should display Exim version number

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Florian Weimer
Dátum:  
Címzett: Marc Haber
CC: exim-users
Tárgy: Re: [exim] exiwhat should display Exim version number
* Marc Haber:

> On Sun, 6 Feb 2005 19:10:55 +0000, Tony Finch <dot@???> wrote:
>>> > THe exiwhat displays status of exim. It would be good if the
>>> > display included also the Exim version number to check if
>>> > correct exim is running.
>>
>>telnet localhost smtp
>
> That doesn't show which exim version is doing a currently running
> delivery.


You could check the inode number of /proc/$PID/exe and warn if there
is a discrepancy (ignoring Debian GNU/kfreebsd and Debian GNU/Hurd).