Re: spam filter

2002-07-29 Thread Andre Berger


--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rob 'Feztaa' Park [EMAIL PROTECTED], 2002-07-29 00:31 -0400:
 Alas! Iain Truskett spake thus:
  * Patrick ([EMAIL PROTECTED]) [29 Jul 2002 12:02]:
   * Andre Berger [EMAIL PROTECTED] [07-28-02 20:46]:
  [...]
   This would be better accomplished by procmail, since this is one of
   it's intended uses.  Use mutt to read/respond to email.
 =20
  If one is adding to a kill file, I personally would prefer it to be done
  in mutt (e.g. piped to another program while reading) just in case of
  false positives.
=20
 If you're worried about false positives, have it add the names to a
 'dormant' killfile, ie one that is not in use. Then, periodically, you
 can check the 'dormant' killfile for innocents, and if there aren't any,
 you can merge it into the real killfile that is actually in use on your
 system.

Spamassassin does this for me by sorting it to a spam folder. - I use
a macro to add the entires to a proto black- or whitelist
respectively, which both mutt and spamassassin share. More exactly,
from which the respective rules for scoring (mutt) and lack- or
whitelist (spamassassin) are generated.

As I use mutt with nntp patch, the whole usenet (well, my view on it
:) is not in control of spamassassin - but in the range of my
frontend (mutt's) scoring.

I'm just too lazy to add every spam entry manually to my blacklist, I
whould rather like to define the few false positives!

 But this is not mutt's job, either way.

The original idea behind it is to synchronize mutt's scoring
mechanism with spamassassin. By the way, what would an exmaple
procmail rule to add a sender to the spamassassin blacklist look
like?

-Andre

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9RTzyWkhBtALlJZ0RAq22AKCBZbqL59wIiibwNDotFakphd/5YQCfRar2
s/BVhd6+HOiUAe7BF0CBLvw=
=pXVD
-END PGP SIGNATURE-

--MGYHOYXEY6WxJCY8--



Re: PGP getkeys

2002-07-29 Thread David T-G

Elimar --

...and then Elimar Riesebieter said...
% 
% On Sun, 28 Jul 2002 the mental interface of Michael Tatge told:
% 
%  Elimar Riesebieter ([EMAIL PROTECTED]) muttered:
%   I've configured my mutt for using gnupg. But when I define a PGP
%   getkeys command, the display gets corrupted?
...
%  Don't use getkeys. Set a keyserver in the gnupg options file and put
%  this line therem, too.
%  keyserver-options auto-key-retrieve
% Thank you,
% 
% but thereis no option keyserver-option and auto-key-retrieve but
% an option :
...
% and I guess that your version of auto-key-retrieve is the default!

Yep.  That's one of the gotcha changes between 1.0.6 and 1.0.7.


% 
% Ciao
% 
% Elimar
% 
% 
% -- 
%   Obviously the human brain works like a computer.
%   Since there are no stupid computers humans can't be stupid.
%   There are just a few running with Windows or even CE.
% --

ROFL  *very* good!


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg29937/pgp0.pgp
Description: PGP signature


Re: Executable sigfiles

2002-07-29 Thread David Champion

* On 2002.07.28, in [EMAIL PROTECTED],
*   Lee J. Moore [EMAIL PROTECTED] wrote:
 
 Aaah, I thought with Mutt it was strictly backticks and the pipe
 only came into it with dgc's patch.  I should've at least tried
 it out before writing.  Thanks! ;)

To clarify this: variables which refer to filenames [1] have supported
this pipe notation for a while -- i.e., those that are passed as
arguments to mutt_open_read().

My patch adds this syntax to variables which may contain
formatting tokens -- i.e, those that are passed as arguments to
mutt_FormatString().

It could perhaps support more contexts, if people have ideas... though I
don't think that it can easily be made universal. (It could technically
be done, of course, but the patch would be huge and very nearly
unmaintainable.)

-- 
 -D.Fresh fruit enriches everyone.  Takes the thirst
 Sun Project, APC/UCCO  out of everyday time.  A pure whiff of oxygen,
 University of Chicago  painting over a monochrome world in primary colors.
 [EMAIL PROTECTED]   We all know that.  It's why everyone loves fruit.



Re: spam filter

2002-07-29 Thread Rob 'Feztaa' Park


--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Andre Berger spake thus:
 By the way, what would an exmaple
 procmail rule to add a sender to the spamassassin blacklist look
 like?

Probably something along the lines of this (but I'm a little rusty;
the flags are probably wrong):

