Amanda-Users

RE: Some questions about Amanda's emailing of backup reports

2005-03-03 12:32:19
Subject: RE: Some questions about Amanda's emailing of backup reports
From: "Hull, Dave" <dphull AT ku DOT edu>
To: <amanda-users AT amanda DOT org>
Date: Thu, 3 Mar 2005 11:23:51 -0600
Our solution here is to have amanda send the email to itself (via the mailto 
option in our amanda.conf file). The amanda account has a procmail filter that 
saves a copy to a local file and forwards another copy on to the required 
persons.

$ cat /services/amanda/.procmailrc
# Set up environment
PATH=/bin:/usr/bin
MAILDIR=$HOME
LOGFILE=$MAILDIR/.procmail/procmail.log
                                                                                
                                                            
# Forward a copy of amanda's mail to admin@yoursite and save a copy of it 
locally
:0 c
!admin@yoursite
:0
mbox