Hi Ralph I do that with postfix
#Set outgoing message sender from nagios to EMAILADRESS echo "nagios EMAILADRESS" >> /etc/postfix/canonical postmap hash:/etc/postfix/canonical echo "canonical_maps = hash:/etc/postfix/canonical" >> /etc/postfix/main.cf /etc/init.d/postfix reload #set postfix aliases newaliases #Test Mail su - nagios mailx [email protected] Greets Thomas -------- Original-Nachricht -------- > Datum: Wed, 16 Dec 2009 15:20:07 +0100 > Von: Ralph Willemsen <[email protected]> > An: [email protected] > Betreff: [opsview-users] mail from nagios should be opsview > Hello, > Opsview now sends notifications with sender address nagios@<my-servername> > How can I change nagios to Opsview? > I tried it to change the admin_email=opsview option in nagios.cfg but when > I > restart Opsview, this configfile is automatically changed back to > admin_email=nagios > > Thanks in advance and regards, > > Ralph > Amsterdam, Netherlands -- Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.! http://portal.gmx.net/de/go/dsl02 _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
