Sender in mail -s command
Paul Howarth
paul at city-fan.org
Thu Jul 21 07:48:35 UTC 2005
On Thu, 2005-07-21 at 09:35 +0200, Andreas Wahlert wrote:
> i have script which sends e-mail to me. How can i specify a complete
> sender address like "boom at work.de"?? i see in my mailclient only senders
> such "nagios at localhost.localdomain". On my host ist FC3 installed "out
> of the box"
Do you want *all* mail originating from scripts on this machine to have
a "work.de" address, or just mail originating from nagios?
Does this mail need to be sent over the Internet? If so, you will need a
valid envelope sender domain instead of localhost.localdomain. What type
of Internet connection do you have (dialup, always-on, static/dynamic?).
The configuration is best done in sendmail, which will then work for all
programs, not just "mail".
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the fedora-list
mailing list