You are not logged in.
I've got ssmtp set-up to send email via gmail. /etc/ssmtp/ssmtp.conf is chmod 600 as per the wiki because it contains my plain text gmail password
Obvious problem, only root can read it. That means the web server (user: http) can't read it to send emails.
So, what's the "best" thing to do? Maybe change the group of ssmtp.conf to mail and add http to mail group then chmod 640?
.:edited:.
Obviously wasn't clear the web server is sending the mail, not me.
Last edited by dtw (2010-10-01 11:47:59)
Offline
Why not just change the owner of that file to http?
no place like /home
github
Offline