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: config.h.in

2002-07-09 Thread Michael Richardson


 Ken == Ken Hornstein [EMAIL PROTECTED] writes:
 Well, I did:
 make distclean
 autoconf
 ./configure 
 make

Ken Errr ... you didn't run autoheader, as far as I can tell.

  Hmm.. Last time, it got run by make when I edited configure.in.

  I run it manually and all is well.

]   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 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-




locking rcvstore?

2002-07-09 Thread Chris Garrigues

I'm just a lurker here, but I'd like to say that I'm glad to see some work 
being done to nmh once again.

I lurk because my C skills are poor, but that doesn't mean I can't put in a 
request for those who have better C skills.

I always call rcvstore with this wrapper:

#!/bin/bash

PATH=/usr/lib/nmh:$PATH
export PATH

lockfile $HOME/Mail/$1/.lock
echo $
rcvstore +$
rm -f $HOME/Mail/$1/.lock


and it would be nice if it weren't needed.  Is anyone interested in adding file 
locking to rcvstore.  The lockfile executable that I call comes with procmail and 
I suppose it wouldn't be unreasonable to do the locking in a way that was 
compatible with procmail.  procmail is under the GPL artistic license, so I guess 
you can't just borrow the code due to license pollution, but how hard could 
lockfile be to implement?

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
716 Congress, Suite 200
Austin, TX  78701   +1 512 374 0500

  World War III:  The Wrong-Doers Vs. the Evil-Doers.






msg00957/pgp0.pgp
Description: PGP signature