Re: Postfix, Mutt And No Root Mail?




Edit /etc/aliases to add: root:
myname@xxxxxxxxxx


I have in /etc/aliases "root: <username>" but no email
address. I know myname is bound to be my username
because that's who root mail goes to. What about
"mymail.com"? Is that to be literal or just what?

[...]

The aliases file can redirect mail to either a local system account,
or any legit remote account, like ...

root: leonard

for a local account, or like ...

root: lenc5570@xxxxxxxxxxxxx

for a non-local account. Either works fine just depending on where you
want it to go. It just catches any mail destined for the local 'root'
account and redirects.

After changing that, you need to run ...

sudo postmap /etc/aliases (assuming that is the right file and
matches main.cf)
and

sudo postfix reload


You could have also used the virtual user table to do essentially the
same thing, but this method is easier IMO for simple local mail
accounts.

--
Hal


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: user privledges
    ... > redhat 7.2 i created a user account for myself to use on a daily basis. ... > fare i have just been su - and entering the root pass. ... it started but would not install because i did ... sofware to /opt/musicmatch as a normal user. ...
    (comp.security.unix)
  • Re: Alerting - Malicious software removal tool
    ... >needed to install an application that she could not install from ... >"Administrator" account. ... You failed to analyze the root cause and correct it ... use their computers to have fun. ...
    (microsoft.public.security.virus)
  • Re: hi all..
    ... And with sudo, I certainly wouldn't because they already have root. ... If you somehow had access to my account right now, ... install an effective key logger without root. ...
    (Fedora)
  • Re: cant login as root
    ... > The only reason they don't have a local account is they were too lazy to ... If you're root you create and maintain a user account. ... local root accounts are themselves a hazard. ...
    (comp.os.linux.setup)
  • Re: hi all..
    ... and someone gets access your shell account, ... Only root can install an su binary. ... Of course, if I have sudo ...
    (Fedora)