Email not working

I have following config for Grafana 8.4.5

[smtp]
enabled = true
host = 127.0.0.1:25
skip_verify = true
from_address = you@example.com
from_name = Grafana Alerts
startTLS_policy = NoStartTLS

sendmail works fine on the server shell. But when I try Send Test notification from Contact point, the /api/alertmanager/grafana/config/api/v1/receivers/test API is just stuck. I see following in the logs

logger=alerting.notifier.email level=error msg=“Missing receiver”
logger=alerting.notifier.email level=error msg=“Missing group labels”

Please help

Issue seems to be due to local postfix service, that didn’t respond, may be due to DNS lookup loop.
Replaced the localhost as host with company’s relayhost, and it worked fine.