Re: Questions about nmh 1.1

2002-07-09 Thread Christophe Prevotaux



On Mon, 08 Jul 2002 15:03:37 -0500
Earl Hood [EMAIL PROTECTED] wrote:

 On July 8, 2002 at 18:13, Christophe Prevotaux wrote:
 
   That's more of a protocol issue.  It's not easy to do that within the
   context of POP.  It _is_ possible just to get the headers within POP
    and I suppose inc could be changed to just retrieve the headers and
   make some sort of decision about whether to download the whole message
   or just delete it.  But _that_ work would be complex.  Feel free
   to send patches :-)
 
  There are tons of software that let you do this on the net
 
 Then why not use what is available?

Because I want to use nmh , like I have been doing for a long long time
and because most of these software are Windows based , and I am not going
to use Windows. 

--
--
===
Christophe Prevotaux  Email: [EMAIL PROTECTED]
HEXANET SARLURL: http://www.hexanet.fr/
Z.A.C Les CharmillesTel: +33 (0)3 26 79 30 05 
3 Allée Thierry Sabine   Direct: +33 (0)3 26 61 77 72 
BP202   Fax: +33 (0)3 26 79 30 06
51686 Reims Cedex 2
FRANCE   HEXANET Network Operation Center 
===




Re: Questions about nmh 1.1

2002-07-09 Thread Michael Richardson


  Something I need to put in is having inc delete messages after X many
have been downloaded. That way I can survive a net outages or ^C easier.

]   ON HUMILITY: to err is human. To moo, bovine.   |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[
] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic(Just another NetBSD/notebook using, kernel hacking, security guy);  [




Re: Questions about nmh 1.1

2002-07-09 Thread Ken Hornstein

  Something I need to put in is having inc delete messages after X many
have been downloaded. That way I can survive a net outages or ^C easier.

You mean via POP?  It deletes each message right after it retrieves it,
AFAIK.  I think that problem is that according to the POP3 spec, unless you
get a clean QUIT, you don't make any changes to the mailbox.

--Ken




Re: Questions about nmh 1.1

2002-07-09 Thread Michael Richardson

-BEGIN PGP SIGNED MESSAGE-


 Ken == Ken Hornstein [EMAIL PROTECTED] writes:
 Something I need to put in is having inc delete messages after X many
 have been downloaded. That way I can survive a net outages or ^C easier.

Ken You mean via POP?  It deletes each message right after it retrieves
Ken it, 
Ken AFAIK.  I think that problem is that according to the POP3 spec,
Ken unless you 
Ken get a clean QUIT, you don't make any changes to the mailbox. 

  Hmm. That's probably what I experience.
  I want to sync the mailbox more often than that.

  I guess the obvious hack is to disconnect and reconnect again, but 
I wonder if can come up with something else perhaps I'll hack the server,
and maybe it is just time for IMAP :-)

]   ON HUMILITY: to err is human. To moo, bovine.   |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[
] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic(Just another NetBSD/notebook using, kernel hacking, security guy);  [



-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: latin1
Comment: Finger me for keys

iQCVAwUBPSstW4qHRg3pndX9AQGdswP/c8ejx6tuhrZQ4nlN39pGzedRQXCUSK/7
QT9b2fzN0oC180c8eXZKiPhDjw4kYs6Kq0a5LGEa1ERctPnFEDylbGodfHR2X0vQ
Ttj6oKOnRRVRP1qf10yliSJF/VeHz7yVdCmuWqZ5aIL4FwMj9cyY/cP8X/5j/v18
e1S82L0EB4A=
=07Hh
-END PGP SIGNATURE-




Re: Questions about nmh 1.1

2002-07-09 Thread Ken Hornstein

Ken You mean via POP?  It deletes each message right after it retrieves
Ken it, 
Ken AFAIK.  I think that problem is that according to the POP3 spec,
Ken unless you 
Ken get a clean QUIT, you don't make any changes to the mailbox. 

  Hmm. That's probably what I experience.
  I want to sync the mailbox more often than that.

  I guess the obvious hack is to disconnect and reconnect again, but 
I wonder if can come up with something else perhaps I'll hack the server,
and maybe it is just time for IMAP :-)

