How To Change The Outgoing Email Domain In MacOS
erics, March 17th, 2022
When I sent email from my desktop Mac cron jobs, it went out with the full hostname as the domain, i.e.: root@demo.wyzaerd.com, when all I wanted was a simple root@wyzaerd.com for ease of deliverability and domain maint. Edit the mail configuration file main.cf:
1 |
vi /etc/postfix/main.cf |
Add/edit the myorigin value of $mydomain:
1 |
myorigin = $mydomain |