Watermark header addition in Exim does not work
Lasantha Marian
x72m35 at gmail.com
Sat May 17 08:07:15 IST 2008
Dear Julian,
Please, will you share your wisdom on this.
Thanks and best regards,
Lasantha.
*----- Original Message -----*
*Subject:* Watermark header addition in Exim does not work
*Date:* Fri, 16/May/2008 12:56:05 PM +0550
*From:* Lasantha Marian <x72m35 at gmail.com>
*To:* MailScanner discussion <mailscanner at lists.mailscanner.info>
> Friends,
>
> I gave some thought and explored the MailScanner source for
> Watermarking. After few hours of scanning I realized that tweaking the
> module "Message.pm", I could handle the situation. I did some changes
> in the subroutines "new", "DeliverUnscanned", "DeliverUnmodifiedBody"
> and "DeliverModifiedBody". I have attached the diff file
> (Message.pm-4.69.9-a.diff) against version 4.69.9.
>
> My test using this patch on both test and production environment have
> shown me that it works, whether it be Postfix or Exim.
>
> Please Julian let me know, whether what I have done could lead to
> trouble in future ?
> Should there be other modules and subroutines be changed for this
> purpose ?
> I have chosen to add multiple header values to the Watermark header,
> Is this advisable in multi-host (relay and destination) environment ?
>
> Thanks and best regards,
>
> Lasantha.
>
> *----- Original Message -----*
> *Subject:* Watermark header addition in Exim does not work
> *Date:* Thu, 15/May/2008 8:28:05 PM +0550
> *From:* Lasantha Marian <x72m35 at gmail.com>
> *To:* MailScanner discussion <mailscanner at lists.mailscanner.info>
>> Friends,
>>
>> I have observered in Exim/MailScanner installations Watermark header
>> addition does not work. But observing the logs reveal that
>> Watermarking works. Further, addition of other headers by MailScanner
>> (eg. X-YZ-MailScanner-SpamScore, X-YZ-MailScanner-From, etc) works
>> perfectly.
>>
>> As per the debugging that I have done in Message.pm; I don't see any
>> problem at line 334 (Version 4.69.9) either.
>>
>> Same type of installations with Postfix/MailScanner works well in
>> adding the Watermark header.
>>
>> Has anybody come across this condition ?
>>
>> I use the following Watermarking configuration in both type of
>> installations.
>>
>> Use Watermarking = yes
>> Add Watermark = yes
>> Check Watermarks With No Sender = yes
>> Treat Invalid Watermarks With No Sender as Spam = spam
>> Check Watermarks To Skip Spam Checks = yes
>> Watermark Secret = %org-name%-AABBCCDDEEFFGGHHIIJJ
>> Watermark Lifetime = 604800
>> Watermark Header = X-%org-name%-MailScanner-Watermark:
>>
>> Thanks in advance.
>>
>> Lasantha.
>>
More information about the MailScanner
mailing list