Gnus development mailing list
 help / color / mirror / Atom feed
* new spam functionality added
@ 2002-07-31 19:24 Ted Zlatanov
  2002-07-31 19:54 ` Scott A Crosby
  0 siblings, 1 reply; 174+ messages in thread
From: Ted Zlatanov @ 2002-07-31 19:24 UTC (permalink / raw)


I just added spam-split: a function to be used in nnmail-split-fancy,
for instance.  It outputs the value of smap-split-group if a message
is sent from a blackhole relay, or if the sender is blacklisted.  The
whitelist is checked before the blacklist is consulted.

I also made some small fixes here and there to the source of spam.el,
nothing major.

query-dns from dns.el didn't work for me, and I couldn't figure out
the exact problem.  That caused problems with the blackhole check.
Who's in charge of dns.el?

I'm ramping up after 2 months of 10% use of my right hand, so I'll try
to keep up with the spam work but I'm still pretty slow.  Sorry for
the delay, and feel free to suggest improvements.  Look in the ding
archives for previous discussions on this topic, where Lars and I have
mentioned the plans for the spam.el library.

Thanks
Ted




^ permalink raw reply	[flat|nested] 174+ messages in thread
* hashcash
@ 2004-09-26 15:30 Adam Sjøgren
  2004-09-26 17:36 ` hashcash Simon Josefsson
  2004-09-27 16:10 ` hashcash Ted Zlatanov
  0 siblings, 2 replies; 174+ messages in thread
From: Adam Sjøgren @ 2004-09-26 15:30 UTC (permalink / raw)


I just turned hashcash-stuff on in Gnus (one of my friends started
using it).

In spam.el I noticed this:

 ;; TODO: does anyone use hashcash?  We should remove it if not.

so, my answer to that question is "Yes".


It looks like generating a hashcash works well - the SpamAssasin in
the other end recognizes the postage.


I'm not sure that the checking of a hashcash in contrib/hashcash.el
does - can anyone confirm/deny this?

From stepping through hashcash-verify-payment, I think the included
patch is needed.

(An example: the token:
"1:20:040926:asjo@koldfront.dk::e9a9d8c29f7c1806:ea6e" is split on
":", and the key should be my email-adresse (number 3, zero-indexed
counting, not number 2) - hashcash.el seems to not know about the
bit-field ('20' in the example)...)

Someone who know this better should probably say whether it's okay...
it would probably be better to fix hashcash-version if the version 1.2
that is referred to in hashcash.el is in use (hashcash.org doesn't
mention that format).


*** hashcash.el	21 May 2004 00:16:54 -0000	7.3
--- hashcash.el	26 Sep 2004 15:16:15 -0000
***************
*** 137,143 ****
    "Verify a hashcash payment"
    (let ((key (if (< (hashcash-version token) 1.2)
  		 (nth 1 (split-string token ":"))
! 		 (nth 2 (split-string token ":")))))
      (cond ((null resource)
  	   (let ((elt (assoc key hashcash-accept-resources)))
  	     (and elt (hashcash-check-payment token (car elt)
--- 137,143 ----
    "Verify a hashcash payment"
    (let ((key (if (< (hashcash-version token) 1.2)
  		 (nth 1 (split-string token ":"))
! 		 (nth 3 (split-string token ":")))))
      (cond ((null resource)
  	   (let ((elt (assoc key hashcash-accept-resources)))
  	     (and elt (hashcash-check-payment token (car elt)


-- 
 "This is either madness... or brilliance."                   Adam Sjøgren
 "It's remarkable how often those two traits coincide."  asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 174+ messages in thread

end of thread, other threads:[~2004-10-06 15:17 UTC | newest]

Thread overview: 174+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-31 19:24 new spam functionality added Ted Zlatanov
2002-07-31 19:54 ` Scott A Crosby
2002-07-31 20:07   ` Ted Zlatanov
2002-07-31 20:14   ` Simon Josefsson
2002-07-31 20:25     ` Josh Huber
2002-07-31 20:34       ` Scott A Crosby
2002-07-31 20:41         ` Josh Huber
2002-07-31 21:03           ` Stainless Steel Rat
2002-07-31 21:08             ` Stainless Steel Rat
2002-07-31 21:12             ` Josh Huber
2002-07-31 21:38               ` Paul Jarc
2002-07-31 23:19                 ` David Masterson
2002-07-31 23:08               ` Frank Schmitt
2002-08-01 17:03                 ` Josh Huber
2002-08-01 17:38                   ` Harry Putnam
2002-08-01 19:16                     ` Scott A Crosby
2002-08-01 22:43                       ` Harry Putnam
2002-08-05 17:16                       ` Per Abrahamsen
2002-08-01  1:25               ` Stainless Steel Rat
2002-08-01  1:33                 ` Scott A Crosby
2002-08-01  2:17                   ` Stainless Steel Rat
2002-08-01 19:20                     ` David Masterson
2002-08-01 20:00                       ` Stainless Steel Rat
2002-08-02 23:37                     ` Florian Weimer
2002-08-02 23:45                       ` Russ Allbery
2002-08-03 10:23                       ` Simon Josefsson
2002-08-03 13:47                         ` Stainless Steel Rat
2002-08-03 16:01                           ` hashcash (was Re: new spam functionality added) Simon Josefsson
2002-08-04  6:55                             ` Stainless Steel Rat
2002-08-01 19:17                 ` new spam functionality added David Masterson
2002-08-01 19:59                   ` Stainless Steel Rat
2002-07-31 21:07           ` Scott A Crosby
2002-07-31 21:35             ` Paul Jarc
2002-07-31 21:58               ` Josh Huber
2002-07-31 21:47             ` Josh Huber
2002-07-31 21:54               ` Paul Jarc
2002-07-31 22:05                 ` Josh Huber
2002-07-31 22:10                   ` Paul Jarc
2002-07-31 22:35               ` Scott A Crosby
2002-07-31 23:10                 ` Josh Huber
2002-08-01 16:56                   ` Paul Jarc
2002-07-31 23:30                 ` Alan Shutko
2002-08-01 19:25                   ` David Masterson
2002-08-01 19:33                     ` Josh Huber
2002-08-01 22:06                       ` Scott A Crosby
2002-08-01 22:13                         ` Paul Jarc
2002-08-01 22:18                           ` Jack Twilley
2002-08-01 22:23                             ` TMDA (was: new spam functionality added) Paul Jarc
2002-08-01 22:40                               ` Scott A Crosby
2002-08-01 23:29                                 ` Josh Huber
2002-08-02  2:11                                   ` Scott A Crosby
2002-08-01 19:34                     ` new spam functionality added Ted Zlatanov
2002-08-01 19:39                       ` Paul Jarc
2002-08-01 21:38                       ` Simon Josefsson
2002-08-23  1:50                         ` Ted Zlatanov
2002-08-23  2:42                           ` Katsumi Yamaoka
2002-08-23  3:10                             ` Ted Zlatanov
2002-12-30  0:10                           ` Lars Magne Ingebrigtsen
2002-12-30  2:31                             ` Ted Zlatanov
2002-12-30  2:52                               ` Lars Magne Ingebrigtsen
2002-12-30  3:13                                 ` Ted Zlatanov
2002-12-30  3:27                                   ` Lars Magne Ingebrigtsen
2002-12-30  3:44                                     ` Ted Zlatanov
2002-12-30  4:12                                       ` Lars Magne Ingebrigtsen
2002-12-30  4:48                                         ` Ted Zlatanov
2002-12-30  5:08                                           ` Lars Magne Ingebrigtsen
2002-12-30 19:03                                             ` spam.el now supports blackholes by default Ted Zlatanov
2002-12-30 21:41                                               ` Matt Armstrong
2002-12-30 22:42                                                 ` Ted Zlatanov
2002-12-30 23:38                                                   ` spam.el proposed group parameters Ted Zlatanov
2002-12-31  0:02                                                     ` Lars Magne Ingebrigtsen
2003-01-05 16:58                                                 ` spam.el now supports blackholes by default luis fernandes
2003-01-05 22:07                                                   ` Ted Zlatanov
2003-01-06  2:15                                                   ` Lars Magne Ingebrigtsen
2002-08-02  2:05             ` new spam functionality added Jason R. Mastaler
2002-08-02  3:43               ` Russ Allbery
2002-08-02  4:29                 ` Jason R. Mastaler
2002-08-02  4:34                   ` Russ Allbery
2002-08-02 16:17                     ` TMDA (was: new spam functionality added) Paul Jarc
2002-08-02 21:46                       ` Russ Allbery
2002-08-02 21:53                         ` Paul Jarc
2002-08-05 17:38                       ` Per Abrahamsen
2002-08-05 17:49                         ` Paul Jarc
2002-08-05 17:57                           ` Simon Josefsson
2002-08-05 20:18                             ` David Masterson
2002-08-05 20:46                               ` Stainless Steel Rat
2002-08-05 21:50                                 ` Russ Allbery
2002-08-06  0:43                                   ` Stainless Steel Rat
2002-08-06  3:04                                 ` David Masterson
2002-08-06 14:27                                   ` Stainless Steel Rat
2002-08-06 17:13                                     ` David Masterson
2002-08-06 17:26                                       ` David Masterson
2002-08-06 18:08                                         ` Stainless Steel Rat
2002-08-07 12:02                                           ` Lloyd Zusman
2002-12-30  0:22                                             ` Hashcash (was: TMDA) Lars Magne Ingebrigtsen
2003-01-02 18:33                                               ` Hashcash Simon Josefsson
2003-01-02 19:25                                                 ` Hashcash Lars Magne Ingebrigtsen
2003-01-02 21:01                                                   ` Hashcash Simon Josefsson
2003-01-02 21:05                                                     ` Hashcash Lars Magne Ingebrigtsen
2002-08-05 18:30                           ` TMDA (was: new spam functionality added) Stainless Steel Rat
2002-08-05 20:46                             ` David Masterson
2002-08-05 21:33                               ` Stainless Steel Rat
2002-08-06  3:28                                 ` David Masterson
2002-08-06 16:02                                   ` Paul Jarc
2002-08-08  9:21                                     ` Steinar Bang
2002-08-08 15:34                                       ` Paul Jarc
2002-08-08 19:57                                         ` Steinar Bang
2002-08-08 20:17                                           ` Paul Jarc
2002-08-08 21:30                                             ` Steinar Bang
2002-08-08 21:35                                               ` Paul Jarc
2002-08-08 22:27                                                 ` Steinar Bang
2002-08-08 17:26                                       ` Matt Armstrong
2002-08-08 20:23                                         ` Steinar Bang
2002-08-09 19:32                                           ` Matt Armstrong
2002-08-10  9:23                                             ` Steinar Bang
2002-08-10 17:21                                               ` Paul Jarc
2002-08-11  8:41                                                 ` Steinar Bang
2002-08-11 14:58                                                   ` Steinar Bang
2002-08-11  8:47                                             ` Steinar Bang
2002-08-12 16:04                                               ` Paul Jarc
2002-08-12 21:38                                                 ` Steinar Bang
2002-08-12 22:40                                                   ` Paul Jarc
2002-08-13  9:21                                                     ` Steinar Bang
2002-08-05 20:11                         ` David Masterson
2002-08-06  2:15                         ` Scott A Crosby
2002-08-06 10:10                           ` Per Abrahamsen
2002-08-06 13:20                             ` Scott A Crosby
2002-08-06 16:13                               ` Per Abrahamsen
2002-08-16 14:23             ` new spam functionality added clemens fischer
2002-08-05 17:07         ` Per Abrahamsen
2002-07-31 20:46       ` Jack Twilley
2002-07-31 21:01         ` Josh Huber
2002-07-31 21:03         ` Simon Josefsson
2002-07-31 21:51           ` David Masterson
2002-07-31 21:08       ` Simon Josefsson
2002-07-31 22:05         ` David Masterson
2002-07-31 23:32           ` Alan Shutko
2002-08-01 17:00             ` Paul Jarc
2002-08-05 18:07           ` Simon Josefsson
2002-08-05 18:23             ` TMDA (was: new spam functionality added) Paul Jarc
2002-08-05 23:41               ` Simon Josefsson
2002-08-06 10:27                 ` Per Abrahamsen
2002-08-06 15:57                 ` Paul Jarc
2002-07-31 20:35     ` new spam functionality added Ted Zlatanov
2004-09-26 15:30 hashcash Adam Sjøgren
2004-09-26 17:36 ` hashcash Simon Josefsson
2004-09-26 20:59   ` hashcash Adam Sjøgren
2004-09-27  2:03     ` hashcash Paul Foley
2004-09-27 14:32       ` hashcash Simon Josefsson
2004-09-27 14:46         ` hashcash Adam Sjøgren
2004-09-29 14:37         ` hashcash Dan Christensen
2004-09-29 14:40           ` hashcash Ted Zlatanov
2004-09-29 19:11             ` hashcash Dan Christensen
2004-09-29 21:08               ` hashcash Magnus Henoch
2004-09-30 14:30                 ` hashcash Ted Zlatanov
2004-09-30 20:42                   ` hashcash Magnus Henoch
2004-09-27 14:45       ` hashcash Adam Sjøgren
2004-09-27 15:21         ` hashcash Simon Josefsson
2004-09-27 15:38           ` hashcash Adam Sjøgren
2004-09-27 17:13             ` hashcash Jesper Harder
2004-09-27 19:02               ` hashcash Adam Sjøgren
2004-09-27 19:38                 ` hashcash Simon Josefsson
2004-09-27 19:54                   ` hashcash Adam Sjøgren
2004-09-27 19:56                   ` hashcash Jesper Harder
2004-09-27 20:50                     ` hashcash Simon Josefsson
2004-09-28 14:08         ` hashcash Ted Zlatanov
2004-09-28 14:49           ` hashcash Simon Josefsson
2004-09-28 17:41             ` hashcash Ted Zlatanov
2004-09-30 20:50               ` hashcash Simon Josefsson
2004-10-04 17:06                 ` hashcash Ted Zlatanov
2004-10-04 19:36                   ` hashcash Simon Josefsson
2004-10-05  2:34                     ` hashcash Dan Christensen
2004-10-06 15:17                     ` hashcash Ted Zlatanov
2004-09-27 16:10 ` hashcash Ted Zlatanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).