[Mimedefang] survey: dropping password protected file

Paul Murphy pmurphy at ionixpharma.com
Wed Mar 3 12:45:40 EST 2004


>         my $zip = Archive::Zip->new();
> >         if ($zip->read($path) == AZ_OK) {
> 
> Having trouble with the last line above.  My system seems to 
> catch these password protected files, but I'm getting the following in my 
> syslog when it does so:
> 
> mimedefang-multiplexor: Slave 0 stderr: Argument AZ_OK isn't 
> numeric in numeric eq (==) at /etc/mail/mimedefang-filter line 291

Ensure your filter has:

use Archive::Zip qw( :ERROR_CODES );

See
http://www.mail-archive.com/mimedefang@lists.roaringpenguin.com/msg00356.html
for details.


Best Wishes,

Paul.
__________________________________________________
Paul Murphy
Head of Informatics
Ionix Pharmaceuticals Ltd
418 Science Park, Cambridge, CB4 0PA

Tel. 01223 433741
Fax. 01223 433788

_______________________________________________________________________
DISCLAIMER:
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they
are addressed.  If you have received this email in error please contact
the sender or the Ionix IT Helpdesk on +44 (0) 1223 433741
_______________________________________________________________________ 



More information about the MIMEDefang mailing list