Getting Started
Auto DNS Apply for PowerMTA
When installing PowerMTA through PMTAcore, you can now select a domain from your connected DNS providers and automatically apply all required DNS records for email sending. This eliminates manual DNS configuration and gets your SMTP server ready to send immediately.
How It Works
- Connect your DNS provider in DNS Management
- Start a PowerMTA installation on any server
- During installation, select a domain from the dropdown
- PMTAcore automatically creates all required DNS records
- Your SMTP is ready to send emails
DNS Records Applied Automatically
When you select a domain during PowerMTA installation, the following records are created:
| Record Type | Purpose | Example |
|---|---|---|
| A Record | Points mail subdomain to server IP | mail.domain.com → 192.168.1.1 |
| MX Record | Mail exchange record | domain.com → mail.domain.com |
| SPF Record | Authorizes server to send email | v=spf1 ip4:192.168.1.1 ~all |
| DKIM Record | Email authentication signature | default._domainkey.domain.com |
| DMARC Record | Email policy record | _dmarc.domain.com |
Using Auto DNS Apply
Step 1: Ensure DNS Provider is Connected
Before installing PowerMTA, make sure you have at least one DNS provider connected in the DNS Management section with verified API credentials.
Step 2: Start PowerMTA Installation
- Go to PowerMTA Management
- Select a server (from Cloud Manager or SSH Manager)
- Click Install PowerMTA
Step 3: Select Domain
In the installation dialog:
- Choose your PowerMTA version
- Enable Auto Apply DNS Records
- Select a domain from the dropdown (shows all domains from connected DNS providers)
- Click Install
Step 4: Automatic Configuration
PMTAcore will:
- Install PowerMTA on your server
- Generate DKIM keys
- Create all DNS records on your selected domain
- Configure PowerMTA with the domain settings
- Verify DNS propagation
Domain Validation
Before applying DNS records, PMTAcore validates:
- Domain ownership (via DNS provider API)
- No conflicting existing records
- Server IP accessibility
⚠️ Note: DNS propagation can take up to 24-48 hours globally, though most records propagate within minutes. PMTAcore will show the propagation status for each record.
Manual Override
If you prefer to set up DNS manually:
- Disable Auto Apply DNS Records during installation
- After installation, go to DNS Management
- Select your domain and manually add the required records
- Use the Copy Records button to get the exact values needed
✅ Best Practice: Always use Auto DNS Apply for new installations. It ensures all records are correctly formatted and reduces configuration errors.