problems with TNEF.pm

Julian Field MailScanner at ecs.soton.ac.uk
Fri Nov 11 15:25:29 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----

Sorry, stupid mistake by me. Change the line to read
   mkdir "/tmp/tnef.$$", 0777;
This will be corrected in the next release.

On 11 Nov 2005, at 15:09, Anders wrote:

> Hi,
> I finally got passed my previous issues...
> Now trying to execute MAilscanner, which yields the following result:
>
> [root sbin]# ./Mailscanner
> Not enough arguments for mkdir at /usr/lib/MailScanner/MailScanner/ 
> TNEF.pm line 126 near ""/
> tmp/tnef.$$";"
> BEGIN failed - compilation aborted at ./MailScanner line 84.
>
> TNEF.pm:
> -----------
>  # Make the temporary tnef files be created under /tmp for easy  
> removal.
>   mkdir "/tmp/tnef.$$";                                 <<<----  
> line 126
>   chmod 0700, "/tmp/tnef.$$";
>   %parms = ( ignore_checksum => "true",
>              output_dir      => "/tmp/tnef.$$",
>              output_to_core  => "NONE" );
>   my $tnef = Convert::TNEF->read_in("$dir/$tnefname", \%parms);
>
> Any clues on how to resolve this?
>
> /Anders
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)

iQEVAwUBQ3S36vw32o+k+q+hAQHoQgf/SITyJLqX8XxuXo68r5nssi1KmNao7W/D
Og9HB3CjegWRWrT4QrtFfhCfUIMoSloK6NwqcwYR9YFuKPQPoCXZC5t1AafJYGw4
P5QSfZa3Oy7aolmHyUyemDLs3jSHRLI5K67X1kTFRM+BT/AuGUB8KkYjvqWnCsuy
A8WW8h8R1g5tqz+lgBmfvToRXaOUfy9ap+m2abrMSdBnbUXn/boz4gnnUh/2WnLC
PgZNCuKYXv+/rakqOGEgCIEUHiXSVXo9A9X+SVObx9CUBMuih+CH0swFVxe1c7gm
JtTcDK+9DGLDkupn3c8S/1UB5BCMLcM7asgqCqCjsZmpEluQ+HrKNA==
=RJyE
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list