2 comments on “Sending email from Ubuntu server 16.04 via Gmail account

  1. After install, cannot cd ssmtp???
    ray@USN:/etc$ cd ssmtp
    -bash: cd: ssmtp: Permission denied

    ray@USN:/etc$ sudo cd ssmtp
    sudo: cd: command not found

    WTF???

    Ray

    • Hi Ray, that’s pretty weird! Maybe try a ls -l /etc/ssmtp to see what the permissions are for that directory. Could also try sudo vim /etc/ssmtp/ssmtp.conf directly instead of doing a cd first? Did the install of ssmtp complete successfully?

Leave a Reply to Matthew Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.