Question

I've changed my hosting to Hetzner VPS (VQ12) with Ubuntu. But mail is not sending from php using mail(); I made sendmail intallation: apt-get install sendmail sendmailconfig

But after this I receiving 504 timeout error trying mail() function.

cat /var/log/mail.err gives me: unable to qualify my own domain name (antonsk) -- using short name Jan 22 16:00:01 antonsk sm-msp-queue[3513]: My unqualified host name (antonsk) unknown; sleeping for retry

What should I do with this to make it work?!

Was it helpful?

Solution

Set your host FQDN name (FQDN = Fully Qualified Domain Name)

How to set the fully qualified domain name in 12.04?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top