[Users] Unable to send email using claws mail, fedora 20

Michael Schwendt bugreporter at abwesend.de
Mon Jan 26 07:42:14 CET 2015


On Sun, 25 Jan 2015 19:18:20 -0600, webreg.claws-mail.org panscend.com wrote:

> There was not a domain name in the advanced tab of Claws. There
> was however an anomaly in the /etc/hostname file. 
> 
> During the install of F20, I had entered an alternate host and
> domain name instead of the usual default of
> "localhost.localdomain". Somehow, not sure how, the hostname
> file ended up with 2 lines like this:
> 
> #localhost.localdomain
> panlap.guypan
> 
> As you observed, that was all picked up by Claws for the EHLO.
> 
> I've been poking around search and there seems to be a split
> opinion on what is valid in the hostname file. Some say lines starting
> with # is a comment like many other system config files. Some say
> hostname should only have a single line.

This could be because whereas tools like "man 1 hostname" seem to be
able to skip comment lines in that file, old system initscripts may
be too simple and do things similar to:  HOSTNAME=$(cat /etc/hostname)

Also, from "man 5 hostname":

    It should contain a single newline-terminated hostname string.



More information about the Users mailing list