On 2020-05-11 15:45, Ed Greshko wrote: > > I'm also confused by the need to create headers before feeding anything to procmail since > cron generate a fully formatted mail message as noted in the -m option. > OK, I cleared up my confusion on this one. I set -m of crond to a script that saved what is being sent to it by cron. These are the resulting headers. From: "(Cron Daemon)" <egreshko> To: egreshko Subject: Cron <egreshko@f32x> /home/egreshko/bin/tippy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Auto-Submitted: auto-generated Precedence: bulk X-Cron-Env: <XDG_SESSION_ID=10> X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/1026> X-Cron-Env: <DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1026/bus> X-Cron-Env: <XDG_SESSION_TYPE=unspecified> X-Cron-Env: <XDG_SESSION_CLASS=background> X-Cron-Env: <LANG=en_US.UTF-8> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <MAILTO=egreshko> X-Cron-Env: <HOME=/home/egreshko> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=egreshko> X-Cron-Env: <USER=egreshko> It is then the MTA, in my case postfix, which adds the additional headers. -- The key to getting good answers is to ask good questions. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx