PowerMTA - Delivery of large volumes of email

PowerMTA - Delivery of large volumes of email v5.0r3

No permission to download

allesonwilliam

New member
Jul 26, 2022
0
2
0
PowerMTA SMTP Server: Important commands

1) Show mail queue
# pmta show queue
# pmta show topqueues

2) Show domains to which mails are being sent
# pmta show domains
# pmta show topdomains

3) Show status of Traffic, Connections and Queues
# pmta show status

4) Show jobs
# pmta show jobs

5) Start and Stop PowerMTA
# pmtawatch --start pmta
# pmtawatch --stop pmta

6) Start and Stop PowerMTA web monitor
# pmtawatch --start pmtahttp
# pmtawatch --stop pmtahttp

7) Show status of Virtual MTAs
# pmta show vmtas

8) Show status of registration with PowerMTA Management Console
# pmta show registration

9) Show settings
# pmta show settings domain

10) Show license information of PowerMTA
# pmta show license

11) Show PowerMTA version
# pmta show version
# pmtad --version
# pmtastats --version
# pmtaacct2xml --version

12) Show Date, OS, OS version, OS architecture, Kernel version
# pmtashowstacks --version
 

kripats

New member
May 6, 2022
7
-1
1
just tested it yesterday in a fresh new droplet and is working fine
Wow, a little hope there... ive tried installing it couple of times started the first time but if i try restarting pmta after some changes it goes back to failed state can you guide me through your installation process.. thanks
 

AnormaL

Active member
Dec 26, 2019
163
68
28
Wow, a little hope there... ive tried installing it couple of times started the first time but if i try restarting pmta after some changes it goes back to failed state can you guide me through your installation process.. thanks
you have to proper config your config file. send me the debug logs
 

allesonwilliam

New member
Jul 26, 2022
0
2
0
PowerMTA route mails through another SMTP server for a domain
If you want to route emils from PowerMTA though another SMTP server, you can use following config.
In this example, all outgoing emails to @outlook.com domain will get routed through Amazon SES.

Edit PowerMTA config file:
vi /etc/pmta/config

Add folowing:

<domain outlook.com>
queue-to amazon-ses.route
</domain>

<domain amazon-ses.route>
auth-username USER_NAME_HERE
auth-password PASSWORD_HERE
route email-smtp.us-west-2.amazonaws.com:587
use-starttls yes
require-starttls yes
</domain>


Restart PowerMTA:
systemctl restart pmta
 

frankebele

Member
Oct 3, 2019
45
-15
18
When I ran command line

Code:
[root@pmta ~]# service iptables save

I got

Code:
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.

When I ran

Code:
[root@pmta ~]# service pmta status -l

the service was running fine but I had 2 warnings

Code:
● pmta.service - Port25's Message Transfer Agent (MTA)
   Loaded: loaded (/usr/lib/systemd/system/pmta.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2021-08-08 20:10:09 UTC; 1min 18s ago
  Process: 24258 ExecStop=/usr/sbin/pmtawatch --stop pmtad (code=exited, status=0/SUCCESS)
  Process: 24260 ExecStart=/usr/sbin/pmtawatch --start pmtad (code=exited, status=0/SUCCESS)
Main PID: 24262 (pmtad)
   CGroup: /system.slice/pmta.service
           ├─24261 /usr/sbin/pmtawatch --start pmtad
           └─24262 /usr/sbin/pmtad

Aug 08 20:10:08 pmta.beautylea.shop systemd[1]: Stopped Port25's Message Transfer Agent (MTA).
Aug 08 20:10:08 pmta.beautylea.shop systemd[1]: Starting Port25's Message Transfer Agent (MTA)...
Aug 08 20:10:08 pmta.beautylea.shop pmtawatch[24260]: 2021-08-08 20:10:08 WARNING (line 71 of /etc/pmta/config): 'route' is deprecated; use 'smtp-hosts' instead
Aug 08 20:10:08 pmta.beautylea.shop pmtawatch[24260]: 2021-08-08 20:10:08 WARNING (line 95 of /etc/pmta/config): 'route' is deprecated; use 'smtp-hosts' instead
Aug 08 20:10:09 pmta.beautylea.shop systemd[1]: pmta.service: Supervising process 24262 which is not our child. We'll most likely not notice when it exits.
Aug 08 20:10:09 pmta.beautylea.shop systemd[1]: Started Port25's Message Transfer Agent (MTA).


When I tried to access the web monitoring management console through port 8080 I configured in the config file I got


Code:
Your IP address is not allowed access to the Web Monitor as per configuration settings.
Please consult http-access directive in PMTA User Guide.

For reference, the directive for administrative access from your current IP address that needs to be added to /etc/pmta/config would be:
#
http-access <your IP address> admin
#
To find the IP address you used to access the Web Monitor from, please look in the Web Monitor log file located at: /var/log/pmta/pmtahttp.log


When I ran command line :

Code:
service iptables stop &&chkconfig iptables stop

As it was advised in the installation process guide in case the web monitoring management console would not work, I got this response :

Code:
Redirecting to /bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.



Conclusion : the pmta service is active and running I can send emails with a score of 10/10 but for some reason I can't access the web monitoring management console so any help would be must appreciated.
I have an issue with mine,when i ran an smtp test i got the following

All tests succeded, no relay accepted.​

please what could be the issue
 

allesonwilliam

New member
Jul 26, 2022
0
2
0
backup your config file
remove old powermta
setup new powermta
copy config data (some changes must be done so config works as ver 5 wants)
 
  • Like
Reactions: Monalee

allesonwilliam

New member
Jul 26, 2022
0
2
0
do someone knows how to config 2 different servers with powermta in the same domain ?
i m not speak about iprotation = same server with many ips

have anyone PowerMTA Dashboard ?
 
Last edited:

Kyroka

New member
May 23, 2022
1
0
1
do someone knows how to config 2 different servers with powermta in the same domain ?
i m not speak about iprotation = same server with many ips

have anyone PowerMTA Dashboard ?
Did you already installed just want to know is it working i want try also in my vps
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu