# Deploy PostfixAdmin with Easypanel

URL: /templates/postfixadmin

PostfixAdmin is a robust, web-based administration interface for managing mail servers using Postfix. It allows you to easily manage virtual domains, mailboxes, and aliases through an intuitive and flexible interface. PostfixAdmin supports advanced features like quota management, domain statistics, and DKIM integration, making it an ideal tool for administrators of self-hosted email solutions.

## Installation notes

To create an admin user, run the following commands in the PostfixAdmin container "chmod +x /var/www/html/scripts/postfixadmin-cli" and "/var/www/html/scripts/postfixadmin-cli admin add". This will create a new admin user for accessing the PostfixAdmin interface.

## Benefits

### Simplified Email Administration

PostfixAdmin provides an easy-to-use web interface for managing mail servers, saving time and effort for administrators.

### Advanced Mail Management

Manage virtual domains, aliases, quotas, and DKIM settings with comprehensive support for advanced features.

### Self-Hosted Solution

Stay in control of your email infrastructure with a self-hosted solution that ensures privacy and customization.

## Features

### Virtual Domain Management

Easily create and manage virtual domains and mailboxes through the PostfixAdmin interface.

### Quota and Alias Support

Set mailbox quotas and create email aliases for efficient email handling.

### DKIM and SPF Integration

Enhance email authentication with built-in support for DKIM and SPF configuration.

### Domain Statistics

Monitor email usage and domain statistics directly from the PostfixAdmin interface.

## Configuration

- `appServiceName` (App Service Name, required): postfixadmin

- `appServiceImage` (App Service Image, required): postfixadmin:4.0.1-apache

- `smtpServer` (SMTP Server, required): localhost

- `smtpPort` (SMTP Port, required): 25

## Services

- postfixadmin: app (postfixadmin:4.0.1-apache)

- postfixadmin-mysql: mysql

## Resources

- [Documentation](https://postfix-configuration.readthedocs.io/en/latest/postfixadmin/)

- [GitHub](https://github.com/postfixadmin/postfixadmin)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/postfixadmin)