I use this CLI in my scripts. It's a little simpler. The one above doesn't seem to work for me.
head -n 12 /Library/Sophos Anti-Virus/RMS/MRInit.conf | tail -n 1
I wouldn't say it's only useful for Message Relay Environments. Any SEC-managed environment might need to confirm this line is correct.