re: [Evolution] Re: [Evolution-hackers] Scripting in evolution



On Thu, 2002-05-09 at 17:07, Andy Cedilnik wrote:
Ok, yes.
You can do this with fetchmail. Then you use procmail to check for
certain messages and plays music and stuff. Then you use spam assassin
which filters spam out. Then you use a whole bunch of other programs to
do other stuff. Now let me know how will Joe Average do all this?

I use fetchmail and procmail which calls spamassasin. Then I use
Evolution to do the filtering. I do not want to repeat filtering in
procmail just so that I will know when the "important" mail comes.

The thing that I want is for Evolution to work for average Joe who does
not know about anything and for advanced user like yourself.

Maybe Evo's Filters dialogs could become "just" a front-end
for a mail-filter (doesn't have to be procmail).  That
way, the Evo team wouldn't be re-inventing the wheel, and
those users who want more can do it themselves.

Carzy idea, or judicious use of Unix's one-tool-one-function
philosophy??

On Thu, 2002-05-09 at 17:12, Jennifer Pinkham wrote:
How about using fetchmail?  Write a small perl or shell script that does
whatever you want it to do before pulling the mail, then runs fetchmail.
I knew nothing about fetchmail when it was first suggested to me, but
the fetchmailconf Tcl/Tk program is a very nice interface to the yukky
fetchmail config file.

A lot of what is being discussed in this thread is already possible
with existing programs, scripts and libraries.  My setup accomplishes
what most of you (on the list) have been discussing:

1) I have a cronjob that runs every 5 minutes to pull my mail from
the office POP3 server to my linux box.  

2) I have my .forward file set to filter all incoming mail through a
spam perl script called "nags". I never even see most spam, but nags
moves all "spam" into a junkmail dir where you can later look at it if
it wasnt actually spam.  All filter actions are logged. I think it
supports regular expressions (does Evolution support this in its filter
function?).

3) I use Evolution (v1.0.4) to pull the "pre-filtered" mail from my
local box via a local POP3 server. I assume this could be handled just
as easily by setting up the account as "Server Type: Standard UNIX mbox"
but I chose not to (I had a good reason why I didn't do it that way but
it seems to have slipped my mind).

-- 
+------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron l johnson cox net        |
| Jefferson, LA  USA      http://ronandheather.dhs.org:81    |
|                                                            |
| You ask us the same question every day, and we give you    |
| the same answer every day.  Someday, we hope that you will |
| believe us...                                              |
|   Donald Rumsfeld, to a reporter                           |
+------------------------------------------------------------+





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]