Troubleshooting Mail Server Auto-Detect Failed error in Anti-spam
10/14/2021 35 People found this article helpful 488,681 Views
Description
When you try to configure anti-spam for the first time you might get an error message "Mail Server Auto-Detect Failed". The reason anti-spam failed to detect mail server is because of SMTP(Send E-Mail) service object is present in a service group and its used under NAT policies or access rules.
The resolution is to remove the SMTP (Send E-mail) service if any service group/access rule/NAT rule is using it. This article guides you how to fix the mail server auto detect failed error when you try to configure Antispam for the first time.
Resolution
Resolution for SonicOS 7.X
This release includes significant user interface changes and many new features that are different from the SonicOS 6.5 and earlier firmware. The below resolution is for customers using SonicOS 7.X firmware.
- Navigate to Policy | Access rule
- Choose the Matrix From zone: Wan , To zone: Lan ( Note : If the exchange server is connected to DMZ zone, then select From zone : WAN and To zone : DMZ)
- If any rule is using SMTP (Send E-mail) service, disable the rule or delete
- If any rule is using SMTP (Send E-mail) in a service group, navigate to Objects | Match objects | services and remove SMTP (Send E-mail) service from that group object
- After making sure that no rules or service group is using SMTP (Send E-mail) service, you should be able to enable Antispam service
Resolution for SonicOS 6.5
This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.
- Navigate to Manage | Policies | Rules | Access rules
- Set matrix, From zone: WAN and To zone: LAN ( Note : If the exchange server is connected to DMZ zone, then select From zone : WAN and To zone : DMZ)
- If any rule is using SMTP (Send E-mail) service, disable the rule or delete
- If any rule is using SMTP (Send E-mail) in a service group, navigate to Manage | Policies | Objects | Service objects | service groups and remove SMTP (Send E-mail) service from that group object
- After making sure that no rules or service group is using SMTP (Send E-mail) service, you should be able to enable Antispam service
Resolution for SonicOS 6.2 and Below
The below resolution is for customers using SonicOS 6.2 and earlier firmware. For firewalls that are generation 6 and newer we suggest to upgrade to the latest general release of SonicOS 6.5 firmware.
- Navigate to Firewall | Access rules and choose view style as matrix, select From zone: WAN and To zone: LAN ( Note : If the exchange server is connected to DMZ zone, then select From zone : WAN and To zone : DMZ).
- Place the cursor on service groups and check if it contains SMTP(Send E-Mail) service in the service group.
- If it contains SMTP (Send E-mail)TCP port 25 like shown in the below screenshot
- Navigate to Network | Services | Service groups
- Select the service group which contains SMTP(Send E-Mail) service, then select the SMTP(Send E-Mail) service and click on the left arrow so that will remove the SMTP(Send E-Mail) service from the group and click OK to save the changes.
- Navigate to Antis-Spam | settings and you should now be able to enable Anti-Spam Service
Related Articles
Categories
Was This Article Helpful?
YESNO