Troubleshooting Tip: FortiMail displays error: 'FortiGuard-Antispam: Query timeout or invalid response' and FortiGuard-Antispam: No Answer from server.
Description | This article describes the causes of the Error: 'FortiGuard-Antispam: Query timeout or invalid response' and FortiGuard-Antispam: No Answer from server error typically indicates an issue with connectivity or configuration.  ![]()  ![]() |
Scope | FortiMail. |
Solution | Check DNS Configuration:
 Verify FortiGuard License:Â
 Via GUI: Go to System -> FortiGuard.  ![]()
![]() Â Network connectivity:Â
Furthermore, FortiMail performs these queries and updates listed below using the following ports and protocols:
Use the following commands to confirm the DNS resolution and communicate with the FortiGuard servers: Â Example with communication problems to FortiGuard but no issues with name resolution. ![]() Â Example without communication errors: Â ![]() Â After resolving the communication issues, FortiGuard's response is correct. ![]() Â Result: ![]() |








