I did restart the MailScanner service (not changing anything), the problem
still the same with the exception that no email is passing through at this
moment, instead the mails are kept in the hold queue and Baruwa doesn't
seem to log the message to the DB and not showing anything on the GUI.
Below is the transcipt of the actual MailScanner --debug command I get (a
bit different from my previous mail)

--------------------------------------------------------
[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...
Insecure dependency in mkdir while running with -T switch at
/usr/lib/MailScanner/MailScanner/Quarantine.pm line 189.
--------------------------------------------------------

Any idea?
Thx.


On 3 February 2012 14:31, Anis Jendoubi <[email protected]> wrote:

> 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

Reply via email to