HTML To Text tends to cause some weird loop..??

Julian Field mailscanner at ecs.soton.ac.uk
Tue Sep 30 14:29:59 IST 2003


At 14:10 30/09/2003, you wrote:
>Firstly, Is it normal for MailScanner logs to appear every 5-10 seconds as
>below??

If it just happens a few times at start up, then that's normal. You will
get 1 for each of your "Child" processes, as set by "Max Children =" in
your MailScanner.conf. You will probably get 1 other as well.


>Sep 30 22:58:05 newjackswing MailScanner[21972]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:58:10 newjackswing MailScanner[21972]: Using locktype = flock
>Sep 30 22:58:14 newjackswing MailScanner[22041]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:58:20 newjackswing MailScanner[22041]: Using locktype = flock
>Sep 30 22:58:24 newjackswing MailScanner[22108]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:58:30 newjackswing MailScanner[22108]: Using locktype = flock
>Sep 30 22:58:34 newjackswing MailScanner[22175]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:58:40 newjackswing MailScanner[22175]: Using locktype = flock
>Sep 30 22:58:44 newjackswing MailScanner[22241]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>
>What my main problem is that if I turn on HTMl To Text in MailScanner.conf
>as below and I receive either spam or something that's got HTML in it,
>MailScanner seems to forever get into a loop.. as further below:
>
>Convert HTML To Text = yes

Set
         Debug=yes
and then do a "check_MailScanner" to process 1 batch of messages. You then
might see an error being generated.


>causes (sorry for >80 columns or large email)...
>
>Sep 30 22:49:51 newjackswing MailScanner[16475]: Virus and Content Scanning:
>Starting
>Sep 30 22:49:54 newjackswing MailScanner[16475]: Content Checks: Need to
>convert HTML to plain text in 1 messages
>Sep 30 22:49:55 newjackswing MailScanner[17499]: New Batch: Scanning 1
>messages, 3744 bytes
>Sep 30 22:49:55 newjackswing MailScanner[17499]: Spam Checks: Starting
>Sep 30 22:49:56 newjackswing MailScanner[17499]: Virus and Content Scanning:
>Starting
>Sep 30 22:49:59 newjackswing MailScanner[17641]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:49:59 newjackswing MailScanner[17499]: Content Checks: Need to
>convert HTML to plain text in 1 messages
>Sep 30 22:50:00 newjackswing MailScanner[17571]: Using locktype = flock
>Sep 30 22:50:00 newjackswing MailScanner[17571]: Postfix queue structure is
>depth 1
>Sep 30 22:50:00 newjackswing MailScanner[17571]: New Batch: Scanning 1
>messages, 3744 bytes
>Sep 30 22:50:00 newjackswing MailScanner[17571]: Spam Checks: Starting
>Sep 30 22:50:02 newjackswing MailScanner[17571]: Virus and Content Scanning:
>Starting
>Sep 30 22:50:07 newjackswing MailScanner[17571]: Content Checks: Need to
>convert HTML to plain text in 1 messages
>Sep 30 22:50:09 newjackswing MailScanner[17820]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:50:12 newjackswing MailScanner[16678]: New Batch: Scanning 1
>messages, 3744 bytes
>Sep 30 22:50:12 newjackswing MailScanner[16678]: Spam Checks: Starting
>Sep 30 22:50:13 newjackswing MailScanner[16678]: Virus and Content Scanning:
>Starting
>Sep 30 22:50:17 newjackswing MailScanner[17641]: Using locktype = flock
>Sep 30 22:50:17 newjackswing MailScanner[17641]: Postfix queue structure is
>depth 1
>Sep 30 22:50:19 newjackswing MailScanner[18060]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:50:20 newjackswing MailScanner[16678]: Content Checks: Need to
>convert HTML to plain text in 1 messages
>Sep 30 22:50:22 newjackswing MailScanner[17641]: New Batch: Scanning 1
>messages, 3744 bytes
>Sep 30 22:50:22 newjackswing MailScanner[17641]: Spam Checks: Starting
>Sep 30 22:50:23 newjackswing MailScanner[17641]: Virus and Content Scanning:
>Starting
>Sep 30 22:50:28 newjackswing MailScanner[17820]: Using locktype = flock
>Sep 30 22:50:28 newjackswing MailScanner[17820]: Postfix queue structure is
>depth 1
>Sep 30 22:50:28 newjackswing MailScanner[17641]: Content Checks: Need to
>convert HTML to plain text in 1 messages
>Sep 30 22:50:29 newjackswing MailScanner[18123]: MailScanner E-Mail Virus
>Scanner version 4.23-11 starting...
>Sep 30 22:50:33 newjackswing MailScanner[18060]: Using locktype = flock
>
>
>But if I turn the HTML conversion off, it seems to work fine but doesn't
>catch HTML spam.. or whatever that possibly benefits from it..
>
>
>any ideas? Oh, I also use ClamAV if that could be a possibility...
>
>
>"Programming is like sex: one mistake and you have to support it for
>the rest of your life." - George Vieira (Dj Tremors)

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list