Question

Can i suppress the email getting sent from the droplet create via the API

So here’s my problem, i have looked around and can’t seem to find a solution to it, or i may just be googling the wrong terms.

I’m trying to setup droplet creation via the API and i’m using the user-date( cloud-config ) to run command’s. But no matter what i try and do the email associated with the account gets and email saying that the droplet is ready and the root password is “blah”.

So my question is how do i suppress that email so that the email does not get sent to the associated email with that account.

I know i could attach an SSH key but I’m trying to avoid attaching a Key via the API to the account in question.

Subscribe
Share

As far as my knowledge goes, this, at present is not possible. Either you use SSH-Keys so no mail is shot or be ready for this mail with a root password.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi @asb I don’t know how to post a new question, so I’ll just post mine here.

I can’t open my PostgreSQL remotely using PgAdmin. Kindly see the image link below for the prompt. http://s6.postimg.org/yx6vd6vm9/Postgre_SQL_connection.png

I’ve already did this to iptables and the postgre is running fine. iptables -A INPUT -p tcp -m tcp --dport 5432 -j ACCEPT iptables -A OUTPUT -p tcp -m tcp --dport 5432 -j ACCEPT

see the image link for the result of iptables -L http://s6.postimg.org/ftdjwuis1/Postgre_SQL_connection_2.png

@saurabh is correct. There isn’t currently any way to suppress the root password mail except for adding a SSH key.