RHITMacMan
Registered
Now that I have Postfix installed and sendmail now works, my system now is able to send the e-mail it has always wanted to send. Unfortunately, I don't want it to be sent for a couple reasons. One, I'm not sure that I can retrieve mail sent to the root user. Two, the mail has been being sent to the main computer on my domain's root account and the not local computer's root account. I know this is a problem with the way I setup the domain, I should be able to fix this. Although, I was told by one of the network Administrators, that I could fix the problem by setting a mailto environment variable for the crontab to send mail to root@localhost and not to root@mydomain. Then I would still be able to specify my domain as the domain for the whole network without any problems for the meantime.
In addition to the cron jobs sending output e-mails to the root user, "daily run output" logs are being sent to the root user as well. I would like to make sure that none of these e-mail status' leave my computer. Like suggested by my network admins, I would like have them sent to the root@localhost and not root@mydomain. How can I make sure that any mail intended for the root account on my local system be sent to root@localhost and not root@mydomain???
In addition to the cron jobs sending output e-mails to the root user, "daily run output" logs are being sent to the root user as well. I would like to make sure that none of these e-mail status' leave my computer. Like suggested by my network admins, I would like have them sent to the root@localhost and not root@mydomain. How can I make sure that any mail intended for the root account on my local system be sent to root@localhost and not root@mydomain???