12.3-Configure PowerMTA Server

Configuration has always been a critical part of an email sending infrastructure, especially when it comes to configure infrastructure capable of handling large volumes without affecting the email delivery. PowerMTA is one of the leading SMTP server solutions that offer flexibility to ensure industry standard secure email delivery. But sometimes it is tricky to setup your server for the best results; MUMARA has made it easy for even a non-technical person to add as many PowerMTA servers as he want for the best possible delivery rates and management control.

This is one of the best blends of an email gateway and a front end management application which lets you experience the pro features that PowerMTA offers. Following area discusses the step by step process of configuration of PowerMTA server with MUMARA management solution, which doesn’t need any past experience of email infrastructure engineering.

Reach PowerMTA servers under integration menu in the left navigation of the MUMARA. Once in, click the little plus sign towards the right side of your screen to start the process of adding a new PowerMTA server details. The following screen will open once you click the little plus sign.

Figure#12.3.1: Adding New PowerMTA Server


The process takes more than one steps to complete adding a new PowerMTA server, each step is described in detail, as below.

1st Step: Setup


The box highlighted with blue color indicates that which step of the process you are in, like in the above mentioned Figure#12.3.2, “Setup” is highlighted with blue. It means you are at first step of the process.The first step is about setting up basic required details, providing accesses and setting some security measures.

Table#12.3.1: Setting Up PMTA Server

Server Name

Name the new PowerMTA server to identify this new entry, among the list of other PowerMTA servers within the application.  


This is for you to propose the SMTP host for the new PowerMTA entry. Upon successfully adding a new PowerMTA server, application will automatically create SMTP accounts within MUMARA by taking the SMTP host information you are providing in this field. It will also create SMTPs into the PowerMTA server, for the domains and IPs, you will provide in the subsequent fields.

No matter, how many domains you will going to have in the PowerMTA server, you just need to propose one general host, consisting of one domain associated with the PowerMTA server, should resolve to the installation IP of PowerMTA. Rest of the work like distributing IPs on domains, creating SMTP groups, and generating username and passwords for the SMTPs, will be performed by MUMARA.


Port25 is largely known as default SMTP port, but some ISPs has this default behavior to block port25. It can be a port 25 or an alternative opening ports like 2525, 2526 (SSL) and 587. What will be your opening port for this SMTP entry, mention it here.

Server IP

Main IP address of the server where PowerMTA is hosted, for SSH/HTTP access. It is compulsory to provide the SSH access, for Mumara to automatically create PMTA config.  

PowerMTA Port

This is for the bounce processing directly from PowerMTA logs. Mention the opening port PowerMTA uses for the log file. It automatically integrates with the PowerMTA log file for remote bounce processing. 


Note: However the part of “Bounce to” email account for bounced email collection isn’t carried out yet, and will need to be completed in the next steps. 

Server Username

Provide the username for PowerMTA server, the user must have root access. 

Server Password

The password associated with the username mentioned in the field above.

IP List for Admin Access

Security measure to ensure that no one except for these mentioned IP addresses will be able to open the PMTA monitor and view sending logs. Provide the comma separated list of IP addresses for the admin users’ access.


2nd Step: IPs and Domains

Figure#12.3.3: Sending IPs/Domains 

The second step is about providing the list of IPs you have in your PowerMTA server for sending, domains you want to add, providing information like for the DKIM prefix or selector, and selection for the type of masking. 


 Table#12.3.2: Providing IPs and Adding Domains

IP List

List IP address, multiple IPs or IP ranges in the box. You are required to add each IP separated with a comma in this box. Following is the model entry.


Example Entry,


For the IPs belong to one IP range, you can either add one by one, separated by a comma as mentioned above in the model entry, or you can also mention number of IPs you have, with a hyphen at the end of your first entry.  Following model entry shows 25 IPs from the same range.


