{"id":27502,"date":"2023-05-18T15:44:59","date_gmt":"2023-05-18T13:44:59","guid":{"rendered":"https:\/\/kb.zerospam.eu\/?post_type=docs&#038;p=27502"},"modified":"2023-05-18T16:48:50","modified_gmt":"2023-05-18T14:48:50","password":"","slug":"manage-attachment-restrictions","status":"publish","type":"docs","link":"https:\/\/kb.zerospam.eu\/en\/docs\/manage-attachment-restrictions\/","title":{"rendered":"Manage Attachment Restrictions"},"content":{"rendered":"<p>The <b>Attachment restrictions<\/b> page allows you to configure which email attachments to allow and which to block.<\/p>\n<p>In the Domain Level Control Panel, select <b>Incoming &#8211; Protection Settings &gt; Attachment restrictions<\/b> the Attachment restrictions page is displayed:<\/p>\n<p><a href=\"https:\/\/kb.zerospam.eu\/wp-content\/uploads\/2023\/05\/email-attach-restictions.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-27509 size-full\" src=\"https:\/\/kb.zerospam.eu\/wp-content\/uploads\/2023\/05\/email-attach-restictions.png\" alt=\"\" width=\"1551\" height=\"2317\" \/><\/a><\/p>\n<p>The following restrictions can be configured:<\/p>\n\n<table id=\"tablepress-1\" class=\"tablepress tablepress-id-1\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Restriction<\/th><th class=\"column-2\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Blocked Extensions<\/td><td class=\"column-2\">Messages that have an attachment with any of the selected extensions will be rejected.<br \/>\n<br \/>\nYou can add new extensions to those listed using the <b>Add new extension<\/b> feature.<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">Disallowed release extensions<\/td><td class=\"column-2\">Email users will not be allowed to release messages that contain attachments with the selected extensions.<br \/>\r\n<br \/>\r\nYou can add extensions to this list using the <b>Add new extension<\/b> feature.<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Restriction options<\/td><td class=\"column-2\"><br \/>\n<ul><li><b>Block password-protected archive attachments<\/b> - If enabled, blocks messages with password protected attachments like zip files<\/li><br \/>\n \t<li><b>Block potentially unwanted attachments<\/b> - If enabled, rejects attachments on <b>inbound messages<\/b> <strong>only <\/strong>that are considered dangerous or unwanted. For example, compressed executable files (e.g. UPX packers), password tools, network tools, peer-to-peer clients, remote access applications, system tools, spying tools and documents containing scripts<\/li><br \/>\n \t<li><b>Block Attachments Containing Hidden Executables at Domain Level<\/b>- If enabled, ZIP, TAR, GZIP, BZIP2 and 7Z archives (other than those compressed with deflate64) are checked and the message will be rejected if the archive appears to contain an executable<\/li><br \/>\n \t<li><b>Block attachments with macros<\/b> - If enabled, then any message with a document based attachment (.doc, .xls, .ppt etc) that contains any kind of macro will be rejected<\/li><br \/>\n<\/ul><\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Additional restrictions<\/td><td class=\"column-2\"><b>Message link size limit (in bytes)<\/b> - This option restricts the amount of data that is downloaded per message. Links in messages to executable files that would be blocked as attachments are followed and the content is checked against an anti-virus database.<br \/>\n<br \/>\n<b>Maximum MIME defects<\/b> - Messages that are sent with standard email clients have no defects, whereas spam messages are often generated with poorly developed software and have many defects. Normally we reject messages with defects but if you have a need to receive defective messages, you may set a limit or disable this check. If the defective messages come from a single sender, it would generally be better to either convince the sender to fix their software or allow that sender using <a href=\"https:\/\/kb.zerospam.eu\/en\/docs\/manage-incoming-sender-allow-list\/\">Manage Incoming Sender Allow list<\/a>.<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Scanned link extensions<\/td><td class=\"column-2\">If the <b>Message link size limit<\/b> is set (above), then links in messages to files with the selected extensions will be scanned for viruses and other malware.<br \/>\n<br \/>\nYou can add extensions to this list using the <b>Add new extension<\/b> feature.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-1 from cache -->\n\n<table id=\"tablepress-2\" class=\"tablepress tablepress-id-2\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Default (inherited) Blocked Extensions<\/th><th class=\"column-2\">Default (inherited) Scanned Link Extensions<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">.ade<\/td><td class=\"column-2\">.bat<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">.adp<\/td><td class=\"column-2\">.btm<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">.bat<\/td><td class=\"column-2\">.cmd<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">.btm<\/td><td class=\"column-2\">.cpl<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">.chm<\/td><td class=\"column-2\">.dll<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">.cmd<\/td><td class=\"column-2\">.exe<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">.com<\/td><td class=\"column-2\">.lnk<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">.cpl<\/td><td class=\"column-2\">.msi<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">.dll<\/td><td class=\"column-2\">.pif<\/td>\n<\/tr>\n<tr class=\"row-11\">\n\t<td class=\"column-1\">.docm<\/td><td class=\"column-2\">.prf<\/td>\n<\/tr>\n<tr class=\"row-12\">\n\t<td class=\"column-1\">.exe<\/td><td class=\"column-2\">.reg<\/td>\n<\/tr>\n<tr class=\"row-13\">\n\t<td class=\"column-1\">.hta<\/td><td class=\"column-2\">.scr<\/td>\n<\/tr>\n<tr class=\"row-14\">\n\t<td class=\"column-1\">.ins<\/td><td class=\"column-2\">.url<\/td>\n<\/tr>\n<tr class=\"row-15\">\n\t<td class=\"column-1\">.isp<\/td><td class=\"column-2\">.vbs<\/td>\n<\/tr>\n<tr class=\"row-16\">\n\t<td class=\"column-1\">.jar<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-17\">\n\t<td class=\"column-1\">.js<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-18\">\n\t<td class=\"column-1\">.jse<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-19\">\n\t<td class=\"column-1\">.lib<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-20\">\n\t<td class=\"column-1\">.lnk<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-21\">\n\t<td class=\"column-1\">.mde<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-22\">\n\t<td class=\"column-1\">.msc<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-23\">\n\t<td class=\"column-1\">.msi<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-24\">\n\t<td class=\"column-1\">.msp<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-25\">\n\t<td class=\"column-1\">.mst<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-26\">\n\t<td class=\"column-1\">.nsh<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-27\">\n\t<td class=\"column-1\">.pif<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-28\">\n\t<td class=\"column-1\">.prf<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-29\">\n\t<td class=\"column-1\">.reg<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-30\">\n\t<td class=\"column-1\">.scr<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-31\">\n\t<td class=\"column-1\">.sct<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-32\">\n\t<td class=\"column-1\">.shb<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-33\">\n\t<td class=\"column-1\">.url<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-34\">\n\t<td class=\"column-1\">.vb<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-35\">\n\t<td class=\"column-1\">.vbe<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-36\">\n\t<td class=\"column-1\">.vbs<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-37\">\n\t<td class=\"column-1\">.vxd<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-38\">\n\t<td class=\"column-1\">.wsc<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-39\">\n\t<td class=\"column-1\">.wsf<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<tr class=\"row-40\">\n\t<td class=\"column-1\">.wsh<\/td><td class=\"column-2\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-2 from cache -->\n<h2>Block Specific Extension Types<\/h2>\n<p>You can also block messages based on their attachment type. You can add more attachment types to the list of default ones already set up in the system.<\/p>\n<ol>\n<li value=\"1\">In the <b>Blocked extensions<\/b> panel, place a tick in the checkbox alongside the extension type you want to block<\/li>\n<li value=\"2\">To add more extension types, use the <b>Add new extensions<\/b> field<\/li>\n<li value=\"3\">Click <b>Save<\/b><\/li>\n<\/ol>\n<h2>Block Password Protected Archives<\/h2>\n<p>Spammers often use the trick of sending password encrypted archives in the hope to bypass some filters, and saying the \u201cpassword\u201d in the body of the spam message. These messages can be blocked by enabling the \u201cBlock Password Protected Attachments\u201d feature.<\/p>\n<ol>\n<li value=\"1\">In the <b>Restriction Options<\/b> panel, place a tick in the <b>Block password-protected archive attachments<\/b> checkbox<\/li>\n<li value=\"2\">Click <b>Save<\/b><\/li>\n<\/ol>\n<h2>Block Attachments Containing Hidden Executables at Domain Level<\/h2>\n<p>To block dangerous attachments for a specific domain only:<\/p>\n<ol>\n<li value=\"1\">In the <b>Restriction Options<\/b> panel, place a tick in the <b>Block attachments that contain hidden executables checkbox<\/b><\/li>\n<li value=\"2\">Click <b>Save<\/b><\/li>\n<\/ol>\n<h2>Block Attachments with Macros<\/h2>\n<p>This option (which is disabled by default) allows you to reject all incoming emails received with document based attachments (.doc, .xls, .ppt etc) containing macros. This can be enabled per domain by:<\/p>\n<ol>\n<li value=\"1\">In the <b>Restriction Options<\/b> panel, place a tick in the <b>Block attachments with macros<\/b> checkbox<\/li>\n<li value=\"2\">Click <b>Save<\/b><\/li>\n<\/ol>\n<h2>Enable Scanned Link Extensions<\/h2>\n<p>This option (which is disabled by default) allows you to configure your domain(s) to allow the download of files of a specific extension type from links within an email. The system scans the files for any viruses or malware.<\/p>\n<ol>\n<li value=\"1\">In the <b>Additional Restrictions<\/b> panel, enter 2000000 in the <b>Message link size limit (in bytes)<\/b> field<\/li>\n<li value=\"2\">In the <b>Scanned Link Extensions<\/b> panel, add the following extension types to the existing list using the <b>Add new extensions<\/b> field: zip, rar, jar, js, java, aspx, doc, docm, xls, xlsm<\/li>\n<li value=\"3\">Click <b>Save<\/b><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Attachment restrictions page allows you to configure which email attachments to allow and which to block. In the Domain Level Control Panel, select Incoming &#8211; Protection Settings &gt; Attachment restrictions the Attachment restrictions page is displayed: The following restrictions can be configured: Block Specific Extension Types You can also block messages based on their [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"doc_category":[51],"doc_tag":[],"class_list":["post-27502","docs","type-docs","status-publish","hentry","doc_category-email-restrictions"],"year_month":"2026-04","word_count":354,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/kb.zerospam.eu\/en\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Email Restrictions","term_url":"https:\/\/kb.zerospam.eu\/en\/docs-category\/email-restrictions\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/docs\/27502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/comments?post=27502"}],"version-history":[{"count":10,"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/docs\/27502\/revisions"}],"predecessor-version":[{"id":27522,"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/docs\/27502\/revisions\/27522"}],"wp:attachment":[{"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/media?parent=27502"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/doc_category?post=27502"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.zerospam.eu\/en\/wp-json\/wp\/v2\/doc_tag?post=27502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}