:0 Wh:
* some spam heuristic, like all caps subject lines
|grep ^From: |some sed to extract info from the header  killfile
:0 a:
spamfolder

--=20
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
 No manual is ever necessary.
May I politely interject here: BULLSHIT.  That's the biggest Apple lie of a=
ll!
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)

--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9RapcPTh2iSBKeccRAjxvAJ9QcUrn01wo6OmLHjRGLBTlAmc9ygCePIBA
+Z6GPH9E8xtn4bumHalWuhQ=
=Gvhc
-END PGP SIGNATURE-

--gBBFr7Ir9EOA20Yy--



Setting tab size in pager

2002-07-29 Thread Jim Osborn

How can I control the number of spaces a tab character uses when reading
mail in the pager? Mutt 1.3.99i.

TIA,

Jim




Re: Setting tab size in pager

2002-07-29 Thread Thomas Dickey

On Mon, Jul 29, 2002 at 01:22:53PM -0700, Jim Osborn wrote:
 How can I control the number of spaces a tab character uses when reading
 mail in the pager? Mutt 1.3.99i.

It appears to be hardcoded (to 8).  Most versions of curses assume 8.
(ncurses allows you to set it in the TABSTOP variable - which I noticed
recently is not in the manpage).

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: Trash

2002-07-29 Thread Will Yardley

Michael Montagne wrote:

 I don't use maildir.  Can I still use the Trash feature in version 1.4?
 Currently I'm using 1.3.28-bf1, but a recent apt-get upgraded me to 1.4
 and now my trash directive in .muttrc generates an error.

i'm assuming that you're using debian since you mention apt. i'm not
sure what the '-bf1' is for, but I'm assuming this is a patched version
of mutt - which probably had the cd.trash.folder patch from:
http://cedricduval.free.fr/mutt/

you can build your own mutt with patches you want (or download the
debian source package, apply the patch, and rebuild the package).

the stock debian package doesn't appear to have this patch applied.

-- 
Will Yardley
input: william   hq . newdream . net . 




Re: Trash

2002-07-29 Thread David T-G

Michael --

...and then Michael Montagne said...
% 
% I don't use maildir.  Can I still use the Trash feature in version 1.4?
% Currently I'm using 1.3.28-bf1, but a recent apt-get upgraded me to 1.4
% and now my trash directive in .muttrc generates an error.

What is that directive?

I suspect that the mutt you were using before had Cedric Duval's trash
folder patch applied and that the new one doesn't.


% 
% -- 
%   Michael Montagne  [[EMAIL PROTECTED]]   503.226.1575 
% --


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg29943/pgp0.pgp
Description: PGP signature


Trash

2002-07-29 Thread Michael Montagne

I don't use maildir.  Can I still use the Trash feature in version 1.4?
Currently I'm using 1.3.28-bf1, but a recent apt-get upgraded me to 1.4
and now my trash directive in .muttrc generates an error.

-- 
  Michael Montagne  [[EMAIL PROTECTED]]   503.226.1575 
--



Re: Trash

2002-07-29 Thread Michael Montagne

On 29/07/02, from the brain of David T-G tumbled:

 Michael --
 
 ...and then Michael Montagne said...
 % 
 % I don't use maildir.  Can I still use the Trash feature in version
 1.4?
 % Currently I'm using 1.3.28-bf1, but a recent apt-get upgraded me to
 1.4
 % and now my trash directive in .muttrc generates an error.
 
 What is that directive?
 
 I suspect that the mutt you were using before had Cedric Duval's trash
 folder patch applied and that the new one doesn't.
 
 



Yes, that's true.  I assumed it would be included in 1.4 by default.  Do
I need to switch to maildir to get the same functionality?


-- 
  Michael Montagne  [[EMAIL PROTECTED]]   503.226.1575 
--



Re: spam filter

2002-07-29 Thread Rob Reid

At  4:49 PM EDT on July 29 Rob 'Feztaa' Park sent off:
 Alas! Andre Berger spake thus:
  By the way, what would an exmaple
^^
It's not mutt, but since I don't have time to read the procmail list...

  procmail rule to add a sender to the spamassassin blacklist look
  like?
 
 Probably something along the lines of this (but I'm a little rusty;
 the flags are probably wrong):
 
 :0 Wh:
 * some spam heuristic, like all caps subject lines
*X-Spam-Flag: Yes

(unchecked) would use the result of all applied spamassassin tests.

 |grep ^From: |some sed to extract info from the header  killfile

