bouncing mail

Denis Beauchemin Denis.Beauchemin at USHERBROOKE.CA
Wed Sep 15 21:22:18 IST 2004


<x-flowed>
Denis Beauchemin wrote:

> Julian Field wrote:
>
>> At 20:07 15/09/2004, you wrote:
>>
>>> Julian Field wrote:
>>>
>>>> At 19:27 15/09/2004, you wrote:
>>>>
>>>>> I have it working OK in my test setup but I was trying 
>>>>> unsuccessfully to
>>>>> include the $longspamreport in the report.  Is there some way of 
>>>>> achieving
>>>>> this?  I tested it with mailscanner-4.29.7-1.
>>>>
>>>>
>>> The report being used is sender.spam.sa.report.txt.
>>
>>
>>
>> Here is a little patch for Message.pm that should do what you want. 
>> If it
>> works, let me know and I'll put it in the next release.
>>
>> -----SNIP-----
>> --- Message.pm.old 2004-09-14 09:40:48.000000000 +0100
>> +++ Message.pm  2004-09-15 20:18:47.000000000 +0100
>> @@ -656,7 +656,7 @@
>>  sub HandleSpamBounce {
>>    my $this = shift;
>>
>> -  my($from,$to,$subject,$date,$spamreport,$hostname);
>> +  my($from,$to,$subject,$date,$spamreport,$longspamreport,$hostname);
>>    my($emailmsg, $line, $messagefh, $filename, $localpostmaster, $id);
>>
>>    $from = $this->{from};
>> @@ -692,6 +692,7 @@
>>    $subject = $this->{subject};
>>    $date = scalar localtime;
>>    $spamreport = $this->{spamreport};
>> +  $longspamreport = $this->{salongreport};
>>
>>    my($to, %tolist);
>>    foreach $to (@{$this->{to}}) {
>> -----SNIP-----
>
>
> Julian,
>
> It didn't work on my older MS (4.29.7-1).  I applied the patch 
> manually and restarted MS (I made sure no MS process was still running 
> before relaunching).  I got a blank line where I put $longspamreport 
> in the report.
>

Julian,

It does work when I apply the changes to the right function <blush>... I 
should go home...

Thanks again!

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

</x-flowed>



More information about the MailScanner mailing list