Amanda-Users

Re: Cant send Amanda email notifications to a new user - who is to be notified and take ownership of tapes.

2006-06-25 14:52:24
Subject: Re: Cant send Amanda email notifications to a new user - who is to be notified and take ownership of tapes.
From: "Stefan G. Weichinger" <sgw AT amanda DOT org>
To: amanda <amanda-users AT amanda DOT org>
Date: Sun, 25 Jun 2006 20:43:02 +0200
chuck.amadi schrieb:

> I have edit/vi amanda.conf file and amend the mailto: "root AT old.co DOT uk"
> which sent a Amanda email reports and notifications to me, I had in
> /etc/aliases file as below;
> 
> root: root, admin, chuck
> admin: root, chuck
> amanda: root, admin, chuck
> 
> Thus when I amend mailto: "root AT old.co DOT uk" to "user AT newcompany.co 
> DOT uk"
> and rhn amcheck I don't recieve any Amanda emails but when I run from
> CLI echo "test amanda"¦ mail user AT newcompany.co DOT uk I get the test 
> email OK.
> 
> I am using Postfix to relay mail and when I check tail -f /var/log/mail
> 
> I see that email sent to has user AT server.newcompany.co DOT uk instead of
> user AT newcompany.co DOT uk its adding the server name to the address.

You mean the sender of the mail?
If yes, look up the postfix-parameter $myorigin:

Set it to

myorigin = $mydomain

in /etc/postfix/main.cf

Stefan.


<Prev in Thread] Current Thread [Next in Thread>