Description of problem: In order to have ssmtp working for every user on the machine, the file /etc/ssmtp/ssmtp.conf must be readable by every user (others must at least have the read right to this file). If an authentication smtp server is used (as gmail for example), the login and password appears in clear text in ssmtp.conf. This is obviously a security problem. Version-Release number of selected component (if applicable): 2.61-19.el6 How reproducible: root# su - test test# cat /etc/ssmtp/ssmtp.conf root=prout mailhub=smtp.gmail.com:587 AuthUser=someuser AuthPass=xxxxxxxxxxxxxxx UseSTARTTLS=YES RewriteDomain=test.com FromLineOverride=YES root# chmod o-rwx /etc/ssmtp/ssmtp.conf root# su - test test# date | mail -s test test send-mail: Cannot open mailhub:25 root@ tail /var/log/maillog May 14 23:00:00 xxx sSMTP[2511]: /etc/ssmtp/ssmtp.conf not found May 14 23:00:00 xxx sSMTP[2511]: Unable to locate mailhub May 14 23:00:00 xxx sSMTP[2511]: Cannot open mailhub:25 Additional info: The solution as discussed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661954 root# chown -R root:mail /etc/ssmtp/ root# chmod -R u=rwX,g=rX,o= /etc/ssmtp root# chown root:mail /usr/sbin/ssmtp root# chmod g+s /usr/sbin/ssmtp
ssmtp-2.61-20.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/ssmtp-2.61-20.el5
ssmtp-2.61-20.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ssmtp-2.61-20.el6
ssmtp-2.61-20.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ssmtp-2.61-20.fc17
Package ssmtp-2.61-20.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ssmtp-2.61-20.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-10128/ssmtp-2.61-20.fc17 then log in and leave karma (feedback).
ssmtp-2.64-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ssmtp-2.64-7.fc18
ssmtp-2.64-7.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ssmtp-2.64-7.fc19
ssmtp-2.64-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
ssmtp-2.64-7.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
ssmtp-2.61-20.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
ssmtp-2.61-21.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/ssmtp-2.61-21.el5
ssmtp-2.64-9.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ssmtp-2.64-9.fc19
ssmtp-2.64-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ssmtp-2.64-9.fc18
ssmtp-2.61-21.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ssmtp-2.61-21.el6
ssmtp-2.64-9.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
ssmtp-2.64-9.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
ssmtp-2.61-21.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
ssmtp-2.61-21.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.