RE: CLI mail command (solved)

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

 




On Tue, Nov 21, 2006 at 01:46:05PM -0800, James D. Parra wrote:
> Hello,
> 
> When sending email from the CLI, the 'From:' domain is
> localhost.localdomain. Where can I change that to reflect the name of the
> computer? Running FC5 basic setup; nothing special. It is not a mail
server
> and won't be receiving any either.

>Short version: neither "mail" nor "mailx" will let you change this.

Hello,

Found a solution. Changed /etc/hosts entry from;

127.0.0.1	MACHINE_NAME localhost.localdomain localhost
<snip>

to ...;

127.0.0.1	localhost.localdomain localhost

IP_ADDRESS_OF_COMPUTER	MACHINE_NAME.DOMAIN.COM MACHINE_NAME
<snip>

Now using the 'mail' command shows the correct 'From:' domain.

Best regards,

James


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

  Powered by Linux