I've used fetchmail for quite a while now and never had a problem, until (without having changed anything) today it suddenly quit working, giving me the error message:
fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from email@example.com and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)
I googled the error message, but didn't find anything that look promising. I use ubuntu 10.4.