credentials to use postfix to send emails

Posted August 17, 2017 3.1k views
EmailUbuntu 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)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.)