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

Re: MS Word attachments



This doesn't work perfectly, but its a decent start.  The not html rule
is because many of my co-workers send documents as html and .doc, and
I don't want to flame them.  Unfortunately, this means that someone
who sends the body of their message as html and attached a .doc will
slip through.

:0 bc:
* ^Content-Type: application/msword
* ! ^Content-Type: application/html
| (formail -r ; echo ; echo "Please send in html, thanks!" ) |
$SENDMAIL -t

Adam



On Mon, Feb 14, 2000 at 04:29:47PM -0600, Matthew Saroff wrote:
> Hi,
> 	I'm having some problems with a large number of people who are starting
> to send me email consisting ENTIRELY of MS word attachments.  Since I do most
> of my mailreading under Unix/Linux, this is a ROYAL pain.  It's coming from MS
> outlook.
> 	How would I filter this?  I don't want to filter out the attachment, I
> want to bounce back the ENTIRE message, including the attachment with a note
> saying, "I don't accept MS Word attachments via email for security reasons."
> 	What should I filter on, and how do I include the attachment for
> reference?
> 
> -- 
> Matthew Saroff
> Do not reply directly to this message.  Reply to
> msaroff@pobox.com

-- 
Resistance is futile!                       http://jobs.zeroknowledge.com