BOOTMAIL(8) - Linux man page online | Administration and privileged commands

Email a list of address a signed message of logs when this system (re)boots.

12 July 2011
bootmail(8) bootmail bootmail(8)


bootmail - email a list of address a signed message of logs when this system (re)boots


bootmail is a program called at reboot by cron(8), perhaps useful for unattended, remote servers. It will read a list of one or more comma-separated email addresses from /etc/boot‐ mail/recipients, and then loop over a list of white-space separated files in /etc/boot‐ mail/logs, and construct an email. By default, the email will at least consist of the hostname of the system, the time and date of the boot, as well as the contents of /var/log/boot.log and /etc/motd. bootmail will also cryptographically sign the email message using rootsign(1) and gpg(1). To verify the signature, you will need to gpg --import the public key stored in /etc/root‐ bootmail can optionally encrypt the email messages as well, by listing a comma-separated list of recipient gpg(1) key id's in the configuration file I/etc/bootmail/gpgkeys.


I/etc/bootmail/gpg.conf, /etc/bootmail/logs, /etc/bootmail/recipients, I/etc/boot‐ mail/gpgkeys


cron(8), gpg(1), mail(1), rootsign(8)


This manpage and the utility were written by Dustin Kirkland <> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document and the utility under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation. The complete text of the GNU General Public License can be found in /usr/share/common- licenses/GPL on Debian/Ubuntu systems, or on the web at
bootmail 12 July 2011 bootmail(8)
This manual Reference Other manuals
bootmail(8) referred by rootsign(8)
refer to cron(8) | gpg(1) | rootsign(8)
Download raw manual
Index bootmail (+2) bootmail (+2) № 8 (+5755)
Go top