Example Entry (It will add IPs from to



Add domains to PowerMTA server, and separate each domain with a comma. It will equally distribute the number of IPs, on the number of domains you provide in the box.

For example, you provide 3 domains and 12 IPs for this new PowerMTA entry. Towards the 3rd step of this process, you will see all 12 IPs distributed on 3 domains equally (4 IPs per Domain), and separate section for each domain to provide "Sender Information" "Bounced" information and masking domain URL. 

The default behavior of Mumara is distributing the number of IPs equally on number of available domains. Or if the number of IPs are odd, the last domain will be given lesser number of IPs. 

However, this distribution isn't non-editable. On very next step, you will be able to control the distribution of IPs, Domains and SMTPs for this configuration.

Example Entry


DKIM Selector

Authenticate your email for DKIM record, provide the corresponding selector/ prefix for the domain name(s) you have provided in the previous field.

Selector is the attribute for the DKIM signature, used with the domain name to manage and support multiple keys for the same domain. It adds a differential attribute with each public key you generate for the same domain; however the validation process considers selector as additional attribute in the signature. For most of the people, one selector is enough to pass their authentication and keep their work flow smooth, except for the organizations with administrative divisions and diverse staff roles.


The selector/ prefix that you will provide in this field will be used to generate the signatures for all the domains you have listed in the previous field (Domain List).


For example, the selector can be “text” “private” or “test” etc.

Note: The Private Key Pair of the DKIM will automatically be added into the PMTA, as part of config. However, the TXT record for the DKIM needs to be added into the DNS panel by taking the public key information. The DNS entry for the DKIM record along with public key, will be provided to you in the .CSV file, upon completing all the steps of adding PowerMTA server. 

Masking Type

Which type of masking you want to apply, choose one of the two options 1) .htaccess or 2) CNAME?

.htaccesss is a configuration file that has an effect over the directory it is placed in, and CNAME is the type of record in DNS, that helps to map a name to another name. Both the ways conveniently help to hide the identity of your current installation or primary domain.


Choose one of the two options and press “Next” to reach to the third step of the process.

Upon providing the required information, press "Next" to move to the third step.

3rd Step: Configure

Figure#13.3.4: Configure 


Time for the simple configuration, separate sections have been created for each domain and its associated IPs. You need to configure, sender information for each sending domain, need to provide bounce to email account, and a field to provide masking domain.

Before we move to the sender information fields underneath, let's discuss some of the other controls, you have been offered to manage the IP(s) per domain and SMTP(s) per IP.


Rearrange IPs per Domain


Following its default behavior, you will see that Mumara has automatically distributed the IPs equally on currently available domains. Here on this step, you can oversee the default distribution of IPs per domain, and can reorganize the IPs, by using simple drag and drop.


Select one or more IPs you want to move from one domain and assign to another, Keep hold of the IP(s) using your mouse, drag it to the desired domain and drop to assign. It is how you can distribute the desired number of IPs per domain. Following screen shot shows one IP is getting dragged from "test.com" to add into the list of IPs assigned to "demo.com".


Figure#13.3.5: Distribute IP(s) Per Domain 



Number of SMTP(s) for available IP(s)

User has been provided with the two options for the SMTP(s) to be created for available IP(s). 

1st Option) One SMTP Account per IP- Select this option to create one SMTP for each single IP assigned to the particular domain. Like if this domain has 5 IPs, selection of this option will create 5 SMTPs, one SMTP for single IP. This will give you better control to manage your IPs, by selecting the desired SMTP while scheduling the campaign. 

2st Option) One SMTP Account for all IP(s)- Selection of this option will create one SMTP for all the IPs of one domain. In this case, PowerMTA will rotate the IPs in its own pattern, typicall, one by one.

Following figure shows selection of both the options, one SMTP per IP for the first and 3rd domain, "test.com" and "domain.com". One SMTP for all IP(s) for the 2nd domain "demo.com". 


Figure#13.3.6: Distribute IP(s) Per Domain 



SMTP Group Name

The first field before you move to provide the sender information is for you to create SMTP group for each domain. The SMTP(s) for that particular domain will then be saved into that particular group within Mumara.You can create one SMTP group for all the domains in one server, or even separate SMTP groups for separate domains within one server. This classification actually helps to differentiate between the SMTP(s) of one PowerMTA server from another, in case you have more than one PowerMTA servers to configure and use.


Sender Information Batch

Sender information is the set of information that will go along with the email that will be sent using the particular domain. If you have added for example three domains, you need to provide sender information for each domain separately. The sender information comprises of the following.

Table#12.3.3:Required Sender Information

From Name

