Re: CLI mail command

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James D. Parra wrote:
> 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.

What is the output of hostname?  That's what should get appended when
you do things like "echo testing | mail -s test someone@xxxxxxxxxxx"

The mail command will drop the mail to the MTA running on the host and
that may need to be configured to append the domain or hostname.  I
use postfix on my systems and appending the hostname is the default,
though it's quite simple to change that to append just the domain.

- -- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
Before all else, be armed.
    -- Machiavelli

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQFDBAEBAgAtBQJFY4I4JhhodHRwOi8vd3d3LnBvYm94LmNvbS9+dG16L3BncC90
bXouYXNjAAoJEEMlk4u+rwzjmz8IAKq/EdkXqAMpYg+85TT+RqynMf7hH5oQv7jU
ZPDiUhCL0WrRjRaki2ZUhmGjre/qICp/ly+SWc8BIyN4QV9Gjc3X+WcOWeiU+8+/
ok2OalK7NdrPEPqMdsiM9jtTdS6dsamTXUN2LHxhlME7LdvyEraBpj+eyK+77b6W
jPVqfJ/22FN8nWkithoCUjs1jmxgxClE7CKiYUt/jDMs5Jy/JdVUfgI2IcLu3024
yMnzwRn8cPsPLwU8fTo0/B+n+LenNr8QU8d/RbhLUtQaggrALB7nBZmHdPdqknnc
f8nSq1Ni6R076Q6Xz+M3PvzR8cBaeqzxO9Csd6q7A+jnAkN2cq0=
=+5qo
-----END PGP SIGNATURE-----

-- 
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