On 12/31/13 10:50, Ed Greshko wrote:
> So, you don't need sendmail.  procmail will do just fine.

I should mention one downside to using this approach.....

The mail which crond feeds to the mailer lacks a "Date:" header.  So, if you 
use this, or potentially, another mailer such as mailx the message in your 
inbox will look similar to this....

From: "(Cron Daemon)" <egreshko>
To: egreshko
Subject: Cron <egreshko@f20f> du -h --max-depth=1 /home/egreshko
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=61>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/1001>
X-Cron-Env: <LANG=en_US.UTF-8>
X-Cron-Env: <HELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=egreshko>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/egreshko>
X-Cron-Env: <LOGNAME=egreshko>
X-Cron-Env: <USER=egreshko>

-- 
Getting tired of non-Fedora discussions and self-serving posts
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to