/etc/aliases not updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
user-setup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postfix
Ubuntu Server 8.04
postfix 2.5.1-2ubuntu1
After a fresh install of Ubuntu Server 8.04, the file /etc/aliases exists with a mapping from root to the user name I set up during installation:
$ cat /etc/aliases
root: mylogin
If I install Postfix according to the instructions at https:/
$ sudo apt-get install postfix
$ sudo dpkg-reconfigure postfix
During the configuration, I'm asked:
Mail for the 'postmaster', 'root', and other system accounts
needs to be redirected to the user account of the actual
system administrator.
If I enter a value other that the one already in /etc/aliases, that value isn't saved. For example, if I specify "yourlogin", I still see "mylogin" in the aliases file:
$ cat /etc/aliases
root: mylogin
If I delete /etc/aliases before configuration, it works as expected:
$ sudo rm /etc/aliases
$ sudo dpkg-reconfigure postfix
$ cat /etc/aliases
postmaster: root
root: yourlogin
the installer should quit creating /etc/aliases during install.