periodic emails

Garrett Cooper yanegomi at gmail.com
Mon Jan 2 22:14:36 UTC 2012


On Mon, Jan 2, 2012 at 1:29 PM, Bjoern A. Zeeb
<bzeeb-lists at lists.zabbadoz.net> wrote:
> Hi,
>
> why do we send all these empty headings for periodic emails or given there is
> no output to this one can we
>
> 1) suppress the empty sections (to me that sounds a bit like a wrong
>   return code or something maybe?), and
> 2) add an option to suppress "empty" periodic emails entirely?
>
> Sample:
> -------
> Removing stale files from /var/preserve:
>
> Cleaning out old system announcements:
>
> Removing stale files from /var/rwho:
>
> Backup passwd and group files:
>
> Verifying group file syntax:
> /etc/group is fine
>
> Security check:
>   (output mailed separately)
>
> Checking for denied zone transfers (AXFR and IXFR):
>
> -- End of daily output --
> -------
>
>
> I'd also like to get the hostname out of the headings of the security emails
> if possible.  It's in the Subject:.  There's no need to have each section header
> starting differently.  I understand that it would be a POLA problem given a lot
> of people parse these emails automatically so adding an option for that would be
> ok with me as well.
>
> Any takers?

    How does this look for starters? The attached patch's goal is to
provide a generic, rc(5)-like infrastructure that would quiet down the
periodic emails for 120.clean-preserve .
Thanks,
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quiet-periodic-mail-noise-v01.patch
Type: application/octet-stream
Size: 4870 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120102/bfd362a0/quiet-periodic-mail-noise-v01.obj


More information about the freebsd-current mailing list