sendmail patch for split recipients - ( was Re: ANNOUNCE: Unstable 4.30.1)

Ken Anderson (Pacific Internet) ka at PACIFIC.NET
Thu Apr 15 01:00:36 IST 2004


oops! Spoke too soon again...
The patch causes problems for SpamAssassin. In particular, DCC seems to
complain of 'missing message body' for every message test & nothing gets
the DCC score.

Ken A
Pacific.Net


Julian Field wrote:

> At 17:47 14/04/2004, you wrote:
>
>> The splitted messages thing was about using instead of exlusive lock
>> on df
>> files because they were hard links of the same file in case of split,
>
>
> Please try this patch to SMDiskStore.pm
>
> -----SNIP-----
> --- SMDiskStore.pm.old  2004-04-14 18:31:57.000000000 +0100
> +++ SMDiskStore.pm      2004-04-14 18:32:00.000000000 +0100
> @@ -123,8 +123,9 @@
>    #print STDERR "Got hlock\n";
>
>    # If locking the dfile fails, then must close and unlock the qffile too
> -  unless (MailScanner::Lock::openlock($this->{indhandle},
> -                      '+<' . $this->{dpath}, 'w', 'quiet')) {
> +  #JKF unless (MailScanner::Lock::openlock($this->{indhandle},
> +  #JKF                     '+<' . $this->{dpath}, 'w', 'quiet')) {
> +  unless (open($this->{dhandle}, '+<' . $this->{dpath})) {
>      MailScanner::Lock::unlockclose($this->{inhhandle});
>      return undef;
>    }
> @@ -138,7 +139,8 @@
>  sub Unlock {
>    my $this = shift;
>
> -  MailScanner::Lock::unlockclose($this->{indhandle});
> +  #JKF MailScanner::Lock::unlockclose($this->{indhandle});
> +  close($this->{indhandle});
>    MailScanner::Lock::unlockclose($this->{inhhandle});
>  }
>
> -----SNIP-----
>
>>  while
>> the IFrame logging one was maybe a bug which causes IFrame are not logged
>> when Allow IFrame Tags and Log IFrame Tags are both set to yes.
>
>
> I will try to remember to look at that one.
>
>
>> ----- Original Message -----
>> From: "Julian Field" <mailscanner at ECS.SOTON.AC.UK>
>> To: <MAILSCANNER at JISCMAIL.AC.UK>
>> Sent: Wednesday, April 14, 2004 5:03 PM
>> Subject: Re: ANNOUNCE: Unstable 4.30.1
>>
>>
>> > Remind me what that was about...
>> >
>> > At 14:56 14/04/2004, you wrote:
>> > >Hi Julian,
>> > >
>> > >what about the splitted messages and the IFrame logging thing? Did you
>> had
>> > >time to look at that?
>> > >
>> > >Regards,
>> > >
>> > >+----------------------------------------------------------+
>> > >| Dr. Francesco Rotondo         E-mail: f.rotondo at teseo.it |
>> > >+----------------------------------------------------------+
>> > >| Teseo Internet Provider, Srl                             |
>> > >| C.so A. De Gasperi, 344       Web: http://www.teseo.it   |
>> > >| 70125 - Bari                  Tel: +39(080)5036970       |
>> > >| Italy                         Fax: +39(080)5008672       |
>> > >+----------------------------------------------------------+
>> >
>> > --
>> > Julian Field
>> > www.MailScanner.info
>> > MailScanner thanks transtec Computers for their support
>> >
>> > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> >
>> >
>
>
> --
> Julian Field
> www.MailScanner.info
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>



More information about the MailScanner mailing list