stripped attachments

Jules Field MailScanner at ecs.soton.ac.uk
Mon Feb 1 19:01:57 GMT 2010


With it set to "replace", it should indeed kill the winmail.dat 
attachment but it should replace it with the real file attachments that 
were encoded within it. "TNEF" is an attachment encapsulation format 
invented by Microsoft because they couldn't just be bothered to follow 
the same standards as everyone else. Your best bet long term is to stop 
your Exchange Server generating any TNEF in the first place. The only 
email application in the world that can read it is Outlook, so no-one 
using any other email application can even read your attachments at all.

Is that replacement process happening properly, or are you being left 
with no attachments at all?
What is your "TNEF Expander" set to in MailScanner.conf?
If it is set to some /usr/bin/tnef command-line, do you have the tnef 
binary installed properly?
What operating system and distribution are you running on?
If it is set to "internal" then does "MailScanner -v" report that you 
have the TNEF perl module properly installed?
If so, what version number of the TNEF perl module?

If you have it set to some /usr/bin/tnef command-line, then change it to 
the single word "internal" so it says
TNEF Expander = internal
If you have it set to "internal" then replace it with /usr/bin/tnef so 
it says
TNEF Expander = /usr/bin/tnef --maxsize=100000000

Then retry your messages with this new setup (after doing a "service 
MailScanner reload" to make it re-read the new configuration).
Does it behave any differently now?

Jules.

On 01/02/2010 18:00, dcurtis at sbschools.net wrote:
> Somewhere along the way I have confused you or I am confused. When I
> have mailscanner set to replace it kills the attachment, when it is set
> to no it leaves the attachment alone. I have not tried add yet.
>
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Alex
> Neuman
> Sent: Monday, February 01, 2010 10:10 AM
> To: MailScanner discussion
> Subject: Re: stripped attachments
>
> If you change it to "no" it doesn't work, it removes the attachment.
> Leave it as "replace" but change your tnef handler or update your MS
> installation.
> That and get rid of the forced setting on the exchange server since
> that's going to bring you more headaches down the line.
>
> On Feb 1, 2010, at 9:44 AM,<dcurtis at sbschools.net>
> <dcurtis at sbschools.net>  wrote:
>
>    
>> I had it set for replace and this is where it fails. If I change it to
>> no it works. I have not tried add, but I thought I was reading it
>> correctly and that is why I had it as replace. It had been working no
>> issue until lately.
>>
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Alex
>> Neuman van der Hans
>> Sent: Friday, January 29, 2010 3:32 PM
>> To: MailScanner discussion
>> Subject: Re: stripped attachments
>>
>> Clam isn't touching it. Leave "replace" alone or have it add the
>> attachment, otherwise you're asking MS to remove the attachment. By
>> saying "use the attachment that came in microsoft's bogus tnef format
>> equals no" you are actually asking for the bogus attachment to be
>> removed.
>>
>> Perhaps the wording of the option or the explanatory text could be
>> improved. I can see how non-English-speaking admins might
>>      
> misunderstand
>    
>> the option's purpose or effect.
>> --
>>
>> Alex Neuman van der Hans
>> Reliant Technologies
>>
>> +507 6781-9505
>> +507 832-6725
>> BB PIN: 20EA17C5
>>
>>
>> -----Original Message-----
>> From:<dcurtis at sbschools.net>
>> Date: Fri, 29 Jan 2010 15:18:05
>> To:<mailscanner at lists.mailscanner.info>
>> Subject: RE: stripped attachments
>>
>> -- 
>> 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!
>>
>>
>> -- 
>> 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 email may contain information protected under the Family
>> Educational Rights and Privacy Act (FERPA) or the Health Insurance
>> Portability and Accountability Act (HIPAA).  If this email contains
>> confidential and/or privileged health or student information and you
>> are not entitled to access such information under FERPA or HIPAA,
>> federal regulations require that you destroy this email without
>> reviewing it and you may not forward it to anyone.
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, ClamAV and Bitdefender  and is
>> believed to be clean.
>>
>> --
>> 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!
>>      
>    

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


-- 
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