Broken Return-Path: header
Julian Field
jkf at ecs.soton.ac.uk
Thu May 9 14:41:15 IST 2002
At 12:39 09/05/2002, you wrote:
>I don't know what it was supposed to do, but when I apply this patch, it
>just deletes the Return-Path header from the warning message AND from the
>infected message.
That should only happen if you are using MailScanner on the server that
does the final message delivery into the user's mailbox.
Is the Return-Path header any use anyway? I don't see why as it is trivial
to fake.
I'll try to write you a better version of the solution.
>Clean messages still show a good Return-Path header.
>
>--
> Evert Jan van Ramselaar <evertjan at vanramselaar.nl>
> Van Ramselaar Info Tech <http://www.vanramselaar.nl>
>
>
>
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > Behalf Of Julian Field
> > Sent: Thursday, May 09, 2002 1:18 PM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Broken Return-Path: header
> >
> >
> > If you are getting weird
> > Return-Path: <$g>
> > headers in your mail from MailScanner, please can you try the following
> > patch and report back to me if it works.
> >
> > ------------------------------------------------------
> > *** /usr/local/mailscanner/mailscanner/bin/mta-specific.pl Thu May 9
> > 12:22:47 2002
> > --- mta-specific.pl Thu May 9 11:25:12 2002
> > ***************
> > *** 551,560 ****
> > --- 551,562 ----
> > $InHeader = 1 if $Line =~ /^H/;
> > ($InHeader=0),next unless $Line =~ /^[H\t ]/;
> > $Line =~ s/^H//;
> > # JKF 18/04/2001 Delete ?flags? for 0 or more flags for
> > sendmail 8.11
> > $Line =~ s/^\?[^?]*\?//;
> > + # JKF 06/05/2002 Fix broken Return-Path: header bug
> > + next if $Line =~ /^Return-Path:/i;
> > push @results, $Line;
> > if ($Line =~ /^Subject:\s+(\S.*)$/i) {
> > $subject = $1;
> > #print "Subject is \"$subject\"\n";
> > }
> > ------------------------------------------------------
> > --
> > 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
> >
--
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