Reset MySQL root password on Bitnami server


To reset MySQL root password on Bitnami server, first check MySQL server version you are running.

Create a file

Add following text For MySQL 5.7 or MySQL 8

For MySQL 5.6

In above code, replace NEW_PASSWORD with your new MySQL root password. Stop MySQL

Reset MySQL root password by running […]

Read More…

PowerMTA route mails through another SMTP server for a domain

If you want to route emils from PowerMTA though another SMTP server, you can use following config. In this example, all outgoing emails to domain will get routed through Amazon SES. Edit PowerMTA config file

Add folowing

Restart PowerMTA

See PowerMTA […]

Read More…

Enable Web Monitor UI in PowerMTA

PowerMTA comes with a Web Monitor UI, that will show you some stats about your mail server, also able to run some commands, edit PowerMTA configuration file. To enable Web Monitor UI, you need to white list your IP address in PowerMTA configuration, for this you need a fixed IP Address.


Add […]

Read More…

PowerMTA allow an IP to sent email

To allow a web server to send email through PowerMTA with out autentication, you need to edit PowerMTA configuration file

Add a source entry for the IP address that you need to allow relaying mails

Replace IP_ADDRESS with IP address of web server that you need to allow sending email with out autentication. […]

Read More…

swaks – command line SMTP testing tool

swaks is a command line SMTP testing tool available at On Debian/Ubuntu, you can install it with

if you just type swaks, it will ask your email, then sent a mail using MX Record to specified email address. To send email using specific mail sevrer

Deliver a standard test email, requiring CRAM-MD5 […]

Read More…

Change SMTP port in PowerMTA

To change SMTP port in PowerMTA, edit file

Find line starting with

This line specify port used by PowerMTA server. You can change the power on this line. If you need PowerMTA listen to multiple ports, duplicate the line and change port, this will make PowerMTA work using both ports.

This will […]

Read More…

Create SMTP user in PowerMTA

Once you have PowerMTA installed, you need to create SMTP user. To create an SMTP user, edit file


Add below

In above code, replace SMTP_USERNAME_HERE and SMTP_PASSWORD_HERE with SMTP username and password you need. in vmta-1, domain-key line that is commented out is used to Enable DKIM signing of out going […]

Read More…

Disable cPHulk Brute Force Protection

disable cPHulk

Cpanel Servers have a bruceforce attack detection module called cPHulk Brute Force Protection. In case your server have another bruteforce detection software like ConfigServer Security & Firewall, you may need to disable cPHulk Brute Force Protection as you don’t need 2 software for same purpose running on the server. To disable cPHulk Brute Force Protection, […]

Read More…