I am trying to use ssmtp as my command line mail application as proposed in this answer.
One of the steps is to put my mail account password in a file /etc/ssmtp/ssmtp.conf. Since the file has read permission for all users, it undermines the secrecy of my password.
How to overcome this? I tried to remove the read permission for group and others but then ssmtp does not work anymore.