On Fri, 24 May 2013 10:13:15 -0600 Charles Curley
<charlescur...@charlescurley.com> wrote:
> Package: amanda-common
> Version: 1:2.6.1p2-3
> Severity: normal
> 
> I recently discovered by accident that amanda has been sending emails
> complaining of a minor problem. Unfortunately, since amanda runs as
> user backup, it sends them to the user backup. Currently, if you
> never log onto the user backup long enough to have the shell check
> for mail, or otherwise check /var/mail, you never learn of those
> emails.
> 
> Proposed solution: add an entry "backup: root" to /etc/aliases and run
> newaliases at installation time (assuming both are present).
> 
> I see this in Squeeze (amanda 1:2.6.1p2-3), but I believe it also
> applies to Wheezy (1:3.3.1-4)
> 

I am still seeing this in Bookworm, amanda-server 1:3.5.1-11+deb12u1,
amd64.

Proposed fix:

if [ -e /etc/aliases ]; then
    if ! grep backup /etc/aliases > /dev/null ; then
        echo "backup: root" >> /etc/aliases
        newaliases
    fi
fi


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to