Get deepthought.httpup and move it to /etc/ports. Activate collection in /etc/prt-get.conf and run;
$ ports -u
$ prt-get depinst logwatch
$ sudo cp /usr/share/logwatch/default.conf/logwatch.conf /etc/logwatch/conf/
Example configuration;
MailTo = admin@box
MailFrom = logwatch
Range = Today
Detail = Med
Activate all or per service;
#Service = All
Service = http
Service = exim
Service = dhcpd
$ sudo /usr/share/logwatch/scripts/logwatch.pl
First make sure that email gets deliver;
$ sudo /usr/share/logwatch/scripts/logwatch.pl --output mail
Create file /etc/cron/daily/logwatch;
#!/bin/sh
#
# /etc/cron/daily/logwatch: run logwatch and mail output
#
/usr/share/logwatch/scripts/logwatch.pl --output mail
# End of file
$ sudo chmod +x /etc/cron/daily/logwatch