[Top] [All Lists]

Re: question regarding portability

1998-02-10 15:20:30
From: Lyndon Nerenberg <lyndon(_at_)esys(_dot_)ca>

On 9 Feb 1998 14:37:30 -0500 Tim Showalter 
<tjs+(_at_)andrew(_dot_)cmu(_dot_)edu> wrote:

From: "Jack De Winter" <jack(_at_)wildbear(_dot_)on(_dot_)ca>

In 4.2, there is a specification for FileInto, and
it shows that "INBOX.harassment" is the folder.

1) What should happen if "INBOX.harassment" does not exist?

The script shouldn't run, in my opinion.  This can be checked for before
running the script.

But you still have to deal with the case where the folder goes away 
after the script has been installed. If this happens the message should 
file into the default mailbox. (Possibly with some sort of diagnostic?)

This can still be checked before running the script; just compile a list of
things that have to be true (mailbox is under quota, all mentioned
mailboxes still exist); if it's not true, don't filter the message and
leave it in the queue.

As long as I can mail the user telling them their script is bogus, I guess
I don't care.  I feel very strongly about giving good diagnostics to
users.  (The old FLAMES system doesn't do this and it makes debugging a
nontrivial script a real pain.)

                                          Tim Showalter 

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