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

Re: [vps-mail] Eliminate all attachements



MAS> Is there a procmail rule to eliminate all email attachments, regardless
MAS> as to their extension?

MAS> Mark

Mark,
If you really want to get rid of all attachments, there is a
a very simple perl script called stripmime that is very easy to set up - you
just install it & pipe mail through it.  It also gets rid of
HTML, though - basically, whatever goes through it is
converted to plain text.

Here's the  script:
http://www.phred.org/~alex/stripmime.pl

I've used it for mailing lists and also for archiving on the
server -- mail to certain business addresses is archived by
piping a copy through stripmime & then sending it to a file
- we do it this way to save on bandwidth since the archives
are primarily for record-keeping purposes only.


-Abigail

======================================================================
Technical questions regarding this list may be sent to
<vps-mail-owner@xxxxxxxxxxxx>. You may request an automated help
response by sending an email with the word 'help' (w/o quotes) in the
BODY of the message (subject is ignored) to <vps-mail-request@xxxxxxxxxxxx>.
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: