I think I have sorted it. What I had to do was to go into webmin and configure everything from scratch and it does seem to be working now.

Thanks very much for you advice