[Mimedefang] Multiple _with_warning() per message suggestions

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Wed May 14 04:45:01 EDT 2003


Hello,

in order to test action_replace_with_url() I created a MIME mail with
plenty of attachments, all of which were replaced by an URL. All
replacement texts have a similiar MIME header:

Content-Type: text/plain; name="warning.txt"
Content-Disposition: inline; filename="warning.txt"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
X-Mailer: MIME-tools 5.411 (Entity 5.404)

Then I also included some virus infected attachements, hence, causing a
WARNING.TXT attachment appear.

Suggestion #1: For mailclients that do cache the part within a file of the
suggested name, wouldn't it better to use a filename with a continueous
counter, e.g. "warning$counter.txt"? This should also include the
"WARNING.TXT" added by @Warning, because some systems are not
case-sensitive.

Suggestion #2: How about a global "capture all warnings" feature, so that
replace_with_warning() behaves like drop_with_warning()? This way
replace_with_url automatically behaves like drop_with_url and all the
warnings, that usually are individual attachements, are captured into the
central WARNING.TXT attachement?

Bye,

-- 
Steffen Kaiser



More information about the MIMEDefang mailing list