Alright, I did add the -U (to the /usr/sbin/MailScanner), most of the mails
being in the hold folder were released (some of them still being there but
it's not a big deal) and Baruwa logged them in the GUI, however when I ran
the --debug command I got plenty of lines as below (cutting about same 90
lines to shorten it), any idea?

------------------------------------------------------------------
[root@smtp ~]# MailScanner --debug

In Debugging mode, not forking...
Trying to setlogsock(unix)
pyzor: check failed: internal error, python traceback seen in response
Building a message batch to scan...
Have a batch of 30 messages.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 12.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 8.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 45.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 45.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 284.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 180.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 8.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185, <$fh> line 13.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
.......
......
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Stopping now as you are debugging me.
------------------------------------------------------------------




On 3 February 2012 14:56, Jeremy McSpadden <[email protected]> wrote:

>  Insecure dependency in open while running with -T switch at
> /usr/lib64/perl5/IO/File.pm line 185.****
>
> Taint error .. ****
>
> ** **
>
> Open mailscanner’s binary and add –U to the # line. /usr/sbin/MailScanner ?
> ****
>
> #!/usr/bin/perl –I/Usr/share/MailScanner … add -U****
>
> ** **
>
> --****
>
> Jeremy McSpadden****
>
> Flux Labs, Inc****
>
> http://www.fluxlabs.net
> Endless Solutions****
>
> *Office* : 850-588-4626****
>
> *Cell* : 850-890-2543
> *Fax* : 850-254-2955****
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Anis Jendoubi
> *Sent:* Friday, February 03, 2012 8:31 AM
> *To:* Baruwa users list
> *Subject:* Re: [Baruwa] (no subject)****
>
> ** **
>
> Hi Jeremy,****
>
> 1) The Lint test doesn't give any errors or failure****
>
> 2) The --debug output is as below (ignore the pyzor check failed, it's
> just because I'm running the test as root):****
>
> ** **
>
> ----------------------------------------****
>
> [root@smtp ~]# MailScanner --debug****
>
> ** **
>
> In Debugging mode, not forking...****
>
> Trying to setlogsock(unix)****
>
> pyzor: check failed: internal error, python traceback seen in response****
>
> Building a message batch to scan...****
>
> ** **
>
> Have a batch of 1 message.****
>
> pyzor: check failed: internal error, python traceback seen in response****
>
> Insecure dependency in open while running with -T switch at
> /usr/lib64/perl5/IO/File.pm line 185.****
>
> ----------------------------------------****
>
> ** **
>
> 3) could you please confirm were to add the -U (in which file) ?****
>
> ** **
>
> BTW: I'm using the latest MailScanner version 4.84.3-1 from the
> MailScanner.info site (as the v 4.84.3-2 from Baruwa's repo makes the
> mailscanner service not starting at boot time and have to be started
> manually - weird)****
>
> ** **
>
> Thanks,
> Anis.****
>
> ** **
>
> On 3 February 2012 13:08, Jeremy McSpadden <[email protected]> wrote:***
> *
>
> Have you added -U to the mailscanner?   Looks like the taint error. What
> does -debug output? Lint test?
>
>
> --
> Jeremy McSpadden****
>
>
> On Feb 3, 2012, at 5:09 AM, "Anis Jendoubi" <[email protected]>
> wrote:
>
> > Hi,
> > I'm having the logs filled with MailScanner re-Starting and re-reading
> the configuration at every mail being in /var/spool/postfix/hold/ , the
> symptoms in the log file are as below:
> >
> > -----------------------------------
> > Feb  3 10:58:59 smtp MailScanner[2884]: MailScanner E-Mail Virus Scanner
> version 4.84.3 starting...
> > Feb  3 10:58:59 smtp MailScanner[2884]: Reading configuration file
> /etc/MailScanner/MailScanner.conf
> > Feb  3 10:58:59 smtp MailScanner[2884]: Reading configuration file
> /etc/MailScanner/conf.d/README
> > Feb  3 10:58:59 smtp MailScanner[2884]: Reading configuration file
> /etc/MailScanner/conf.d/baruwa.conf
> > Feb  3 10:58:59 smtp MailScanner[2884]: Read 869 hostnames from the
> phishing whitelist
> > Feb  3 10:58:59 smtp MailScanner[2884]: Read 3717 hostnames from the
> phishing blacklists
> > Feb  3 10:58:59 smtp MailScanner[2884]: Config: calling custom init
> function BaruwaLowScore
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Populating spam score
> settings
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Read 2 spam score
> settings
> > Feb  3 10:58:59 smtp MailScanner[2884]: Config: calling custom init
> function BaruwaShouldScan
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Starting scanning
> settings
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Read 3 settings
> > Feb  3 10:58:59 smtp MailScanner[2884]: Config: calling custom init
> function BaruwaBlacklist
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Starting blacklists
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Read 0 blacklist items
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Ip blocks blacklisted:
> > Feb  3 10:58:59 smtp MailScanner[2884]: Config: calling custom init
> function BaruwaSQL
> > Feb  3 10:58:59 smtp MailScanner[2888]: Baruwa: Starting SQL logger
> > Feb  3 10:58:59 smtp MailScanner[2884]: Config: calling custom init
> function BaruwaHighScore
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Populating high spam
> score settings
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Read 2 high spam score
> settings
> > Feb  3 10:58:59 smtp MailScanner[2884]: Config: calling custom init
> function BaruwaWhitelist
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Starting whitelists
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Read 1 whitelist items
> > Feb  3 10:58:59 smtp MailScanner[2884]: Baruwa: Ip blocks whitelisted:
> > Feb  3 10:58:59 smtp MailScanner[2884]: Using SpamAssassin results cache
> > Feb  3 10:58:59 smtp MailScanner[2884]: Connected to SpamAssassin cache
> database
> > Feb  3 10:58:59 smtp MailScanner[2884]: Enabling SpamAssassin
> auto-whitelist functionality...
> > Feb  3 10:59:01 smtp MailScanner[2873]: Connected to Processing Attempts
> Database
> > Feb  3 10:59:01 smtp MailScanner[2873]: Found 3 messages in the
> Processing Attempts Database
> > Feb  3 10:59:01 smtp MailScanner[2873]: Using locktype = flock
> > Feb  3 10:59:01 smtp MailScanner[2873]: Warning: skipping message
> 3C9442088B.ADACF as it has been attempted too many times
> > Feb  3 10:59:01 smtp MailScanner[2873]: Quarantined message
> 3C9442088B.ADACF as it caused MailScanner to crash several times
> > -----------------------------------
> >
> > The above happen with every Message ID being in the
> /var/spool/postfix/hold/ folder and run forever...
> > Anyone has the the issue with the last two lines in the log transcript
> above? I searched and couldn't find anything concrete to modify to fix
> this, could this be a permission issue (which I doubt because the mails are
> flowing except the slowly growing amount of file in the HOLD folder)?
> > This is on Centos 6.2 64bit (same happened with an ubuntu based OS
> before the reinstall)
> >
> > Thanks for any valuable hints.
> > Anis****
>
> > _______________________________________________
> > Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>
> _______________________________________________
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056****
>
> ** **
>
> _______________________________________________
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>
>
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to