Ok! I know what is happening, however I don’t know how to fix it. Here is the issue.
I changed my machines hostname. Above features described do not work with the new hostname. If I change the hostname back to the old one, all the above features suddenly start to work.
I have tried rebooting, re-installing afresh but nothing works. Only thing works is changing to the old hostname.
The thing is that the old hostname wasn’t working with my SMTP Server (postfix), so I had to change it.