An open relay accepts mail from anyone to anyone and becomes a spam source within hours. The test is simple: connect from outside, give an external MAIL FROM and RCPT TO and see whether the server answers 250 or 554 Relay access denied. The capture shows that sequence against Postfix 3.8 with both outcomes, and is a reference for what relay abuse attempts look like in mail server traffic.
Testing a Postfix server for open relay: mail from an outside sender to an outside recipient, accepted or rejected with 554 relay access denied.
Postfix 3.8.6 Open Relay Testing
3 SMTP sessions against Postfix 3.8.6 on 10.99.0.21:25 testing open relay behavior. Each session performs EHLO negotiation revealing server capabilities (PIPELINING, SIZE 10240000, STARTTLS, ENHANCEDSTATUSCODES, 8BITMIME, DSN, SMTPUTF8, CHUNKING). The first two sessions attempt to relay mail to external addresses (gmail.com, yahoo.com) with spoofed sender domains. The third tests local delivery to pcaplab.local. Server responses show whether relay is permitted or rejected with 550 5.1.1 recipient address rejection. Capture contains only SMTP protocol traffic between 10.99.0.10 and 10.99.0.21 across 3 TCP connections.