[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tnef



On Wed, Dec 25, 2002 at 04:11:05PM +0100, martin f krafft wrote:
> Does anyone have a way to tell procmail to convert all of that M$ TNEF
> crap to proper messages? Most of my clients use sensible mailers, so
> I'd like to convert TNEF to MIME at the gateway.

Make the sender do it.

# Explain to MS Exchange users why I'm not even bothering.

:0 B
* ^Content-Type: application/ms-tnef
* !^X-Loop: MAILER-DAEMON@ursine.dyndns.org
| (formail -rk -i "From: MAILER-DAEMON@ursine.dyndns.org" -A "X-Loop: MAILER-DAEMON@ursine.dyndns.org";\
cat ~/text/ms-tnef ) | $SENDMAIL -t -oi

~/text/ms-tnef contains...

Your email was sent in a format that is only readable by Outlook and
Outlook Express users.  Since I don't use either, I can't read it.
Therefore, I have this automatic filter set up to bounce these
unreadable emails.

If your message was important, please resend it in a format that is
readable by the rest of the email programs in the world, such as
ASCII.

See also http://www.expita.com/nomime.html

This is an automated response, no human has seen your message.





-- 
 .''`.     Baloo <baloo@ursine.dyndns.org>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system

Attachment: pgp0yvSepBJx_.pgp
Description: PGP signature


Reply to: