Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuring mailutils?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Wed Jul 05, 2017 10:41 pm    Post subject: Configuring mailutils? Reply with quote

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
View user's profile Send private message
PeGa!
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 101
Location: Capital Federal, Buenos Aires, Argentina

PostPosted: Fri Jul 21, 2017 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Sat Jul 22, 2017 10:43 pm    Post subject: Reply with quote

Thanks, I'll give this a shot.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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