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: [EMAIL PROTECTED]
| (formail -rk -i "From: [EMAIL PROTECTED]" -A "X-Loop: 
|[EMAIL PROTECTED]";\
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 <[EMAIL PROTECTED]>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system

Attachment: msg21015/pgp00000.pgp
Description: PGP signature

Reply via email to