--- title: "Create rule to prevent mass mailing worms from sending mail" slug: "create-rule-to-prevent-mass-mailing-worms-from-sending-mail" tags: ["Migration", "ENS 10.7.x"] updated: 2026-10-07T18:04:46Z published: 2026-10-07T18:04:46Z canonical: "docs.trellix.com/create-rule-to-prevent-mass-mailing-worms-from-sending-mail" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create rule to prevent mass mailing worms from sending mail Use this task to create Trellix ENS firewall rules that are equivalent to the predefined Access Protection rule AVO10 in VirusScan Enterprise 8.8. > [!NOTE] > Note > > See the Endpoint Security Firewall product documentation for more information about creating firewall rules. **Rule AVO10: Prevent mass mailing worms from sending mail** ``` Rule AVO10 G_030_AntiVirusOn { Description "Prevent mass mailing worms from sending mail" Process { Include * Exclude ${DefaultEmailClient} ${DefaultBrowser} eudora.exe msimn.exe msn6.exe msnmsgr.exe neo20.exe nlnotes.exe outlook.exe pine.exe poco.exe thebat.exe thunde*.exe winpm-32.exe MAPISP32.exe VMIMB.EXE RESRCMON.EXE Owstimer.exe SPSNotific* WinMail.exe explorer.exe iexplore.exe firefox.exe mozilla.exe netscp.exe opera.exe msn6.exe ${epotomcatdir}\\bin\\tomcat.exe ${epotomcatdir}\\bin\\tomcat5.exe ${epotomcatdir}\\bin\\tomcat5w.exe ${epotomcatdir}\\bin\\tomcat7.exe inetinfo.exe amgrsrvc.exe ${epoapachedir}\\bin\\apache.exe webproxy.exe msexcimc.exe Exclude ntaskldr.exe nsmtp.exe nrouter.exe agent.exe Exclude ebs.exe firesvc.exe modulewrapper* msksrvr.exe mskdetct.exe mailscan.exe rpcserv.exe Exclude mdaemon.exe worldclient.exe wspsrv.exe } Port OTU { Include 25 Include 587 } } ``` You need to create two firewall rules to provide equivalent functionality to the VirusScan Enterprise 8.8 rule. ## Task 1. In Trellix ePO - On-prem, select **Menu** → **Policy** → **Policy Catalog**, then select **Endpoint Security Firewall** from the **Product** list. 2. From the **Category** list, select **Rules**. 3. Click the name of the assigned **Firewall Rules** policy. 4. Click **Add Rule**, then configure a rule with the following settings. > [!NOTE] > Note > > To be effective, this rule must be positioned above any other rules that block or allow outgoing TCP traffic to remote ports 25 or 587. - **Action:** **Allow** - **Direction:** **Out** - **Network protocol:** **Any protocol** - **Transport protocol:** **TCP** - **Remote ports:** 25 and 587 - **Applications:** Add executables with the file name or path* set to the Exclude section in the AVO10 rule.** * Variable names ${DefaultEmailClient}, ${DefaultBrowser}, ${epotomcatdir}, ${epoapachedir} are not supported by Trellix ENS, so in order to add these executables, you need to add the executable file names associated with the desired default email client, default browser, Trellix ePO - On-prem Tomcat Install directory before \bin\, and Trellix ePO - On-prem Apache Install directory before \bin\. ** Use single backslashes instead of double backslashes. 5. Click **Save**. 6. Click **Add Rule**, then configure a second rule directly below the rule you created in step 4: - **Action:** **Block** - **Direction:** **Out** - **Network protocol:** **Any protocol** - **Transport protocol:** **TCP** - **Remote ports:** 25 and 587 7. Click **Save**. ## Results This rule is created and enabled in Trellix ENS for all managed systems where it is assigned. > [!NOTE] > Note > > The AVO10 rule was disabled by default in VirusScan Enterprise 8.8, so the traffic was allowed. To achieve the VirusScan Enterprise default behavior in Trellix ENS, change the Block rule's **Action** to **Allow**.