List Archive: gentoo-security
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Wed, 2005-11-09 at 11:35 +0100, Harald Dumdey wrote:
> Is there a 'solution' for that? Or do i have to write a shellscript...
presumably a script dropped into /etc/cron.daily would do it. Along the
lines of (nb: totally untested) ..?
# mail address to send compressed logs to
# the hex ID of your GPG key
# which logs? *.0 will pick the most recently rotated set. You
# can probably do better
tar cjf $OUTFILE
gpg -r $KEY --encrypt-files $OUTFILE
# send. Not sure how you do this without mutt..
echo "Logs.." | mutt -s "$HOST logs for $TODAY" -a $OUTFILE.gpg $TO
# clean up
rm -f $OUTFILE $OUTFILE.gpg
Public Key: 0xDD356B0D
signature.asc (This is a digitally signed message part)