Name of the person/company who is sending the email message. The name will appear in the from field of your recipient’s email client.

From Email

Email of the person/company who is sending the email message. It helps recipients to recognize the sender of the email. 

Application automatically returns with appropriate format for each domain suggested in the previous step. For the local part before @, it can be anything you prefer like admin, support, but the part after @, it should be your sending domain. Like admin@sendingdomain.com. 

Reply to Email

It informs the recipient that in case of replying to the message. Reply will be sent to that particular email.


Bounce to Email


Email address/ account to which you want the bounced emails to be sent. Provide an email address like bounce@domain.com and proceed. It will automatically create a bounce account within MUMARA, and also provide you information such as password to create one in your server as well. 

Earlier during the first step of adding PowerMTA server, you have provided the PowerMTA port for the PMTA bounce processor to access the PMTA logs for remote bounce processing. Providing the bounce to email account will create a bounce account within MUMARA, and will automatically generate the password for this bounce to email address. The password with other related information will be exported to the CSV file in the very next step.

Once you have the required information exported in the CSV file, take it and create an email account in your server for bounce collection. Now you will have your bounce processed remotely using PowerMTA log file and will also have bounced emails collected within the bounce to email address.

Masking Domain

Provide the complete URL of masking domain in the related field for domain masking.

Make sure that you have provided the correct path of the masking domain. If htaccess is selected as Masking Type, and .htaccess is to be placed in the public_html of the main site, provide complete address to the masking domain.

However In some of the cases, you may require to create a new directory. In this case, you must provide the complete path leading to the particular directory, where the file is to be placed in. Because .htaccess only controls the directory and subdirectory which it is located in. This field is for providing the complete qualified path leading to required directory.

Also in case of selecting CNAME as type of masking, make it sure that you have provided the complete path including installation directory to work this configuration properly. An example of this is when you have installed the application by creating a new directory like www.domain.com/memebers, the masking domain URL must end with its path including the installation directory “members” in the end.

Providing complete address of the masking domain(s) in its respective field will automatically add this domain in the list of currently available masking domains within MUMARA.

All the above mentioned information is compulsory in order to move to the next step, including the masking domain address. After completing all the fields, press "Next" and move forward. 

4th Step: Export CSV


Figure#12.3.5: Export DNS Information 


Your bounce account information, DKIM signature, Forward DNS for your IPs, Masking details and SMTP account setup and configuration details are ready for you to export in a CSV file, you just need to press next to view the details.


5th Step: Finishing



Configuration Details of New Server are as below.

Domain to Add

Domain(s) that you have provided during the second step of adding a new server will be added to PMTA, upon completing the final step. Each domain (Having Multiple Domains) will have its own number of IPs (Having Multiple IPs), sender information, bounced account information and masking domain. 

Process Within MUMARA

From add masking domains, it show the information of the actions application will automatically perform within MUMARA, once you complete the final steps. Following are these actions.

Add Masking Domain

Names of the domains you have provided during the 3rd step, into the masking domain(s) field, the checkbox indicates that it is going to add the domain(s) to the masking domain list within MUMARA. If you uncheck the checkbox, application will ignore adding masking domains to the MUMARA.


Add Bounce Emails

It points out that the particular email(s) will be added as bounce to email addresses within MUMARA bounce account settings. Uncheck the box to ignore this entry within MUMARA.



PowerMTA config will be performed automatically, by taking your preferences of IPs per domain, SMTP(s) per IP etc. This particular section which says "Add SMTPs/IPs indicates the process within Mumara. By taking the information you have provided in regard to your SMTP preferences, like SMTP group, SMTP(s) per IP, Opening port etc, application will automatically create SMTP account(s) within MUMARA as well.

It will also automatically generate a unique username and password for each SMTP, which you can view in the CSV file, you have downloaded in the result of the process.

At the end of this process of adding a new server, you have everything ready in MUMARA, just need to implement little tweaks such as, creating a bounce to email account and setting up DNS records within your DNS panel, such as CNAME, Entry of DKIM and FDNS etc. This information for the DNS is readily available in the CSV file that the application will download to your system, upon successful completing this process of adding PowerMTA server. Take it from there and implement. 


Have more questions? Submit a request


Powered by Zendesk