Again: Inline Text Signature and attachment-only mail

Julian Field mailscanner at ecs.soton.ac.uk
Mon Nov 18 14:24:39 GMT 2002


Sorry about that, must have missed it.
I have just added it to the code for 4.06 (the next release).

At 13:08 18/11/2002, you wrote:
>Hi,
>
>one month ago I sent this bug report:
>
> > One user received a mail with an empty body and two text/plain attachments.
> > Mailscanner inserted the "Inline Text Signature" into the first attachment.
> > The user got some trouble from this, because the attachment
> > was used as input for some program which disliked the signature.
>...
> > MailScanner uses SignCleanMessage to insert the signature
> > into the first part of a multipart message.
> >
> > MailScanner shouldn't insert a signature into an attachment
> > which is marked with
> >       Content-Disposition: attachment; filename="something.txt"
>
>When releasing 3.24-1, Julian wrote
>   I have also fixed 1 minor bug affecting the warning message added to
>   infected messages containing no main message body at all.
>
>This didn't solve the original problem,
>since my problem was with inline signatures,
>but Julian fixed inline warnings.
>
>In mailscanner-4.05-3, file Message.pm, function "SignWarningMessage"
>there is a line
>   # Won't sign attachments.
>     return 0 if $top->head->mime_attr('content-disposition') =~ 
> /attachment/i;
>
>Please add similar code to function "SignCleanEntity" in the same file.
>
>Viele Grüße
>
>-- Heinz Knutzen
>
>Datenzentrale Schleswig-Holstein
>Altenholzer Str. 10-14, 24161 Altenholz, Germany
>http://www.dzsh.de/
>mailto:heinz.knutzen at dzsh.de
>Tel: +49.431.3295.581 Fax: +49.431.3295.410

-- 
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ




More information about the MailScanner mailing list