N
N
Nicholas2016-04-17 07:18:50
send mail
Nicholas, 2016-04-17 07:18:50

Why is Sendmail not sending emails to Gmail?

At the same time, mail arrives at Yandex
. In the logs
Apr 17 06:40:01 localhost sm-msp-queue[5575]: My unqualified host name (localhost) unknown; sleeping for retry
Apr 17 06:41:01 localhost sm-msp-queue[5575]: unable to qualify my own domain name (localhost) -- using short name
Apr 17 07:00:01 localhost sm-msp-queue[5612 ]: My unqualified host name (localhost) unknown; sleeping for retry
Apr 17 07:01:01 localhost sm-msp-queue[5612]: unable to qualify my own domain name (localhost) -- using short name

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nicholas, 2016-04-17
@ACCNCC

in /etc/hosts add
127.0.0.1 localhost.localdomain localhost hostname
127.0.1.1 hostname
hostname to your own which can be found from the console:
command: hostname

A
alegzz, 2016-04-17
@alegzz

echo 127.0.0.1 my.cool.domain >>
replace /etc/hosts with your real domain. or change mta

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question