View previous topic :: View next topic |
Author |
Message |
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Wed Jul 05, 2017 10:41 pm Post subject: Configuring mailutils? |
|
|
I have smartmontools on my laptop and want to run it and have it email me if something comes up. I know how to configure smartd, but that is where I stop. I assume mailutils is what was installed for use by smartd. Is this correct? If so, how do I configure it so smartd can email me if it sees an issue? I already have "-m me@my.email" in the smartd.conf file, so that is good to go. How do I get it to email me though? _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
PeGa! Tux's lil' helper
Joined: 13 May 2005 Posts: 104 Location: Capital Federal, Buenos Aires, Argentina
|
Posted: Fri Jul 21, 2017 4:15 pm Post subject: |
|
|
I would go by the ssmtpd path. Setting it up is very straightforward, even with google accounts and SSL/TLS.
This is a working config for relaying email to a google account:
Code: | mailhub=smtp.gmail.com:587
hostname=localhost
UseSTARTTLS=YES
AuthUser=myusername@gmail.com
AuthPass=superGreatPassword
|
After that you can even send emails by using mail-client/mailx or equivalent. _________________ If it moves, it needs an ebuild.
Adopt an unanswered post. |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Sat Jul 22, 2017 10:43 pm Post subject: |
|
|
Thanks, I'll give this a shot. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|