detain / myadmin-mail-module
Mail Services Module for MyAdmin
Package info
github.com/myadmin-plugins/mail-module
Type:myadmin-plugin
pkg:composer/detain/myadmin-mail-module
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- symfony/event-dispatcher: ^5.0@stable
Requires (Dev)
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2026-03-19 15:47:11 UTC
README
A MyAdmin plugin module that provides mail service provisioning, activation, deactivation, and lifecycle management. It integrates with the Symfony EventDispatcher to handle service events such as enabling, reactivating, suspending, and terminating mail accounts (including ZoneMTA-based services).
Features
- Event-driven mail service lifecycle management (activate, reactivate, deactivate, terminate)
- ZoneMTA service type support with dedicated provisioning workflows
- Configurable suspension, deletion, and billing settings
- Admin and client email notifications on service state changes
- Integrates with the MyAdmin ORM and settings framework
Installation
composer require detain/myadmin-mail-module
Configuration
The module exposes its settings through the $settings static property on Detain\MyAdminMail\Plugin. Key defaults include:
| Setting | Default |
|---|---|
| SERVICE_ID_OFFSET | 1100 |
| SUSPEND_DAYS | 14 |
| SUSPEND_WARNING_DAYS | 7 |
| DELETE_PENDING_DAYS | 45 |
| EMAIL_FROM | support@interserver.net |
Running Tests
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1-only license.