Mailinglist Archive: opensuse-security (520 mails)

< Previous Next >
Re: [suse-security] emailing logs (with encryption)
  • From: John Trickey <JTrickey@xxxxxxx>
  • Date: Wed, 13 Dec 2000 10:39:03 +0000
  • Message-id: <>

The lowest common denominator for mailing is uuencode so if you set up a pipe

Set up a script with usage "script filename"

uuencode $LOGFILE < $LOGFILE | mailx -s "Log $LOGFILE" user@xxxxxxxxxxxxx

or if pgp works in a pipe (never played with it at that level)

pgp stuff | uuencode ${LOGFILE}.pgp | mailx -s "Log $LOGFILE" user@xxxxxxxxxxxxx

Crude but even M$ MUAs will cope with it :-)


At 16:24 13/12/00 +1100, Nix wrote:
Does anyone have an easy/quick way to automatically mail the gzipped
log files created by /etc/cron.daily/aaa_base_rotate_logs to an external
email address? GPG encryption would be an optional added bonus.

Sorry for asking such an easy question, but I pretty much suck at shell
code... Networks are much more my thing :)



Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking

To unsubscribe, e-mail: suse-security-unsubscribe@xxxxxxxx
For additional commands, e-mail: suse-security-help@xxxxxxxx

< Previous Next >
This Thread