PowerMTA test using telnet

To test PowerMTA using telnet, run

telnet localhost 25

Now paste following content

ehlo localhost
mail from: admin@smtp1.serverok.in
rcpt to: you@your-domain.com
data
Subject: Testing

This is text email.
.
quit

To see logs

Advertisement

tail -f /var/log/pmta/pmta.log

To see PowerMTA queue, run

pmta show queues
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement