Issues with 4.79.11 and SweepOther.pm

Jules Field MailScanner at ecs.soton.ac.uk
Sat May 22 21:31:38 IST 2010


As a temporary fix for you to try for me, please edit 
/usr/lib/MailScanner/MailScanner/Message.pm.
Around line 417, there is a line that says this:
   $ArchivesAre    = '[' . $ArchivesAre . ']';
Please find this line and change it to
   $ArchivesAre    = '[' . $ArchivesAre . ']' if $ArchivesAre;
and then stop and restart MailScanner.

Please let me know if this solves the problem for you.

Jules.

On 21/05/2010 21:09, Brent Bloxam wrote:
> Tracked this down. Issue was due to me setting "Archives Are" in 
> MailScanner.conf to no value. Julian, what's your opinion on this? 
> Bug? Should we be able to blank that config line?
>
> Brent Bloxam wrote:
>> Working on installing MailScanner 4.79.11 on FreeBSD, built from ports.
>>
>> I've got things setup to essentially match my previous installation
>> (4.64.3) but am having the following issue when trying to get 
>> MailScanner to start scanning my queue:
>>
>> > In Debugging mode, not forking...
>> > Trying to setlogsock(unix)
>> > Building a message batch to scan...
>> > Have a batch of 1 message.
>> > Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE ]/ at 
>> /usr/local/lib/MailScanner/MailScanner/SweepOther.pm line 250.
>>
>> Checking line 250 I find...
>>
>> >         my($logtext, $usertext);
>> >
>> >         if ($TypeIndicator =~ /$ArchivesAre/) {
>> >           $allowexists = $Aallowexists;
>> >           $megaallow = $Amegaallow;
>> >         } else {
>>
>> The problem seems to be $ArchivesAre which is
>>
>> > $ArchivesAre = $message->{archivesare};
>>
>> Dumping to log with MailScanner::Log::InfoLog, $ArchivesAre contents are
>> "[]"
>>
>> Any ideas for tracking down what is going on? I've searched the mailing
>> list history but have not found anything related
>>
>> - Brent

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

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 twitter.com/JulesFM and twitter.com/MailScanner


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



More information about the MailScanner mailing list