MailWizz is the command center for your email infrastructure. Follow these steps to connect it to your PowerMTA backend.
1. Adding a Delivery Server
Navigate to Servers > Delivery Servers > Create New Server > SMTP.
- Hostname: The IP address of your PowerMTA server (e.g., 1.2.3.4).
- Port: 25 (Standard SMTP port).
- Username/Password: Leave blank if you authorized the IP in PowerMTA config.
- From Email: must match the domain you verified (e.g., news@yourdomain.com).
2. Setting Up Bounce Processing
To keep your lists clean, MailWizz must read bounce emails. Navigate to Servers > Bounce Servers.
Create a POP3/IMAP account (e.g., bounce@yourdomain.com) and enter the credentials here. MailWizz will log in every 10 minutes, read the bounces, and unsubscribe invalid emails automatically.
3. Cron Jobs (Critical)
MailWizz relies on Cron Jobs to send emails. Add these to your server's crontab (crontab -e):
* * * * * /usr/bin/php -q /var/www/html/apps/console/console.php send-campaigns >/dev/null 2>&1
* * * * * /usr/bin/php -q /var/www/html/apps/console/console.php bounce-handler >/dev/null 2>&1
*/2 * * * * /usr/bin/php -q /var/www/html/apps/console/console.php feedback-loop-handler >/dev/null 2>&1