FWIW, there's an option to qpopper that will treat an abort like a clean
QUIT, for just these situations.  I'm not sure about other pop servers.

--Ken




Re: Questions about nmh 1.1

2002-07-09 Thread Michael Richardson

-BEGIN PGP SIGNED MESSAGE-


 Ken == Ken Hornstein [EMAIL PROTECTED] writes:
Ken You mean via POP?  It deletes each message right after it retrieves
Ken it, 
Ken AFAIK.  I think that problem is that according to the POP3 spec,
Ken unless you 
Ken get a clean QUIT, you don't make any changes to the mailbox. 
 
 Hmm. That's probably what I experience.
 I want to sync the mailbox more often than that.
 
 I guess the obvious hack is to disconnect and reconnect again, but 
 I wonder if can come up with something else perhaps I'll hack the
 server, 
 and maybe it is just time for IMAP :-)
 
Ken FWIW, there's an option to qpopper that will treat an abort like a
Ken clean 

  Well, having inc catch SIG_INT and shut down cleanly might be enough
initially. I'd like to have a SYNC or some such extension. I'm running
a hacked spopd under SSH...

]   ON HUMILITY: to err is human. To moo, bovine.   |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON|net architect[
] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic(Just another NetBSD/notebook using, kernel hacking, security guy);  [

  
  
-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: latin1
Comment: Finger me for keys

iQCVAwUBPSs+Q4qHRg3pndX9AQHnvwP8Dbj478ndGrIzmxOyO2anjtr6yGZPTUIM
0bBirj1txkwMWKI5I6v9UoeRlzgTqYzr0afi31Y+J3Os7QpZi2gStUucxKIVBQDv
lZTAMukgz6ENYnXwKlGe5h4dPd0FQHaFGS7OW9YQTurEHI0nF22DA6F/94R+Vqtx
NPxRVQ/3OTY=
=Hr1I
-END PGP SIGNATURE-




Re: Questions about nmh 1.1

2002-07-08 Thread Ken Hornstein

I was wondering if you could list the features and new features (or
reintegrated ones)
of the 1.1 RC please

In short:

- A bunch of new shit
- A bunch of bug fixes

But seriously ... that's a good question.  I haven't had time to come up
with a set of release notes.  The one new feature I know about (because
I worked on it) is SASL support for POP and SMTP, so inc and comp can
use SASL to authenticate to POP and SMTP servers supporting SASL.

--Ken




Re: Questions about nmh 1.1

2002-07-08 Thread Christophe Prevotaux

I had hoped to see APOP in this list among other things
and the ability to download only headers of messages in order
to be able to delete only the message that we don't want (AntiSPAM
like , well it is more like anti download huges unwanted files )

On Mon, 08 Jul 2002 11:21:25 -0400
Ken Hornstein [EMAIL PROTECTED] wrote:

 I was wondering if you could list the features and new features (or
 reintegrated ones)
 of the 1.1 RC please
 
 In short:
 
 - A bunch of new shit
 - A bunch of bug fixes
 
 But seriously ... that's a good question.  I haven't had time to come up
 with a set of release notes.  The one new feature I know about (because
 I worked on it) is SASL support for POP and SMTP, so inc and comp can
 use SASL to authenticate to POP and SMTP servers supporting SASL.
 
 --Ken
 
 


--
--
===
Christophe Prevotaux  Email: [EMAIL PROTECTED]
HEXANET SARLURL: http://www.hexanet.fr/
Z.A.C Les CharmillesTel: +33 (0)3 26 79 30 05 
3 Allée Thierry Sabine   Direct: +33 (0)3 26 61 77 72 
BP202   Fax: +33 (0)3 26 79 30 06
51686 Reims Cedex 2
FRANCE   HEXANET Network Operation Center 
===




