[28567] in North American Network Operators' Group
Re: Anybody patching Sendmail to filter _attachments_?
daemon@ATHENA.MIT.EDU (Craig Partridge)
Mon May 8 15:25:46 2000
Message-Id: <200005081813.OAA96460@aland.bbn.com>
To: rmeyer@mhsc.com
Cc: "'Bill Woodcock'" <woody@zocalo.net>, nanog@nanog.org
In-reply-to: Your message of "Mon, 08 May 2000 10:06:36 PDT."
<003b01bfb90f$c535f940$eaaf6cc7@PEREGRIN>
Date: Mon, 08 May 2000 14:13:29 -0400
From: Craig Partridge <craig@aland.bbn.com>
Errors-To: owner-nanog-outgoing@merit.edu
In message <003b01bfb90f$c535f940$eaaf6cc7@PEREGRIN>, "Roeland Meyer (E-mail)"
writes:
>Granted, I am not a sendmail.cf guru, I don't see anyway for sendmail to detec
>t attachement, let alone their names. I only see header stuff as available fo
>r tinkering.
It would not be straightforward but the obvious place to catch attachments
is in collect() in collect.c
The challenge is finding some way to configure what types of attachments
get filtered out in the CF file... (I suppose a list of acceptable or
excluded MIME types in a separate file might do it).
Craig