Email notifications error when moved to another machine and DNS name assigned
I am getting this error while sending test email -
"getaddrinfo : Name or service not known".
FYI I was using Redmine ubuntu virtual machine on a machine and email notifications were working perfectly fine. I moved this virtual machine to another machine and assigned DNS name for the same. After some time I noticed that email notification stopped working. Though everything else is working as before.
Any help would be appreciated.