Richard Mealing richard at
Tue Feb 23 10:56:34 GMT 2010

Hi Jules,

>Put your Custom Functions into their own .pm file in 
>/usr/local/lib/MailScanner/MailScanner/CustomFunctions and then they 
>will always be left alone. All .pm files in that directory will be read

>for Custom Functions.
>On 17/02/2010 09:37, Richard Mealing wrote:
>> Hi Jules,
>> I am running freebsd and when I update MailScanner, this file gets 
>> over written - /usr/local/lib/MailScanner/MailScanner/
>> It's not a big pain, but I am using black / white listing by domain 
>> and it's a change that needs to be made every time I upgrade.
>> I'm not sure if this can be omitted from an upgrade? I thought I
>> just let you know.
>> Many thanks,
>> Rich

>Julian Field MEng CITP CEng
>Buy the MailScanner book at
>Need help customising MailScanner?
>Contact me!
>Need help fixing or optimising your systems?
>Contact me!
>Need help getting you started solving new requirements from your boss?
>Contact me!
>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>Follow me at and

This is great. Thanks very much for your help, once again. It didn't
work when I copied just the - my $WhitelistDir = 'whatever your dir'
But when I copied the whole rule it works fine and over writes what ever
is in the file.


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list