Japanatron Logo

I struggled a bit with figuring out how to specify the from email address when sending mail on the Linux command line.  In short, you need to use the -r option.  For example:

echo "Enter your message here.  Thank you." | mail -s "Enter your subject here" -r This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it.

Related Articles

Joomla - Checklist for Moving ...

* Remove web directory protection entries * Rsync files to the new location * Change Apache root folder settings * Redo web directory protection entries * U...

Zimbra - How to Stop Automatic...

By default Zimbra automatically discards inbound mail that receives a high spam score (aka "super spam").  Although the score is configurable up to 100, this de...

Why Linux is Cool

Linux proudly sits in a very special place in the heart of the IT world. Watching Linux pros clack away at the command line inspires a sense of awe and ador...

Computing in Japanese - Dealin...

Mojibake (aka "junk text") is a horrible affliction that most computing in Japanese have encountered at some point.  Here are some simple fixes that I u...