Problem winmail.dat and TNEF

Jonathan Bober jtbober at argentassociates.com
Wed Feb 22 18:12:13 GMT 2012


I have been following this thread as I am having the same issues. 

Please excuse my confusion and ignorance as I am still learning about
MailScanner and I can only read so quickly. The implementation for me only
took place about 2 weeks ago.

I have MailScanner-4.84 3-1 installed, but I cannot find the TNEF.pm in the
/usr/share/MailScanner/MailScanner/ directory in fact that does not exist...
I have found my TNEF.pm within /usr/lib/MailScanner/MailScanner/...is there
an issue here that I am missing? I am also receiving the HUNK error when I
try to apply the patch 

" Hunk #1 FAILED at 229." This is with 4.84 3-1 installed. If anyone could
shed some light on my faults it would be appreciated.

Regards,

Jonathan Bober

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of mul
Sent: Wednesday, February 22, 2012 12:23 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: Problem winmail.dat and TNEF

mul <eric_le_corre <at> msn.com> writes:

> 
> Andrew Colin Kissa <andrew <at> topdog.za.net> writes:
> 
> > 
> > 
> > On 22 Feb 2012, at 12:36 PM, Randal, Phil wrote:
> > 
> > > Thanks Andrew.
> > > 
> > > Now someone with write access needs to get it into the Git repository.
> > > 
> > 
> > I have sent it to jules maybe he will find sometime to push it to
github.
> > 
> > > and where i can download : mailscanner-fix-tnef.patch ?
> > > i dont find this in mailscanner folder download from mailscanner
website
> > 
> > If the attached version is mangled by the mailing list you can download
it
> > here http://topdog-software.com/files/mailscanner-fix-tnef.patch
> > 
> > --
> i tried what you said, but i have erros :

In my TNEF.Pm, i have this :

my ($tmpfh, $unpackdir) = tempfile("tnefXXXXXX", TMPDIR => $dir, UNLINK =>
0);
  $dir =~ s,^.*/,,;
  $unpackdir = $message->MakeNameSafe($unpackdir, $dir);
  unless (mkdir "$dir/$unpackdir", 0777) {
    MailScanner::Log::WarnLog("Trying to unpack %s in message %s, could not
cre$
                              "$dir/$unpackdir");
    return 0;


sorry, i am bad and my enshlis is poor :-)



-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 

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


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



More information about the MailScanner mailing list