I run ms in debug mode, and get this output:<br>---------------------------------------------------------------------------------------------------------------------------------------------<br>Insecure dependency in chmod while running with -T switch at /usr/share/perl5/Archive/Zip/Member.pm line 490.<br>
---------------------------------------------------------------------------------------------------------------------------------------------<br><br>This is the famous perl tainting problem. I foud a patch for the perl module Archive::Zip v 1.30 on <a href="https://rt.cpan.org/Public/Bug/Display.html?id=61930">https://rt.cpan.org/Public/Bug/Display.html?id=61930</a> .<br>
In fact, not only the .pages document can cause my ms to crash, all other zip archive will cause the crash without applying this patch.  here my Perl version is v5.10.1.<br><br><div class="gmail_quote">2010/12/6 Curu Wong <span dir="ltr">&lt;<a href="mailto:prinbra@gmail.com">prinbra@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">One of our clients send us an email containing an Apple iWork file( with a .pages suffix) as attachment, which caused MailScanner crashed several times.  After then ,I extract that .pages attachment, and send it using another email, It cause MailScanner crash again. So I believe it&#39;s the attachment that caused MailScanner to die. <br>

Can anyone please give a hand on fixing this? Or, is there a way to debug MailScanner so that I can know what it is doing when it crash? Many thanks!<br><br>here is the message from maillog when MS hung.<br>----------------------------------------------------------------------------------------------------------------------------------------------<br>

Dec  6 12:28:26 spamsnake MailScanner[4362]: New Batch: Scanning 1 messages, 206434 bytes<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf<br>

Dec  6 12:28:26 spamsnake MailScanner[4396]: Reading configuration file /opt/MailScanner/etc/conf.d/README<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Read 865 hostnames from the phishing whitelist<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Read 5278 hostnames from the phishing blacklists<br>

Dec  6 12:28:26 spamsnake MailScanner[4396]: Config: calling custom init function SQLBlacklist<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Starting up SQL Blacklist<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Read 0 blacklist entries<br>

Dec  6 12:28:26 spamsnake MailScanner[4396]: Config: calling custom init function MailWatchLogging<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Started SQL Logging child<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Config: calling custom init function SQLWhitelist<br>

Dec  6 12:28:26 spamsnake MailScanner[4396]: Starting up SQL Whitelist<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Read 0 whitelist entries<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Using SpamAssassin results cache<br>

Dec  6 12:28:26 spamsnake MailScanner[4396]: Connected to SpamAssassin cache database<br>Dec  6 12:28:26 spamsnake MailScanner[4396]: Enabling SpamAssassin auto-whitelist functionality...<br>Dec  6 12:28:30 spamsnake MailScanner[4396]: Connected to Processing Attempts Database<br>

Dec  6 12:28:30 spamsnake MailScanner[4396]: Found 2 messages in the Processing Attempts Database<br>Dec  6 12:28:30 spamsnake MailScanner[4396]: Using locktype = flock<br>--------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

It will repeat several times until MS finally give up delivering that message.<br><br>Also, when MS hung, I got the following error message in /var/log/messages<br>-----------------------------------------------------------------------------------------------------------------------------<br>

Dec  6 12:28:26 spamsnake MailScanner: Process did not exit cleanly, returned 9 with signal 0<br>Dec  6 12:32:21 spamsnake MailScanner: Process did not exit cleanly, returned 9 with signal 0<br>Dec  6 12:36:12 spamsnake MailScanner: Process did not exit cleanly, returned 9 with signal 0<br>

-----------------------------------------------------------------------------------------------------------------------------<br><br>and the output of ps command is:<br>-----------------------------------------------------------------------------------------------------------------------------<br>

postfix   4322  0.0  3.4 105784 35580 ?        Ss   12:27   0:00 MailScanner: starting child<br>postfix   4323  1.0 10.0 223676 102832 ?       S    12:27   0:01 MailScanner: waiting for messages<br>postfix   4335  1.0 10.0 223620 102828 ?       S    12:27   0:01 MailScanner: waiting for messages<br>

postfix   4344  1.0 10.0 223620 102828 ?       S    12:27   0:01 MailScanner: waiting for messages<br>postfix   4353  1.1 10.0 223676 102828 ?       S    12:27   0:01 MailScanner: waiting for messages<br>postfix   4396  2.1 10.0 223688 102844 ?       S    12:28   0:01 MailScanner: waiting for messages<br>

-----------------------------------------------------------------------------------------------------------------------------<br><br>and MailScanner --lint didn&#39;t show any error message.<br><br>Because that .pages file contains sensitive information, I am sorry that couldn&#39;t upload it here.<br>

<br>I run ths MS v 4.81.4 with spamassassin 3.3.1, clamav 0.96.3 on ubuntu 10.04 LTS version.<br><br>
</blockquote></div><br>