🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
5 messages
5 total messages Started by Fuzzy Fox Thu, 16 Feb 1995 02:57
How safe is nn with mail folders?
#7122
Author: Fuzzy Fox
Date: Thu, 16 Feb 1995 02:57
21 lines
1601 bytes
I am beginning to use nn more and more for reading mail folders that I
use for mailing lists.  I like the way it works for that.

However, I've been wondering about how nn works with *active* folders. 
That is, on a very active mailing list, mail could be inserted into the
folder while I'm reading it.  However, nn doesn't appear to try to
sense this condition and update the folder, as most mailers would.

Furthermore, nn lets me "cancel" messages and remove them from the
folder, which is something I want to do often in order to keep the
folder from growing too large.  When I do this, does nn do anything to
try and lock the mail file, so that mail delivery programs won't try to
insert mail?

Thanks for any answers you can give.

I'm using nn 6.4.18.

-- 
----- Fuzzy Fox ----- fox@netcom.com ----- http://mikey.convex.com:8080/ -----
"I'm always trying to expand my...uh...you know, list of...words that I know."
Re: How safe is nn with mail folders?
#7123
Author: Milt Epstein
Date: Thu, 16 Feb 1995 15:20
30 lines
2114 bytes
fox@netcom.com (Fuzzy Fox) writes:

>I am beginning to use nn more and more for reading mail folders that I
>use for mailing lists.  I like the way it works for that.
>
>However, I've been wondering about how nn works with *active* folders. 
>That is, on a very active mailing list, mail could be inserted into the
>folder while I'm reading it.  However, nn doesn't appear to try to
>sense this condition and update the folder, as most mailers would.
>
>Furthermore, nn lets me "cancel" messages and remove them from the
>folder, which is something I want to do often in order to keep the
>folder from growing too large.  When I do this, does nn do anything to
>try and lock the mail file, so that mail delivery programs won't try to
>insert mail?
>
>Thanks for any answers you can give.
>
>I'm using nn 6.4.18.

I don't know for sure, but I have seen a few other discussions about
using nn for mail -- here and in a local group at my university -- and
the feeling seemed to be that nn did *not* do everything that was
necessary to avoid problems with incoming mail.

-- 
Milt Epstein
Visiting Research Programmer    National Animal Poison Control Center (NAPCC)
epstein@napcc-hp.cvm.uiuc.edu            College of Veterinary Medicine (CVM)
(or mepstein@uiuc.edu)      University of Illinois at Urbana-Champaign (UIUC)
Re: How safe is nn with mail folders?
#7124
Author: J. Porter Clark
Date: Thu, 16 Feb 1995 16:46
18 lines
1491 bytes
fox@netcom.com (Fuzzy Fox) writes:

>Furthermore, nn lets me "cancel" messages and remove them from the
>folder, which is something I want to do often in order to keep the
>folder from growing too large.  When I do this, does nn do anything to
>try and lock the mail file, so that mail delivery programs won't try to
>insert mail?

As far as I have been able to determine, nn does *not* lock *any* mail
files.  True for all versions of nn I have run into, including 6.4.18
and 6.5.0.b3.

There are still a lot of UNIX mail user agents that only lock system
mailboxes.  Not good.

-- 
J. Porter Clark    porter.clark@msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch
Re: How safe is nn with mail folders?
#7158
Author: Nancy McGough
Date: Tue, 21 Feb 1995 23:25
40 lines
2700 bytes
fox@netcom.com (Fuzzy Fox) writes:
>I am beginning to use nn more and more for reading mail folders that I
>use for mailing lists.  I like the way it works for that.
>
>However, I've been wondering about how nn works with *active* folders. 
>That is, on a very active mailing list, mail could be inserted into the
>folder while I'm reading it.  However, nn doesn't appear to try to
>sense this condition and update the folder, as most mailers would.
>
>Furthermore, nn lets me "cancel" messages and remove them from the
>folder, which is something I want to do often in order to keep the
>folder from growing too large.  When I do this, does nn do anything to
>try and lock the mail file, so that mail delivery programs won't try to
>insert mail?

