Two things:

1) incoming mail needs to go through a spam filter:

/usr/bin/bogofilter

(returns 0 or 1)

2) selected e-mail needs to go through a filter by right-clicking &
"apply filters"

/usr/bin/bogofilter -S

(tells bogofilter to identify e-mail as spam)

I accomplish #2 by marking the e-mail as "Important" which I actually
use as a spam id in the filters. The appropriate shell command is then
executed, but it doesn't look like bogofilter got it :( It does work
manually from the command line, so I think bogofilter itself is fine.

Monte

On Tue, 2002-11-12 at 11:10, Jeffrey Stedfast wrote:
> What exactly are you trying to do?
> 
> Jeff
> 
> On Tue, 2002-11-12 at 10:52, Monte Ohrt wrote:
> > Hi,
> > 
> > What is the proper syntax for a shell command filter?
> > 
> > I tried:
> > /usr/bin/foo
> > 
> > and guessed, maybe netscape style?
> > /usr/bin/foo < %s
> > 
> > Neither seem to get the message content to the shell command stdin. I
> > couldn't find any instructions or examples in the manual either.
> > 
> > Thanks
> > Monte
> > 
> > 
> > _______________________________________________
> > evolution maillist  -  [EMAIL PROTECTED]
> > http://lists.ximian.com/mailman/listinfo/evolution
-- 
Monte Ohrt <[EMAIL PROTECTED]>


_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to