= Usage = jailaudit mailaddr "jailnames" * mailaddr can be "-" for stdout * jailnames can be "ALL", for all audits or list of hostnames == Examples == '''jailaudit generate''' generates reports for all running jails '''jailaudit mail - ALL''' dumps the reports of all jails to STDOUT '''jailaudit mail - "blub.example.com"''' dumps the reports of the jail with hostname "blub.example.com" to STDOUT '''jailaudit mail admin@example.com ALL''' mails the reports of all jails to admin@example.com '''jailaudit mail admin@example.com "blub.example.com"''' mails the reports of the jail with hostname "blub.example.com" to admin@example.com == Using the crontab == Jailaudit can also be used to send specific report mails to the owner of a jail by running it as a cronjob. /etc/crontab example: ''0 4 * * * * root /usr/local/bin/jailaudit mail admin@foo.bar "foo.example.com bar.example.com"'' Sends report mails of the jails with the hostnames foo.example.com and bar.example.com to the mailaddr. admin@example.com.