Forum Discussion
Could not connect to SMTP host.
Getting the below error when i tried to query our SMTP server from the GUI SMTP Error: Could not connect to SMTP host.
Same could connect when i tried it from the Cli
From CLI: telnet host 25
If you get no answer, then check the routing and make sure F5 has a route to the host if it is not directly connected. If routing is OK then check if there is any firewall in the path that is blocking the traffic
- FAJUMOCirrus
Hello Amine,
Thanks for your swift response.
I could telnet to port 25 to the said IP using CLI.
but when i query from the GUI
System ›› Configuration : Device : SMTP ›› SMTP_Host
click test connection i get "SMTP Error: Could not connect to SMTP host."
- FAJUMOCirrus
SEE the output below
14:10:14.630034 IP 10.158.11.74.25 > 10.161.6.6.60672: Flags [P.], seq 1:106, ack
14:10:24.625476 IP 10.158.11.74.25 > 10.161.6.6.33740: Flags [P.], seq 1:106, ack 2, win 8195, options [nop,nop,TS val 1601907323 ecr 1568290787], length 105: SMTP: 220 MBX01.etexample.com Microsoft ESMTP MAIL Service ready at Thu, 9 May 2024 14:10:23 +0100 in slot1/tmm1 lis=
14:10:24.625559 IP 10.161.6.6.33740 > 10.158.11.74.25: Flags [R], seq 4003805261, win 0, length 0 out slot1/tmm1 lis=
14:10:24.625728 IP 10.158.11.74.25 > 10.161.6.6.33740: Flags [F.], seq 106, ack 2, win 8195, options [nop,nop,TS val 1601907323 ecr 1568290787], length 0 in slot1/tmm1 lis=
14:10:24.625736 IP 10.161.6.6.33740 > 10.158.11.74.25: Flags [R.], seq 2, ack 107, win 0, length 0 out slot1/tmm1 lis=
Can you test sending an actual report instead of clicking 'Test connection', there is a known bug with this button: Bug ID 868801 (f5.com)
If it is not related to this bug, then can you share an output of the following command while testing from the GUI (x.x.x.x being the mail server):
tcpdump -nni 0.0 host x.x.x.x and port 25
If there is no output, then use:
tcpdump -nni eth0 host x.x.x.x and port 25
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com