I think I got this addysort tidbit from Gilbert linuxbrit somebody, to use
instead of sed.

#!/usr/bin/perl -wn 
# Picks out the actual address from the From: line 

unless (/\/) { print; } else { print /([^]+)/, \n; }

 :0 a:
 spamfolder
 

But what's the point?  I love spamassassin because it lets me *avoid*
blacklists, and their maintenance, and filter on the spamminess of the message
itself.  (unlike, say, twerp /. moderators... :-P ) I suppose you could check
the blacklist first, and skip spamassassin if it matches, to save some
computation, but my preSA experience with a personal blacklist is that there's
only a handful of spammers* that this is worthwhile for, because they don't
change their address.

*and I'm not sure they're even spammers (so I haven't razored** them) or just
mailing lists with overly open subscription policies.  But they smell spammy
enough that I'm too chicken to unsubscribe.

** An interesting alternative to blacklisting.

-- 
Minds that have nothing to confer find little to perceive. - Wordsworth
Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



msg29946/pgp0.pgp
Description: PGP signature


Re: Trash

2002-07-29 Thread Will Yardley

Michael Montagne wrote:

 I suspect that the mutt you were using before had Cedric Duval's
 trash folder patch applied and that the new one doesn't.
 
 Yes, that's true.  I assumed it would be included in 1.4 by default.
 Do I need to switch to maildir to get the same functionality?

the $maildir_trash directive does something a bit different, i'm pretty
sure - i use Maildir and i still use cedric's patch.

like i said, you need to apply the cd.trash.folder patch, or obtain a
patched binary (or revert to the old version if you still have it in
/var/cache/apt/archives)).

the stock debian 1.3.28 package *also* doesn't have this patch applied
AFAICT.

-- 
Will Yardley
input: william   hq . newdream . net . 




Re: Setting tab size in pager - set pager=vim -c ts=4 -

2002-07-29 Thread Sven Guckes

* Thomas E. Dickey [EMAIL PROTECTED] [2002-07-29 21:37]:
 On Mon, Jul 29, 2002 at 01:22:53PM -0700, Jim Osborn wrote:
  How can I control the number of spaces a tab character
  uses when reading mail in the pager? Mutt 1.3.99i.

 It appears to be hardcoded (to 8).
 Most versions of curses assume 8.

yes, the builtin pager has no options.
however, you can use other pagers
such as vim which would allow this.

   set pager=vim -c ts=4 -

 (ncurses allows you to set it in the TABSTOP variable -
 which I noticed recently is not in the manpage).

tsk tsk tsk... ;-)

Sven



Re: Setting tab size in pager - set pager=vim -c ts=4 -

2002-07-29 Thread Thomas Dickey

On Tue, Jul 30, 2002 at 01:53:57AM +0200, Sven Guckes wrote:
 * Thomas E. Dickey [EMAIL PROTECTED] [2002-07-29 21:37]:
  On Mon, Jul 29, 2002 at 01:22:53PM -0700, Jim Osborn wrote:
   How can I control the number of spaces a tab character
   uses when reading mail in the pager? Mutt 1.3.99i.
 
  It appears to be hardcoded (to 8).
  Most versions of curses assume 8.
 
 yes, the builtin pager has no options.
 however, you can use other pagers
 such as vim which would allow this.
 
set pager=vim -c ts=4 -

I added the ^T (toggle tabs) to tin sometime around 1994.  There are a lot
of newspostings that assume tabs are set to 4.  So it's probably useful in
some contexts.  People tend to not format their email quite as rigorously...

(But it's generally useful to be able to switch easily, since some files
are a mixture of tab styles).
 
  (ncurses allows you to set it in the TABSTOP variable -
  which I noticed recently is not in the manpage).
 
 tsk tsk tsk... ;-)

;-)

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: TABs in messages - use spaces and be done with it

2002-07-29 Thread Sven Guckes

* Thomas E. Dickey [EMAIL PROTECTED] [2002-07-30 00:07]:
 I added the ^T (toggle tabs) to tin sometime around 1994.
 There are a lot of newspostings that assume tabs are set to 4.
 So it's probably useful in some contexts.  People
 tend to not format their email quite as rigorously...
 But it's generally useful to be able to switch easily,
 since some files are a mixture of tab styles.

that's why i avoid tabs altogether:
you never know which tab stops to expect.

and those who do not use a monospaced font lose,
anyway.  they deserve tables in HTML.  so there.

Sven

-- 
Everybody uses the editor/mailer/program/OS that he deserves.