![]() ![]() Once your configuration is done, in order to send an email just run the following command: You need to incldue the your SMTP configuration: root=postmaster Using your favourite text editor opent the /etc/ssmtp/nf file: Now that you have ssmtp installed, in order to configure it to use your SMTP server when sending emails you need to edit the SSMTP configuration file. Then run the following command to install SSMTP:Īnother thing that you would need to install is mailutils, to do that run the following command: In order to install SSMTP you’ll need to first update your apt cache with: To set these up, please refer to our Initial Server Setup Guide for Ubuntu 18.04Īn SMTP server along with SMTP username and password, this would also work with Gmail’s SMTP server, or you could setup your own SMTP server by following the steps from this tutorial on (How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04) You would need the following things in order to be able to complete this tutorial successfully:Īccess to an Ubuntu 18.04 server as a non-root user with sudo privileges, and an active firewall installed on your server. One of its primary uses is for forwarding automated email (like system alerts) off your machine and to an external email address. SSMTP is not an email server itself and does not receive emails or manage a queue. ![]() SSMTP is a tool that delivers emails from a computer or a server to a configured mail host.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |