On Wed, Mar 02, 2005 at 11:31:59AM +0100, Bartosz Fenski aka fEnIo wrote:
> On Tue, Mar 01, 2005 at 08:29:26PM +0100, [EMAIL PROTECTED] wrote:
> > > > sb_filter is a filter (in the unix meaning): it takes stuff on stdin and
> > > > outputs suff on stdout. 
> > > 
> > > Nice, but bogofilter also worked for me as filter, but it didn't throw any
> > > messages on my mutt's background.
> > 
> > well, unless you give me some information on how you use sb_filter
> > through mutt, there's no chance that I'm going to be able to help you. 
> 
> Well I simply use mutt's macro:
> 
> macro index S "<enter-command>unset wait_key\n<pipe-entry>sb_filter.py 
> -s\n<enter-command>set wait_key\ns+spam\n"
> macro pager S "<enter-command>unset wait_key\n<pipe-entry>sb_filter.py 
> -s\n<enter-command>set wait_key\ns+spam\n"
> 
> And now when I'm pushing ALT+S whole mail is being displayed on my screen. 
> Don't know what is it for. That's pretty annoying when mail has huge 
> attachment, cause I have to watch lot of weird signs on my xterm.

OK. Have you looked at /usr/share/doc/spambayes/contrib/muttrc? The
example configuration pipes the output of sb_filter.py to procmail so
that the mail is sorted again automatically. 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

Attachment: signature.asc
Description: Digital signature

Reply via email to