Re: Questions about nmh 1.1

2002-07-08 Thread Ken Hornstein

I had hoped to see APOP in this list among other things

Well ... shoot.  I was under the impression that APOP is on it's way out
to be replaced by the CRAM-MD5 mechanism that SASL uses.  But I just
checked, and it seems like you can enable APOP already with --enable-apop.
So that's a non-issue, I think.

and the ability to download only headers of messages in order
to be able to delete only the message that we don't want (AntiSPAM
like , well it is more like anti download huges unwanted files )

That's more of a protocol issue.  It's not easy to do that within the
context of POP.  It _is_ possible just to get the headers within POP
 and I suppose inc could be changed to just retrieve the headers and
make some sort of decision about whether to download the whole message
or just delete it.  But _that_ work would be complex.  Feel free
to send patches :-)

--Ken




Re: Questions about nmh 1.1

2002-07-08 Thread Earl Hood

On July 8, 2002 at 18:13, Christophe Prevotaux wrote:

  That's more of a protocol issue.  It's not easy to do that within the
  context of POP.  It _is_ possible just to get the headers within POP
   and I suppose inc could be changed to just retrieve the headers and
  make some sort of decision about whether to download the whole message
  or just delete it.  But _that_ work would be complex.  Feel free
  to send patches :-)

 There are tons of software that let you do this on the net

Then why not use what is available?

 I don't believe
 it is so hard to do , however this would certainly require to create a new
 command in nmh and the addition of a few new options in the existing commands

If it is implemented with new commands, one might as well use one
the freely available tools on the net.

If integrated into inc, rmm, et.al., it requires some work to make
it seamless to the user.  For example, when doing an inc (with some
new download only headers when using POP), nmh will have to mark
messages that only has header data, properly via some marker at the
beginning of a message file.

If show is used, nmh would have to download the message from the
POP server on-the-fly.  This could be a performance issue, requiring
some kind of status to the user.

With rmm, you have a similiar kind of situtation.  Some kind of
queuing could be done for rmm so POP commands are only done during
the next message retrieval from the server or when some explicit
flush operation is invoked.

The on-the-fly show performance problem could be mitigated by
some command, or option to existing command, to fetch all previously
header only downloaded messages.

--ewh




Re: Questions about nmh 1.1

2002-07-08 Thread Earl Hood

On July 8, 2002 at 13:31, Ken Hornstein wrote:

 I believe the Spam filters that use POP3 simply download the whole message
 then make a decision, so that's not what you want.

I believe I saw a project (Mailfilter?) listed on freshmeat that
would work just with the headers.  There are quite a few POP mail
filter programs listed at freshmeat, so I recommend that the original
poster check it out.

One could probably roll their own with the Perl and the Net::POP
module -- which I have considered doing, but the need has not become
deperate enough.

--ewh




Re: Questions about nmh 1.1

2002-07-08 Thread Sean Kamath


[In a message on Mon, 08 Jul 2002 15:03:37 CDT,
the pithy ruminations of Earl Hood were:]
On July 8, 2002 at 18:13, Christophe Prevotaux wrote:

  That's more of a protocol issue.  It's not easy to do that within the
  context of POP.  It _is_ possible just to get the headers within POP
   and I suppose inc could be changed to just retrieve the headers and
  make some sort of decision about whether to download the whole message
  or just delete it.  But _that_ work would be complex.  Feel free
  to send patches :-)
...
If integrated into inc, rmm, et.al., it requires some work to make
it seamless to the user.  For example, when doing an inc (with some
new download only headers when using POP), nmh will have to mark
messages that only has header data, properly via some marker at the
beginning of a message file.

If show is used, nmh would have to download the message from the
POP server on-the-fly.  This could be a performance issue, requiring
some kind of status to the user.

