In a message dated: Mon, 28 Jan 2002 10:35:24 EST
Benjamin Scott said:
> While the "interesting" stuff is definitely easier with procmail (and not
>even possible with .forward alone), if all the OP wants to do is
>store-and-forward, the .forward method is likely both easier and more
>efficient. Remember the KISS principle. :-)k
Quite true, but what if you only want *some* mail forwarded, and only
*some* mail stored? Maybe you want mail from your manager stored
locally, but you want an e-mail from your buddies at work about
meeting somewhere for lunch forwarded on to your pager. Can't make
that happen with just a .forward.
A more realistic example would be mailing list traffic. You might
not want all of it forwarded. You might only want 1 or 2 lists
forwarded. You can't make that determination without something like
procmail.
While I agree that KISS is a great philosophy to live by, I also
understand that I have no real knowledge about what it is the OP or
anyone else on this list *might* want to do. Therefore, I mention
possibilities and opportunities where I see there might be a need for
them on the off chance that something I'm doing might turn on a light
bulb for someone else. OR, just as importantly, someone might read
what I'm doing, and reply with something like:
"Dude, you're baked! You really ought to try XXX,
it does everything you're trying to do and more!"
One thing I love about Procmail is that it allows for *all* possibilities.
There are some really cool things that procmail enables you to do that just
can't be done otherwise. For example, I have procmail not only filter
my e-mail into different mail collections (e.g. I have GNHLUG folder),
but I have it clean out certain mail boxes as well. We use a
mail-based help request system here which formats each help request
with a certain "ticket" number in the subject line. Based on that
ticket number, and certain keywords in the body I have procmail run a
script which automatically delete all mail relating to a ticket
that's been closed, (of course, this is also dependant upon the mh
mail system keeping each message in a separate file).
--
Seeya,
Paul
----
God Bless America!
If you're not having fun, you're not doing it right!
...we don't need to be perfect to be the best around,
and we never stop trying to be better.
Tom Clancy, The Bear and The Dragon
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************