Re: What hostname do you use on your computer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Knute Johnson schrieb:

So now sendmail hangs on startup for about 2 minutes. There must be something else to set?

Thanks,

knute...

[knute@knute ~]$ hostname
knute

[knute@knute ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1     localhost.localdomain   localhost
192.168.3.5     knute

[knute@knute ~]$ cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=knute
[knute@knute ~]$

Sendmail requires a dotted hostname, thus means hostname to be not just a short one but a FQDN.

If you have no public resolving DNS name for your mail host, then you may set your hostname to

knute.example.net

and having following line in /etc/hosts

192.168.3.5   knute.example.net  knute

If you relay through a different MTA, i.e. your ISP's one, make sure the envelope sender and header from: are set properly, if the relay host does not masquerade it for you.

Alexander




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux