procmail
[Top] [All Lists]

Re: MS-TNEF bounces.

2004-02-17 12:33:01
Sean, 

That looks pretty good for a quick whip-up-kinda-job.  :-)

So could you explain a few things to me?

First is, are the BOUNCEMSG= files located in the user's home directory?

I think I'll create a screenshot page off our site that shows them how to
configure Outlook for using HTML or plain text....great suggestion.

Also, just so I'm clear: on the declaration on the first line of the
recipes, you put :0EHB - I'm looking for the man pages on what each means
and remember the B is for scanning the body, but lost for what the E and H
are for. Are they for header and something else?

Thanks!

Chris



Refer to the archives for my bouncer.rc file - I posted about it just
recently.

This is an abbreviated attachment filter from my Seneschal filters for
majordomo.  I don't scan for TNEF specifically, but the third recipe inside
the outer brace is something I whipped up just now which should match.

Of course, you need to write the support text.  I'm fond of having the text
message give a basic why this isn't adviseable message, and then refer the
user to a specific URL, since you can easily provide graphical support to
the user that way (people using OutBreak and AOL generally need more visual
cues).


:0
* ^Content-Type:.*multipart
{
# multipart -- an attachment of some nature.  Fools!
# search for specific filenames, then default

# MS OutBreak/NS Mail - business card attachment
:0BH
* ^Content-Type:.*text/x-vcard
{
BOUNCEMSG="attach_vcard.msg"
}
# MS OutBreak - richtext copy of message
:0EHB
* ^Content-[-a-z0-9_]+:.*=[ ]*"?\
winmail\.dat
{
BOUNCEMSG="attach_winmail.msg"
}

# MS OutBreak - TNEF bounce
:0EHB
* ^Content-Type:.*application/ms-tnef
{
BOUNCEMSG="attach_tnef.msg"
}

BOUNCESUBJ="Your submission was declined"

# Include bounce handler code
INCLUDERC=bouncer.rc
}

---
Sean B. Straw / Professional Software Engineering

Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>