The outline of an attached file removal filter (w-filter)
This program is an attached file removal filter. It is an awk script.
This program referred to
It is from a scratch so that I want.
a-filter only deleted the contents of an attached file (filtering), and the attached file itself created the script which newly carries out full deletion of the attached file since it remains, and is set only to plain text.
It cannot respond to mail instead of appending which sends the binary file itself. (Context-Type: of a header They are binaries other than multipart)
w-filter Ver1.02en (2004-Feb-18)
The author takes no responsibility about the result which used the above-mentioned program.
- Model : PC-AT compatible machine PentiumMMX150 72Mmemory
- OS : Linux (Slackware7)
- Sendmail :
- Download( w-filter )
- It moves to /usr/local/bin/w-filter or etc.
- # chmod 755 /usr/local/bin/w-filter
- # vi /etc/aliases
- test: "|/usr/local/majordomo/wrapper resend -h gomibako.com -l test test-hidden-list"
- to Change
- test: "|/usr/local/bin/w-filter|/usr/local/majordomo/wrapper resend -h gomibako.com -l test test-hidden-list"
- # newaliases
2002May30 : It finishes writing from a scratch. (Ver 1.0)
2002Jun06 : This (Japanese) page creation.
2002Jun20 : It is a "Content-Type:" header Not simple deletion ,
It changes so that it may replace with "Content-Type : text/plain; charset=ISO-2022-JP". (Ver 1.01)
2003May07 : It changes so that a "Disposition-Notification-To:" header may be deleted. (Ver 1.02)
2004Feb17 : This English page creation.
2004Feb18 : a charset in "Content-Type:" Header change to "US-ASCII" from "ISO-2022-JP". (Ver 1.02en)
a download report and a bug -- a report, a request, etc.