setting the root email address

2006-03-05 Thread Steel City Phantom
one of my servers was set up by some guys in china.  i have gotten 
everything figured out save one, somehow they got cron job results to 
email to my business account.  i can't for the life of me figure out how 
they did that.  where in bsd do i set another email address for root?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting the root email address

2006-03-05 Thread Jason C. Wells

Steel City Phantom wrote:
one of my servers was set up by some guys in china.  i have gotten 
everything figured out save one, somehow they got cron job results to 
email to my business account.  i can't for the life of me figure out how 
they did that.  where in bsd do i set another email address for root?


Look in /etc/mail/aliases.  This setting isn't BSD per se.  It's 
sendmail that reads the aliases database.


Later,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting the root email address

2006-03-05 Thread Kövesdán Gábor

Steel City Phantom wrote:

one of my servers was set up by some guys in china.  i have gotten 
everything figured out save one, somehow they got cron job results to 
email to my business account.  i can't for the life of me figure out 
how they did that.  where in bsd do i set another email address for root?


See /etc/aliases, you must find something like this:

root:   yourmail

If you want to change that, you should run newaliases after modifying that.

Regards,

Gabor Kovesdan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting the root email address

2006-03-05 Thread Matthew Seaman
Kövesdán Gábor wrote:
 Steel City Phantom wrote:
 
 one of my servers was set up by some guys in china.  i have gotten
 everything figured out save one, somehow they got cron job results to
 email to my business account.  i can't for the life of me figure out
 how they did that.  where in bsd do i set another email address for root?
 
 See /etc/aliases, you must find something like this:
 
 root:   yourmail
 
 If you want to change that, you should run newaliases after modifying that.

And if it's not set in /etc/mail/aliases, try checking for a /root/.forward 
file.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: setting the root email address

2006-03-05 Thread Pete Slagle

Matthew Seaman wrote:

Kövesdán Gábor wrote:

Steel City Phantom wrote:


one of my servers was set up by some guys in china.  i have gotten
everything figured out save one, somehow they got cron job results to
email to my business account.  i can't for the life of me figure out
how they did that.  where in bsd do i set another email address for root?

See /etc/aliases, you must find something like this:

root:   yourmail

If you want to change that, you should run newaliases after modifying that.


And if it's not set in /etc/mail/aliases, try checking for a /root/.forward 
file.


And if you still don't find it, look in /etc/crontab. I have sometimes
seen cron jobs that pipe directly into mail, i.e.,

  foo | mail -sZounds! [EMAIL PROTECTED]

Pete






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]