Re: Postfix, Mutt And No Root Mail?
- From: Hal Burgiss <hal@xxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 18:19:07 -0400
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
- Follow-Ups:
- Re: Postfix, Mutt And No Root Mail?
- From: Hal Burgiss
- Re: Postfix, Mutt And No Root Mail?
- References:
- Re: Postfix, Mutt And No Root Mail?
- From: Leonard Chatagnier
- Re: Postfix, Mutt And No Root Mail?
- Prev by Date: Re: Postfix, Mutt And No Root Mail?
- Next by Date: Re: Remote Operation
- Previous by thread: Re: Postfix, Mutt And No Root Mail?
- Next by thread: Re: Postfix, Mutt And No Root Mail?
- Index(es):
Relevant Pages
|