The best way to prevent attachments is to set
maxlength = (something small) in your list.config file.
The default is 40000 bytes.
You can also implement global and/or per list the
taboo_headers << END
/^X-MS-Attachment/
/^Content-Type:\s+multipart/
END
To do the same globally, put this in your majordomo.cf
under the heading of
$global_taboo_headers = <<'END';
/^X-MS-Attachment/i
/^Content-Type:\s+multipart/i
END
There are more filters you can add, but you get the idea.
Dan Liston
-= Ana Paula =- wrote:
>
> Hi Dan,
>
> Thursday, October 05, 2000, 7:40:18 PM, you wrote:
>
> DL> Could you be a bit more specific?
>
> Sure ! :-)
>
> DL> Are you trying to verify
> DL> a message has an attachment
>
> Noooooo !
>
> DL> or trying to prevent attachments
> DL> from being distributed to your list?
>
> Yes ! I'm need to prevent attachments files
> in some lists.
>
> Thanks,
> Ana
>
> DL> -= Ana Paula =- wrote:
> >> How can I impede that attached files are sent for a list?
> >> Thanks
> >> Ana
References:
|
|