— Immediate Diagnosis Using Manual SMTP Transaction
If email is not being received even though the port is “open,”
the problem is often not the network but rejection at the SMTP policy / filtering stage.
In this situation, do not guess using a mail client.
Open an SMTP session directly and diagnose the issue at the RCPT stage.
Connect to the SMTP Port (Check the 220 Banner)
Connect using either of the following:
nc -v <SMTP_SERVER_IP> <PORT>
or
telnet <SMTP_SERVER_IP> <PORT>
If the connection is successful, you should see a banner similar to:
220 smtp.example.com ESMTP Postfix
If 220 does not appear, this is not an SMTP policy issue.
It is a network / firewall / security group / listening service problem.
Manual SMTP Transaction Test (RCPT TO is the Key)
If you received the 220 banner, now enter the following one line at a time, pressing Enter after each:
HELO test.com
MAIL FROM:<sender@fake-domain.com>
RCPT TO:<realuser@yourdomain.com>
- HELO test.com
The domain can be anything. - MAIL FROM
Test sender address. Anything is acceptable. - RCPT TO
Must be the real recipient address you are testing.
Otherwise, the test is meaningless.
When finished, close the session:
QUIT
Result Interpretation
| Response | Meaning |
|---|---|
| 250 Ok | SMTP server accepts the recipient |
| 550 sender domain not allowed | Blocked by sender domain policy |
| 554 Transaction failed | Blocked by policy / filter (spam, security module, etc.) |
| 421 Service not available | Server is rejecting the session (service / resource / policy issue) |
Why RCPT TO Is the Critical Step
In SMTP, the decision of accepting or rejecting mail is made primarily at the RCPT TO stage.
There is no need to proceed to the DATA stage.
If RCPT TO returns 250, the server will accept mail.
If it fails here, the problem is in policy / filtering / relay configuration.
🛠 마지막 수정일: 2025.12.24
💡 도움이 필요하신가요?
Zabbix, Kubernetes, 그리고 다양한 오픈소스 인프라 환경에 대한 구축, 운영, 최적화, 장애 분석,
광고 및 협업 제안이 필요하다면 언제든 편하게 연락 주세요.
📧 Contact: jikimy75@gmail.com
💼 Service: 구축 대행 | 성능 튜닝 | 장애 분석 컨설팅
📖 E-BooK [PDF] 전자책 (Gumroad):
Zabbix 엔터프라이즈 최적화 핸드북
블로그에서 다룬 Zabbix 관련 글들을 기반으로 실무 중심의 지침서로 재구성했습니다.
운영 환경에서 바로 적용할 수 있는 최적화·트러블슈팅 노하우까지 모두 포함되어 있습니다.
💡 Need Professional Support?
If you need deployment, optimization, or troubleshooting support for Zabbix, Kubernetes,
or any other open-source infrastructure in your production environment, or if you are interested in
sponsorships, ads, or technical collaboration, feel free to contact me anytime.
📧 Email: jikimy75@gmail.com
💼 Services: Deployment Support | Performance Tuning | Incident Analysis Consulting
📖 PDF eBook (Gumroad):
Zabbix Enterprise Optimization Handbook
A single, production-ready PDF that compiles my in-depth Zabbix and Kubernetes monitoring guides.