[wellylug] Default email account for Ubuntu servers

Jim Tittsler jtittsler at gmail.com
Thu Apr 2 15:59:19 NZDT 2009


On Thu, Apr 2, 2009 at 15:33, Hong Chyr <hongchyr at yahoo.co.uk> wrote:
> Newly installed Ubuntu 8.10 server, where the system was set up with Exim as
> the default MTA. In the installation process, Ubuntu (server or workstation)
> will usually put the first user account created as the default user who will
> receive all system emails (e.g. cron reports, etc)
>
> So now, I want to change that default to another user account. e.g. when I
> install the system, the first user account I created was admin at localhost, so
> now I am wanting to create another user alert at localhost and channel all the
> system emails to that user.
>
> So I gather using the /etc/aliases trick will do the job?

Yes, just add
root: alert
to your /etc/aliases and you are done.[1]  You can use
'/usr/sbin/exim4 -bt root' to verify where/how it will be delivered.

Jim

[1] On Ubuntu, if the /etc/exim4/lowuid-aliases file exists you can
change it there... or by reconfiguring the exim4 package to set
DEFAULT_SYSTEM_ACCOUNT_ALIAS to the desired value... "alert" in your
case.



More information about the wellylug mailing list