unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Advice on adding whitelisting to Mail mode
@ 2004-12-18 19:33 J Krugman
  2004-12-18 22:36 ` Adam Cohen
  0 siblings, 1 reply; 2+ messages in thread
From: J Krugman @ 2004-12-18 19:33 UTC (permalink / raw)






I recently read a booklet-length tutorial on Emacs Lisp, and now
I have a little project by way of exercise.  The idea is to add
whitelisting support to Mail mode.  "Whitelisting" is the strategy
of selecting the email messages one wants (and trashing or at least
quarantining the rest), instead of trying to stop the ones one
doesn't want.  The "whitelist" describes those messages one wants.
I want to add functions to Mail mode (and maybe RMAIL as well) to
simplify the process of maintaining a whitelist.  The whitelist
will be in the form of procmail recipes contained in ~/.procmailrc
(yes, OS == Unix).

I'm a bit uncertain on how to start this.  I've done a lot of
programming before, but I've never extended an Emacs mode, plus
this project entails parsing, modifying, and writing out a text
file, which I've never even seen done in Emacs Lisp.

Can someone point me to source code I can study to learn how to
structure my code, and how to do the basic tasks of
parsing/modifying/re-writing a text file?

BTW, if someone has already written the code to add whitelisting
support to Mail mode, I'd like to know about that too!

Thanks!

jill

-- 
To  s&e^n]d  me  m~a}i]l  r%e*m?o\v[e  bit from my a|d)d:r{e:s]s.

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

* Re: Advice on adding whitelisting to Mail mode
  2004-12-18 19:33 Advice on adding whitelisting to Mail mode J Krugman
@ 2004-12-18 22:36 ` Adam Cohen
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Cohen @ 2004-12-18 22:36 UTC (permalink / raw)


if you're looking for whitelisting or challenge-response at the server
level, check out Tagged Message Delivery Agent at http://www.tmda.net,
it's very good (although I'm sure I'll get flamed for mentioning it,
since many people hate challenge-response anti-spam mechanisms). 
Although, since I've been using this, my spam has dropped from
hundreds a day ot 0, so I can't argue with that.

Adam


On Sat, 18 Dec 2004 19:33:31 +0000 (UTC), J Krugman
<jkrugman345@yahbitoo.com> wrote:
> 
> 
> I recently read a booklet-length tutorial on Emacs Lisp, and now
> I have a little project by way of exercise.  The idea is to add
> whitelisting support to Mail mode.  "Whitelisting" is the strategy
> of selecting the email messages one wants (and trashing or at least
> quarantining the rest), instead of trying to stop the ones one
> doesn't want.  The "whitelist" describes those messages one wants.
> I want to add functions to Mail mode (and maybe RMAIL as well) to
> simplify the process of maintaining a whitelist.  The whitelist
> will be in the form of procmail recipes contained in ~/.procmailrc
> (yes, OS == Unix).
> 
> I'm a bit uncertain on how to start this.  I've done a lot of
> programming before, but I've never extended an Emacs mode, plus
> this project entails parsing, modifying, and writing out a text
> file, which I've never even seen done in Emacs Lisp.
> 
> Can someone point me to source code I can study to learn how to
> structure my code, and how to do the basic tasks of
> parsing/modifying/re-writing a text file?
> 
> BTW, if someone has already written the code to add whitelisting
> support to Mail mode, I'd like to know about that too!
> 
> Thanks!
> 
> jill
> 
> --
> To  s&e^n]d  me  m~a}i]l  r%e*m?o\v[e  bit from my a|d)d:r{e:s]s.
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>

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

end of thread, other threads:[~2004-12-18 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-18 19:33 Advice on adding whitelisting to Mail mode J Krugman
2004-12-18 22:36 ` Adam Cohen

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 read-only IMAP folder(s) and NNTP newsgroup(s).