bouncing mail
Julian Field
mailscanner at ecs.soton.ac.uk
Wed Sep 15 20:31:18 IST 2004
<x-flowed>
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.
>>
>>
>>What is the problem? Which report are you trying to use it in?
>>I may not have put the code in to use this in the specific report you are
>>using.
>
>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 Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ 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