1

I installed Exim and mailutils (For receiving) for sending mails through PHP in Ubuntu. After I installed it, I ran the command dpkg-reconfigure exim4-config, I was asked to set the mail recipient for root and postmaster (I was in a rush). I entered root there (not sure if I made a typo). the next time I try to reconfigure Exim, I am not able to set that one setting. How can I set that setting again? Please let me know. I am not able to find the solution for this myself.

AnFi
  • 872
  • 5
  • 13
Example person
  • 197
  • 1
  • 18

1 Answers1

2

Changing Exim aliases (postmaster,root)

Check and modify /etc/aliases (text) file.

Pretty standard procedure is to redirect:
* postmaster to root
* root to non privileged (non root) account of preson acting as root

AnFi
  • 872
  • 5
  • 13
  • I just found the answer https://www.digitalocean.com/community/questions/how-to-change-ubuntu-user-email-address, and you posted the answer as well, lol. What a coincidence. – Example person Feb 23 '20 at 18:35
  • I personally prefer another SMTP/MTA server but it is a pretty standard configuration for almost all SMTP/MTA servers on Unix/Linux. It is a part of "sacred ancient legacy of sendmail(.org)" :-) – AnFi Feb 23 '20 at 18:39