Is there a command that can be run to reveal MailScanner Version?

Spicer, Kevin Kevin.Spicer at BMRB.CO.UK
Fri May 7 09:00:54 IST 2004


Wayne Fox wrote:
> Is there a command that can be run to reveal MailScanner Version?
> 
> Although I can do..
> # service MailScanner restart
> # tail -100 /var/log/maillog | grep "starting.."
> May  7 16:09:28 jupiter MailScanner[20683]: MailScanner E-Mail Virus
> Scanner version 4.29.7 starting...
> 
> to reveal I am running 4.29.7, is there a more direct method I can
> script / capture?

Try
grep -m 1 "^\$MailScanner::Config::MailScannerVersion" /usr/sbin/MailScanner  | sed -e "s/.*'\(.*\)'.*/\1/"




BMRB International 
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB International Limited 
accepts no liability in relation to any personal emails, or 
content of any email which does not directly relate to our 
business.

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html




More information about the MailScanner mailing list