To setup IP rotation in PowerMTA, configure multiple IP on the server. Setup rDNS for each of these IP, point a sub domain to these IPs same as the reverse DNS entry.
Here is an exable
First we need to edit DNS records. Add folowing A records.
pmta1.sevrerok.in A 176.123.8.12 pmta2.sevrerok.in A 176.123.8.13 pmta3.sevrerok.in A 176.123.8.17
Set up rDNS (reverse DNS/PTR Record) with your server provider.
176.123.8.12 > pmta1.sevrerok.in 176.123.8.13 > pmta2.sevrerok.in 176.123.8.17 > pmta3.sevrerok.in
Edit PowerMTA config file
vi /etc/pmta/config
Find your virtual-mta configuration, replace it with
smtp-source-host 176.123.8.12 pmta1.sevrerok.in domain-key default,*,/etc/pmta/default.sevrerok.in.pem max-msg-rate 400/h smtp-source-host 176.123.8.13 pmta2.sevrerok.in domain-key default,*,/etc/pmta/default.sevrerok.in.pem max-msg-rate 400/h smtp-source-host 176.123.8.17 pmta3.sevrerok.in domain-key default,*,/etc/pmta/default.sevrerok.in.pem max-msg-rate 400/h virtual-mta pmta1 virtual-mta pmta2 virtual-mta pmta3
See PowerMTA
Leave a Reply