[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CrushLink > New Password



On Thu, Aug 09, 2001 at 09:14:47AM -0700, Karsten M. Self wrote:
> on Thu, Aug 09, 2001 at 04:35:08PM +0100, P Kirk (patrick@enterprise-hr.com) wrote:
> > Does debian-user have an admin who junks this kind of stuff or do I
> > need to write a procmail rule? 
> 
> A filter to dump all mail to lists with HTML attachments would go a long
> ways toward this.  Not to mention shaking up the idiots who're posting
> HTML mail to list currently.  I noticed the other day that Evolution is
> bug-for-bug compatible with MSLookOut in being able to send messages
> with *both* HTML *and* ASCII components.
> 
> Anyone got a good "this message contains HTML attachments and must die"
> procmail recipie?
> 
> Looks like:
> 
>     :0
>     * ^Content-Type: text/html
>     /dev/null
> 
> ...should do the trick, though it's not very genteel and might do the
> wrong thing on occasion.
> 

Here's mine :)

:0:
* ^TO_debian
* (^X-Mailer:.*Microsoft|^Content-Type:.*html)
/dev/null

Though, strangely enough, the X-Mailer and Content-Type filters are
redundant in most cases.

-- 
Brian Nelson <nelson@bignachos.com>



Reply to: