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

Setting Up SPF on Zimbra Runni...

SPF is awesome for stopping delivery of spoofed spam and junk back-scatter, but many of the articles on how to set up SPF in Zimbra are old and out-of-date.  It...

Joomla Running on Nginx and Ub...

What follows is an outline I compiled while researching how to tighten security on a Nginx web server. NOTE 1: Ubuntu 14.04 LTS was used for this. NOTE 2: This ...

iPhone Mail with MS Exchange M...

PROBLEMOnce in a while I am unable to delete an email message on my iPhone.  It throws an "unable to move message to trash" error message.  I use the normal iPh...

Safeguarding Your Digital Life

This is an outline of a presentation I delivered called "Safeguarding Your Digital Life."  It summarizes best practices to follow for keeping your online identi...