---
title: How to Configure aaPanel Mail Server
description: "Do the following to configure aaPanel's mail server, and ensure that port 25 is enabled: 1. Login to your server's admin area. ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-admin.jpg) 2. Proceed to App Store ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore.jpg) 3. Search for the Linux Tools app and install. ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-linuxtools.jpg) Upon…"
url: "https://wpemailmanager.com/docs/how-to-configure-aapanel-mail-server/"
updated: "2022-08-21"
category: Server Configuration / aaPanel
---

# How to Configure aaPanel Mail Server

Do the following to configure aaPanel's mail server, and ensure that port 25 is enabled:

1. Login to your server's admin area.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-admin.jpg)
2. Proceed to App Store
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore.jpg)
3. Search for the Linux Tools app and install.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-linuxtools.jpg)
   Upon installing, click on settings.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-linuxtools-setting.jpg)
   Set the primary DNS as 8.8.8.8 and the secondary DNS as 8.8.4.4 then save. You can also use alternate DNS servers.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-linuxtools-setting-dns.jpg)
4. Still on the App Store page, search for Redis and install it.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-redis.jpg)
   Upon installing, click settings.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-redis-setting.jpg)
   Go to Performance Tuning and add a password to the 'requirepass' field, then save.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-redis-setting-password.jpg)
5. Still on the App Store page, search for mail server and install.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-mailserver.jpg)
   Upon installing, click on setting.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/aapanel-appstore-mailserver-setting.jpg)
   If you are shown an error that the mail server is not installed, click on confirm.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/mailserver-not-installed.jpg)
   Ensure that each mail server requirement is ready, then click on submit.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/06/mailserver-installation-ready.jpg)

After doing the above steps, you have successfully installed the mail server. When adding a mail domain, ensure that it resolves to your server's IP.
