Re: Email inside cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Aug 20, 2004, at 11:27 AM, Bob Smith wrote:

You might consider adding the -b flag to explicity set a source email
address.  You may find that LOGNAME or USER is not set in the cron
environment, and that may be part of the problem.  Try something like
this:

/bin/mail -s "${MsgHeader} finished." ${MailTo} -b ${REAL_USER} < ${logfile}

-Bob


I'm curious as to which mail command uses the -b flag like that. I'm running RHEL v3U2 and the man page says -b is for the BCC field...


Jurvis LaSalle



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux