Step1: Login to WHM.
Step2: Go to Home >> Service Configuration >> Exim Configuration Manager.
Step3: Locate the option Attachments: Filter messages with dangerous attachments under the Filters tab.
Step4: Click on ON to filter messages with dangerous attachments.
Step5: Click on Save.