I also would love to use nn to read my mailing list folders that are
receiving mail but I don't want to risk trashing the folder.  What I'm
thinking about doing is something like this:

1. Use procmail (or another filter program) to put incoming msgs into
   a folder named 'IN.list'.
2. Whenever I want to read that mailing list, use a program like movemail,
   which does file locking, to append the messages in 'IN.list' to a folder 
   named 'list'.
3. Use nn to read 'list'.  Since 'list' doesn't receive any mail there
   shouldn't be any problem using nn to read it.

I have a couple questions:
* What are some good ftp sites for movemail?  I want to include pointers
  to it in my Filtering Mail FAQ.
* What other programs are there that move mail folders and use lock files?

Thanks much,
Nancy

-- 
 /\_/\  Nancy McGough              /\_/\  Vote for the humanities.misc  @..@
( o.o ) Infinite Ink              ( o.o ) newsgroup! See my Web pages  (----)
 > ~ <  http://www.jazzie.com/ii/  > ^ <  for details.                ( >__< )
Re: How safe is nn with mail folders?
#7270
Author: Bob MacDowell
Date: Sun, 05 Mar 1995 18:36
64 lines
3933 bytes
Nancy McGough <nancym@ii.com> writes:

>fox@netcom.com (Fuzzy Fox) writes:
>>I am beginning to use nn more and more for reading mail folders that I
>>use for mailing lists.  I like the way it works for that.

Me too. I use it exclusively! 

>>However, I've been wondering about how nn works with *active* folders. 
>>That is, on a very active mailing list, mail could be inserted into the
>>folder while I'm reading it.  However, nn doesn't appear to try to
>>sense this condition and update the folder, as most mailers would.

Correct! nn doesn't know how to cope with dynamically changing folders.
It simply won't show the new mail in the  folder.  This is no big deal,
except... 

>>Furthermore, nn lets me "cancel" messages and remove them from the
>>folder, which is something I want to do often in order to keep the
>>folder from growing too large.  When I do this, does nn do anything to
>>try and lock the mail file, so that mail delivery programs won't try to
>>insert mail?

Absolutely not.  It will overwrite the mail file with the articles it knows
about, and it will destroy the new articles that have come in since you 
started reading.   Further, if mail came in *while* it was writing, it could
(I suppose) bollux the entire file! 

>I also would love to use nn to read my mailing list folders that are
>receiving mail but I don't want to risk trashing the folder.  What I'm
>thinking about doing is something like this:

>1. Use procmail (or another filter program) to put incoming msgs into
>   a folder named 'IN.list'.
>2. Whenever I want to read that mailing list, use a program like movemail,
>   which does file locking, to append the messages in 'IN.list' to a folder 
>   named 'list'.

Why bother?  I simply go 'mv IN.list list'  I think it'll move the pointers
quickly enough that it's not an issue. I'm (blissfully?) unaware of dropping
a mail on the floor, yet! 

>3. Use nn to read 'list'.  Since 'list' doesn't receive any mail there
>   shouldn't be any problem using nn to read it.

Exactly.  And when you're done reading 'list', delete the file.  Save the
articles you want to save, using either the "S" command (which preserves
the full headers including all the Received: lines), or the "O" command
(which preserves From:, Subject:, Date: [and whatever else you set in some
variable somewhere], and in doing so, compresses the file nearly 2:1.) 

This is a useful trick if you have a mountain of mail, like an 800k mail
list file. Rename it, open it with nn, select all (= ^ <enter>) then "O"
it to a new file.  Then delete the old file and compress the new one.  
Brings that 800k mail file down to 150-200k.  

There's a caveat to this:  it will write short headers that contain only
"From:" "Subject:" "Date:", which nn can open, but mail readers cannot.
They need an additional line on the front of each header called "From ".
(note a space, not a colon).  You can get 'nn' to write files like that,
that mailers could open, but it's tricky.  

-Bob
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads