Inside your pmta.config, you will see:
# Link to your license file
license <file:///etc/pmta/license.pmta>
# global
log /var/log/pmta/pmta.log
# virtual MTA grouping
<virtual-mta vmta-us>
source-ip 192.0.2.10
max-msg-rate 1000
</virtual-mta>
# domain policy
<domain example.com>
vmta vmta-us
dkim-selector default
max-msg-rate 500
</domain>
# listener
<smtp-listener>
port 2525
interface 0.0.0.0
allow-auth plain login
</smtp-listener>
# dkim
<dkim>
selector default
key-file /etc/pmta/dkim/example.com.private
</dkim>
(Adapt to your environment; actual directives differ by PowerMTA version.) powermta config file link
The authentication and authorization section configures PowerMTA's authentication mechanisms. Some key parameters include: Inside your pmta
Example:
auth_mechanisms = ["PLAIN", "LOGIN"];
auth_database = "/etc/powermta/auth.db";
The SMTP settings section configures PowerMTA's behavior as an SMTP server. Some key parameters include: # global log /var/log/pmta/pmta
Example:
smtp_port = 25;
smtp_auth = true;
allowed_senders = ["127.0.0.1", "192.168.1.0/24"];