Re: mailx (how is it able to send email?!?)
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Sun, 24 Dec 2006 20:04:18 -0600
On Sun, 24 Dec 2006 19:46:12 -0600, Bit Twister wrote:
Pretty sure as part of the mailx install, you were asked a few
questions for postfix setup. Most of your answers went into
/etc/postfix/main.cf setting up your Mail Transport Agent (MTA postfix)
For extra points: http://www.postfix.org
You may want to
# cd /etc/postfix
# grep root: aliases
and change the root: postfix
to root: beowulf
Save your change
# postalias aliases
# postfix stop
# /bin/cp /dev/null /var/log/mail/errors
# /bin/cp /dev/null /var/log/mail/info
# /bin/cp /dev/null /var/log/mail/warnings
# postfix start
# cat /var/log/mail/info
# cat /var/log/mail/warnings
# cat /var/log/mail/errors
Fix any errors/warnings.
Now any mail sent to root (alarms, cron msg, audit results,...)
will show up in beowulf's mail box.
Check it out, click up a terminal in beowulf login
$ mailx -s "test root aliases" root < /dev/null
1
d
q
.
- Follow-Ups:
- Re: mailx (how is it able to send email?!?)
- From: Bit Twister
- Re: mailx (how is it able to send email?!?)
- References:
- mailx (how is it able to send email?!?)
- From: Beowulf
- Re: mailx (how is it able to send email?!?)
- From: Bit Twister
- mailx (how is it able to send email?!?)
- Prev by Date: Re: mailx (how is it able to send email?!?)
- Next by Date: Re: mailx (how is it able to send email?!?)
- Previous by thread: Re: mailx (how is it able to send email?!?)
- Next by thread: Re: mailx (how is it able to send email?!?)
- Index(es):
Relevant Pages
|