Quote:
|
Originally Posted by Zeno McDohl
This?
I don't think that'll matter. It'll probably still send from root@whatever.
|
right.
Quote:
|
I just want to change the default email to one I have, like my gmail one.
|
If a program is generating the email, like Logwatch, then there may be a place to specify the account to send the email from in the conf files. If a script you wrote is sending the email, you can use a program like mail to generate the email with whatever "from" address you want. Both easy to do.
If you want to have your gmail account be the default no matter what is sent. Then you will want to reconfigure sendmail to rewrite the "from" address. If you are using slackware it will be sendmail, if you are using another distro, it may not be sendmail, but exim or something else. Either way you will want to consult the documentation on the program. Sendmail's configuration is not known as the most friendly, and configuring it to rewrite the from address is not something i have ever done.