Thanks to all those who responded, namely - Phin, Robert, Stan,
Bob, Klas, Pat, Hank, Jim and James.
As I half expected, there is no nice simple place to set where
mail goes. However, there is sort of a checklist (stolen from Jim's email).
Start with /etc/syslog.conf
If syslog messages get mailed, this is where it is set.
Then /etc/aliases and .forward .
Make sure the /etc/aliases and /etc/aliases.pag /etc/aliases.dir
all have the same date so you can trust the content of /etc/aliases
to actually be the aliases in use.
If you don't use the /etc/aliases.pag and .dir files, you may have to
kill and restart sendmail to get it to use the current /etc/aliases contents.
Other places to look include the sendmail config file
(/var/adm/sendmail/sendmail.cf), the sendmail alias file
(/var/adm/sendmail/aliases) - use the newaliases command after changing
this one.
Also, be aware that some program have the mail address configured
in their local config and other programs have the email address compilied
into the binary.
Overall advice, its site specific. In my case the
/var/adm/sendmail/aliases got it working.
Thanks to all,
Cheers,
Ryan.
At 17:38 31/05/2001 +0800, Ryan McConigley wrote:
> Hi, this is probably an incrediably obvious thing, but I can't
> figure out where to look. Some of the computers here send a message to
> one of the former systems admins accounts when a major event has occurred
> (ie, reboot or similiar). Some of the other systems, just send this to
> root, but then that gets sent on to a second account and other still just
> send it to the local root.
>
> What I would liek to do is standardise where everything is
> sent. I have looked for a .forward file and for a local alias file, but
> no luck. Where should I be looking?
>
> Cheers,
> Ryan.
>--
> Ryan McConigley - Systems Administrator _.-,
> Computer Science University of Western Australia .--' '-._
> Tel: (+61 8) 9380 7082 - Fax: (+61 8) 9380 1089 _/`- _ '.
>Email: Ryan_at_cs.uwa.edu.au - http://www.cs.uwa.edu.au/~ryan '----'._`.----. \
> ` \;
> "You're just jealous because the voices are talking to
> me" ;_\
>
--
Ryan McConigley - Systems Administrator _.-,
Computer Science University of Western Australia .--' '-._
Tel: (+61 8) 9380 7082 - Fax: (+61 8) 9380 1089 _/`- _ '.
Email: Ryan_at_cs.uwa.edu.au - http://www.cs.uwa.edu.au/~ryan '----'._`.----. \
` \;
"You're just jealous because the voices are talking to me" ;_\
Received on Fri Jun 01 2001 - 09:25:17 NZST