With rmm, you have a similiar kind of situtation.  Some kind of
queuing could be done for rmm so POP commands are only done during
the next message retrieval from the server or when some explicit
flush operation is invoked.

I have to admit, I kinda like the idea of integrating pop a little
more seamlessly into nhm.  scan, inc, show and rmm could all be made
to work reasonably well with POP/IMAP.  OK, yeah, there's the huge
startup times compared to what we're used to, but there are time I
want to be able to peek into a remote mailbox and twiddle it without
downloading all of it (yes, I can use other apps, but I don't want
to).

As for patches. . . Well, someday.

Sean




Re: Questions about nmh 1.1

2002-07-08 Thread Earl Hood

On July 8, 2002 at 11:21, Ken Hornstein wrote:

 But seriously ... that's a good question.  I haven't had time to come up
 with a set of release notes.  The one new feature I know about (because
 I worked on it) is SASL support for POP and SMTP, so inc and comp can
 use SASL to authenticate to POP and SMTP servers supporting SASL.

A suggestion: I try to advocate in the development projects I work on
to have each developer update the ChangeLog, NEWS, History, whatever
file whenever the developer commits changes to the repository that
should be noted to end-users of the project.  This way, there isn't
the mad scramble of trying to remember all the changes that have been
done before doing a release.

--ewh




Re: Questions about nmh 1.1

2002-07-08 Thread Jon Steinhart

 On July 8, 2002 at 11:05, Jon Steinhart wrote:
 
  And I agree, downloading the entire message is the way to go.  Most spam is
  very small compared to even slow V90 speeds which is what I'm stuck with out
  in the country here, so it's no big deal.
 
 Well, I would have to disagree about spam being small and no big deal
 over V90 modem.  Spam messages have been increasing in size since many
 are HTML messages and some with attachments or images.  Also, if you
 are flooded with alot of messages, they add up.
 
 Of course, the annoyance factor is relative for any given person, but
 when I was using dialup, I definitely considered writing my own
 POP filtering tool with interactive capabilities to avoid downloading
 crap (and sometimes the messages may not be spam but from friends and/or
 relatives sending huge-assed attachments that I did not care about).
 
 However, once I got cable modem, my need for such a tool dropped
 considerably.
 
 
 A side note: I considering spam filtering, and other filtering needs,
 mainly delivery issue.  Hence, I think it is best solved done before
 nmh even sees the mail (the boundary is somewhat lose when dealing
 with automatic filing of messages to different folders).  This keeps
 the filtering job independent of the MUA and prevent developers
 re-implementing the wheel for every MUA.
 
  I have a set of changes that I'll submit at an appropriate time.
  These changes allow .mh_profile entries that name programs that are
  executed whenever a piece of mail is incorporated, removed, or refiled.
 
 A nice feature.
 
 --ewh

This has the potential to go way off topic for this mailing list, but...

I agree that a fair number of bytes are consumed by spam.  It isn't a
huge problem for me because even though V90 is the best that I can do
out here in the sticks, it's a full time connection so I'm not waiting
on mail delivery.

I find it hard to see filtering as a delivery issue, but that's probably
because I read my mail on my machine which uses sendmail to deliver mail;
I'm not dialing in somewhere to pick up mail.  If I need to read mail on
the road, I ssh into my machine and read it there.

The big issue on filtering is that everybody wants to filter different
things.  Strange as it seems, some people even like to collect spam for
study.  One of the big difficult issues on filtering is that, while an
occasional false positive can be tolerated, false negatives are completely
unacceptable.  A system that keeps all of your mail and only shows you
interesting messages doesn't lose anything, which helps that problem.  But
it requires sucking down all messages.

Another example, I remember Gosling telling me that especially since he's
become embroiled in the Sun/MS suits that a mirror copy of all of his
incoming and outgoing mail is kept for legal reasons.  This wouldn't work
if incoming mail was rejected based on headers.

Jon