About aliases, log mail redirecting for various purposes



First of all thanks in advance and excuse my english.

A few weeks ago I asked how to forward the mails from my hp-ux root
to my mail, so editing /etc/aliases worked

vi /etc/aliases
add or change the line like this
root:..what ever is already there..., user@yourworkstation

I need a second user to be forward oracleX user so I tried this way
, but didn't work. So can any one tell me how could I redirect this
second account? Thanks, I'm a newbie in hp-ux and this will simplify
my work.

# Alias for mailer daemon
MAILER-DAEMON : root
root : adm@xxxxxxxxx
oracleX : adm@xxxxxxxxx

# RFC 822 requires that every host have a mail address "postmaster"
postmaster : root

# Aliases to handle mail to msgs and news
nobody : /dev/null

# System Admistration aliases
operator : root
uucp : root
daemon : root

.



Relevant Pages

  • Re: About aliases, log mail redirecting for various purposes
    ... A few weeks ago I asked how to forward the mails from my hp-ux root ... I need a second user to be forward oracleX user so I tried this way ... # RFC 822 requires that every host have a mail address "postmaster" ...
    (comp.sys.hp.hpux)
  • Re: Solaris 8 - Configuring sendmail relay (NoAuth inbound -> SSL outbound)
    ... # See also RFC 2142, `MAILBOX NAMES FOR COMMON SERVICES, ROLES ... # Pretty much everything else in this file points to "root", ... MAILER-DAEMON: postmaster ...
    (comp.mail.sendmail)
  • Re: Greetings, new Suse User reporting in!
    ... asked here 'how can I get a passwordless login '. ... The mail part means that many people will never see their root mail. ... e.g. postman will be pointed to postmaster. ... postmaster will be pointed to root and with the fial changes it will be ...
    (alt.os.linux.suse)
  • Mail to root goes to me but why?
    ... Normally I understand that mail sent to root at the machine goes ... I don't have root defined in my nisplus tables for mail aliases. ... entry other than postmaster ... # Alias for mailer daemon; ...
    (SunManagers)
  • Re: how to change my source address in sendmail??
    ... >> It would be nice if there was a simple howto to accomplish the task of ... It is trivial if you just alias root account to another user account, ... root: postmaster ...
    (Fedora)