User avatar
Posts: 328
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Setting Up E-Mail

Mon Sep 15, 2014 6:51 am

Folks....I have set up e-mail using this link:

Code: Select all

sudo apt-get install ssmtp 
sudo apt-get install mailutils
sudo apt-get install mpack
and then configured it like this

Code: Select all

# Config file for sSMTP sendmail

# The full hostname
The above setup works and the test line

Code: Select all

echo "sample text" | mail -s "Subject"
works with the note arriving at my Hotmail account.

But, in fact, I do not want to use Google's Gmail system. I have my own domain and mail server.
I modified the above ssmtp.conf to use the hash-ed out lines to replace the Gmail lines. When I use Outlook I have to configure my outgoing (SMTP) server "requires authentication" and needs to use SSL and port 465. When I now try the above mail command it just hangs and I have to control-C to get back to the command line prompt.

What am I doing wrong? Thanks...RDK

Return to “Beginners”