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.
|