[Evolution] background email filtering

Not Zed notzed@ximian.com
Wed, 09 Feb 2005 18:58:00 +0800


--=-UrPHzQ3dG6X5g3Hj+dam
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Well, not very easily:


     1. You could setup a script which ran the dummy X server, Xvfb,
        then run up an evolution instance running in that which checked
        the mail.
     2. You could write a script/program which talked to the mail
        component via CORBA.  Activated it, and then called
        sendAndReceive on it.  That would probably still need a (dummy)
        X server.


So, in theory it is possible, although it isn't very simple and perhaps
not entirely what you're after.  I guess you can't just leave evo
running overnight?

On Wed, 2005-02-09 at 10:00 +0000, Bryan Cole wrote:

> Hi,
> 
> Is it possible to run evolution to download and filter emails from a cron
> job?
> 
> When I startup Evo in the mornings, all my unfiltered new mail appears in
> the Inbox (most of which is spam / mailing list stuff). I must them wait
> for a few minutes while Evo filters the mail, in order to get to the
> relevant stuff. I'd like to filter mail automatically every 30 mins say,
> so that when I log in, I don't have a huge backlog awaiting processing.
> 
> N.B. Don't bother telling me to use fetchmail/procmail/sieve/etc.. I'm
> stuck with an exchange server without server-side filtering options.
> 
> cheers,
> Bryan
> 
> _______________________________________________
> evolution maillist  -  evolution@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/evolution

--=-UrPHzQ3dG6X5g3Hj+dam
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.5.5">
</HEAD>
<BODY>
<BR>
Well, not very easily:<BR>
<BR>
<OL TYPE=1>
    <LI TYPE=1 VALUE=1>You could setup a script which ran the dummy X server, Xvfb, then run up an evolution instance running in that which checked the mail.
    <LI TYPE=1 VALUE=2>You could write a script/program which talked to the mail component via CORBA.&nbsp; Activated it, and then called sendAndReceive on it.&nbsp; That would probably still need a (dummy) X server.
</OL>
<BR>
So, in theory it is possible, although it isn't very simple and perhaps not entirely what you're after.&nbsp; I guess you can't just leave evo running overnight?<BR>
<BR>
On Wed, 2005-02-09 at 10:00 +0000, Bryan Cole wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi,</FONT>

<FONT COLOR="#000000">Is it possible to run evolution to download and filter emails from a cron</FONT>
<FONT COLOR="#000000">job?</FONT>

<FONT COLOR="#000000">When I startup Evo in the mornings, all my unfiltered new mail appears in</FONT>
<FONT COLOR="#000000">the Inbox (most of which is spam / mailing list stuff). I must them wait</FONT>
<FONT COLOR="#000000">for a few minutes while Evo filters the mail, in order to get to the</FONT>
<FONT COLOR="#000000">relevant stuff. I'd like to filter mail automatically every 30 mins say,</FONT>
<FONT COLOR="#000000">so that when I log in, I don't have a huge backlog awaiting processing.</FONT>

<FONT COLOR="#000000">N.B. Don't bother telling me to use fetchmail/procmail/sieve/etc.. I'm</FONT>
<FONT COLOR="#000000">stuck with an exchange server without server-side filtering options.</FONT>

<FONT COLOR="#000000">cheers,</FONT>
<FONT COLOR="#000000">Bryan</FONT>

<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">evolution maillist  -  <A HREF="mailto:evolution@lists.ximian.com">evolution@lists.ximian.com</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.ximian.com/mailman/listinfo/evolution">http://lists.ximian.com/mailman/listinfo/evolution</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-UrPHzQ3dG6X5g3Hj+dam--