mailif

SolidDB is free & open source
expire_logs_days

SolidDB is free & open source
expire_logs_days

SolidDB is free & open source
expire_logs_days
This script reads standard input and will send out e-mail to specified recipients. It is exceedingly good for piping commands to, particularly within cron or at.

Change the first line to your location of perl, and change the location of the sendmail binary if it’s not /usr/lib/sendmail.

Run mailif -H to see all the options. I have no idea who originally wrote this script. The only reference I can find on the web is:
http://sage-web.sage.org/mailarchive/sage-members-archive/2003/msg01357.html

The script can be copied and pasted from there.

Comments are closed.