credentials to use postfix to send emails

August 17, 2017 154 views
Email Ubuntu 16.04

I have installed and configured postfix for sending emails only. Works ok as per the command line given in the tutorial. Would like to use it to send some notifications from a unifi controller hosted on the same server and one hosted on another server on Amazon. What credentials do I use to send emails out (hostname/ip, username, password, port)

1 Answer

hostname/ip is your droplet ip the postfix installation is on.
Username usually is the account you're signing into for example
Password whatever you set it to during installation and configuration.
If you setup SSL it should be port 465

  • Do you mean the email and password to connect to digital ocean, or the username and password to connect to the linux server?. I have tried several combinations but did not succeed. Any help will be appreciated

    • You could setup postfixadmin onto a webserver and use it to manage your postfix configuration if you don't exactly know what to do. But make sure to use a strong password for the postfixadmin and make sure you turn it off the webserver or disable access to the website after using it (Security, precaution.)

Have another answer? Share your knowledge.