• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

PowerMTA - Delivery of large volumes of email

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

No permission to download
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
 
  • Like
Reactions: MCA
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
 
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
 
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
 
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
 
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
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:
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
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock