Deny Filetypes

Glenn Steen glenn.steen at gmail.com
Tue Oct 5 10:20:35 IST 2010


On 24 September 2010 16:11, Joshua F. Withrow <jwithrow at matech.net> wrote:
>
> Question…
>
>
>
> How would I go about either stripping <script> tags out of HTML attachments, or blocking HTML attachments outright?  I gave a short look for how to strip <script> tags from HTML attachments and didn’t find anything (which doesn’t mean it’s not out there), and when that proved unfruitful for me I decided to try to block HTML attachments altogether.
>
>
>
> I modified these settings in MailScanner.conf:
>
>
>
> Deny Filetypes = html
>
> Deny File MIME Types = text/html
>
>
These are wrong, please read the comment immediatly above the settings
you changed, to see valid settings.
There are examples aplenty, in this lists archives, the wiki etc (why
not get the Book?)... Please do some reading on the subject... At
least look through the entire MailScanner.conf, to get a feel for what
you can do, and how to do it.

>
> Upon doing so, my incoming queues (per MailWatch) began retaining mail.  Some would process and pass thru the outbound queue, but most was retained until I changed the settings back to being blank.
>
Expected outcome;).

>
> Any input is much appreciated J  Thanks!
>

Cheers
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list