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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux