problems with TNEF.pm
Martin Hepworth
martinh at SOLID-STATE-LOGIC.COM
Fri Nov 11 15:27:56 GMT 2005
How odd
You're not running in a chroot jail are you?, or running as a non-root user
for MailScanner? Has the user in question rights to create that file?
What happens if you put MS in debug mode and run it? (edit MailScanner.conf,
make both debug values yes then run check_MailScanner )
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Anders
> Sent: 11 November 2005 15:10
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: [MAILSCANNER] problems with TNEF.pm
>
> 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!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses 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