Recently, in the process of configuring the Sendmail, encounter an error
Suppose my domain is soil.linux.vm, when I
NEIL@linux.vm When sending a letter, Tail -f / var / log / maillog can see config error: mail loops back to me (MX PROBLEM?)
The configuration in my / etc / mail / local-host-name is right, distressed, pondering for a long time, solve it, now record, lest, then forget ^^
2 lines plus 2 lines in / etc / hosts:
127.0.0.1 Linux.vm
127.0.0.1 mail.linux.vm
Attachment:
[root @mail mailadmin] # cat / etc / mail / local-host-names
Linux.vm
Mail.linux.vm
[root @mail mailadmin] # cat / etc / hosts (partial)
127.0.0.1 Localhost.localdomain Localhost
127.0.0.1 Linux.vm
127.0.0.1 mail.linux.vm mail
[root @mail mailadmin] #