Problem solved. It seems that deinstalling exim4 with apt-get remove does not actually eradicate exim4!!!
So the sequence of events was something like this:
1) Problem with running postfix
2) Realise exim4 is still running. Stop exim4 and remove or so I thought
3) Problem as originally posted
4) Determine that the cause is the nsswitch bdb problem highlighted above. Reconfigure nsswitch.conf. Reboot.
5) Postfix still not running
6) Eventually spot that exim4 is still installed and of course restarted on reboot
Having done some hunting around it appears that exim4 is notoriously difficult to remove and the best recommendation is to disable it with:
update-rc.d -f exim4 remove
See
Permanently getting rid of exim! | debianHELP
I think a note on this needs to be added to install guide.