procmail
[Top] [All Lists]

Re: MS-TNEF bounces.

2004-02-17 13:32:52
At 13:23 2004-02-17 -0600, Chris Wagner wrote:
That looks pretty good for a quick whip-up-kinda-job.  :-)

I said the bulk of it was pulled from a filter set I'd written - the TNEF specific condition is the only thing unique to your query.

So could you explain a few things to me?

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

Well, the systems on which this script is running, it's part of a filter set running out of /etc/procmailrcs, but if you go get the bouncer.rc (search the archives for exactly that and you should find it), the fact that there's a supplementary variable which defines the path to the messages dir would be evident.

AUTOREPLY=$HOME

would set it to be the homedir of the user.

in my case, they're actually set like so:

ROOTDIR=/etc/procmailrcs/seneschal

AUTOREPLY=${ROOTDIR}/auto-reply

In short, the files are wherever you want to define them to be when you set that variable or hack the bouncer.rc file.

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

Look again, that's the SECOND of the recipes in the braced section. The first doesn't have the E. That's "else", and is intended to skip across the remaining recipes once a condition is found to match (and, as I said, this is just an excerpt from what the whole rcfile has for attachment types - AOL messages, HTML, PGP, images, generic executables, etc).

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?

H for header (which is defailt, B isn't, but if you specify JUST B, then the header isn't scanned)

The procmail MANPAGES might be worthwhile for "what does this flag mean" type questions...

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

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