Re: mail(1) encrypt daily(8) output

2014-02-04 Thread Simon Drewitz
On Tue, Feb 04, 2014 at 09:50:17AM +0100, Gilles Chehade wrote: > On Tue, Feb 04, 2014 at 12:37:14AM +0100, Alexander Hall wrote: > > On 02/04/14 00:27, Simon Drewitz wrote: > > >Hi misc@, > > > > > >I have set up mail(1) so that it forwards mails such as the

mail(1) encrypt daily(8) output

2014-02-03 Thread Simon Drewitz
Hi misc@, I have set up mail(1) so that it forwards mails such as the output of /etc/daily to my mail account and now I want to encrypt these mails using my public gpg-key. The best solution I have come up with is changing these two lines at the end of /etc/daily: - } 2>&1 | mail -s "`hostname` d