Deleting Mail frm Pop Account

2000-01-26 Thread anthony

Is it possible to automatically delete the mail MHonArc copies from the pop
account during a normal daily archive?

-
Anthony Abby
Genealogy Exchange  Surname Registry - http://www.genexchange.com
GenExchange FAQ - http://www.genexchange.com/faq.cfm
About the GenExchange - http://www.genexchange.com/volunteers.cfm
How can I help? - http://www.genexchange.com/volunteering.cfm



Re: Deleting Mail frm Pop Account

2000-01-26 Thread Denis McKeon

In 024501bf6792$61459720$[EMAIL PROTECTED],
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is it possible to automatically delete the mail MHonArc copies from the pop
account during a normal daily archive?

In 029d01bf6825$0423d8c0$[EMAIL PROTECTED],
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
...
Is it possible to delete mail in a pop account during the archiving process?

You should be able to tell whatever POP client fetches mail from the POP
server to tell the POP server to delete retrieved messages after the
client has received them.  You may want to keep an unarchived copy of
the messages on the client host, perhaps in mbox format, in case you
ever want to rebuild an archive from scratch.

For more abut POP, see:

http://www.faqs.org/rfcs/rfc1939.html

for more specific to your POP client, knowing what 
client you have and similar details might be helpful.


-- 
Denis McKeon



Re: Deleting Mail frm Pop Account

2000-01-26 Thread Gunnar Hjalmarsson

[EMAIL PROTECTED] wrote:
 
 Is it possible to automatically delete the mail MHonArc copies
 from the pop account during a normal daily archive?

One way is to use the Net::POP3 Perl module. I run MHonArc from a
script, where the actual MhonArc execution is preceded by a Net::POP3
routine. Basically it
  1) Copies messages from a pop account, and adds them to a mbox
 file on the server
  2) Deletes the messages from the pop account
  3) Adds new messages to the MHonArc archive from the mbox file

Please feel free to study my script at
ftp://ftp.gunnar.cc/pub/gunnar/mhonarc/mhaadmin-demo.pl
Step 1) and 2) above are done by the subroutine "pop3retrieve" in the
end of the script.

/ Gunnar



Re: Deleting Mail frm Pop Account

2000-01-26 Thread john

 In 024501bf6792$61459720$[EMAIL PROTECTED],
 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Is it possible to automatically delete the mail MHonArc copies from the
pop
 account during a normal daily archive?

 In 029d01bf6825$0423d8c0$[EMAIL PROTECTED],
 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 ...
 Is it possible to delete mail in a pop account during the archiving
process?

 You should be able to tell whatever POP client fetches mail from the POP
 server to tell the POP server to delete retrieved messages after the
 client has received them.  You may want to keep an unarchived copy of
 the messages on the client host, perhaps in mbox format, in case you
 ever want to rebuild an archive from scratch.

 For more abut POP, see:

 http://www.faqs.org/rfcs/rfc1939.html

 for more specific to your POP client, knowing what
 client you have and similar details might be helpful.


I guess I should have been more specific. Sorry!  What I am asking is this.
Is it possible for MHonArc to delete pop mail after it is done archiving it?
I am going to run MHonArc as a scheduled event daily on an NT box and I
would like all the mail that is archived to be deleted from the pop server
at that time.  I don't want to save the mail in a mailbox and I'm not
building an index or thread page.  I'm going to use Verity to perform search
engine details for the archive.

John



Re: Deleting Mail frm Pop Account

2000-01-26 Thread Nathaniel Irons

On 1/25/2000 at 7:14 PM, [EMAIL PROTECTED] wrote:

 Is it possible to automatically delete the mail MHonArc copies from
 the pop account during a normal daily archive?

MHonArc does not ordinarily interact with POP servers at all; it
operates on stored mail files.  Perhaps you could provide more detail
about how exactly your situation works.

  -nat




Re: Deleting Mail frm Pop Account

2000-01-26 Thread john


 MHonArc does not ordinarily interact with POP servers at all; it
 operates on stored mail files.  Perhaps you could provide more detail
 about how exactly your situation works.

   -nat

Okay, poor choice of words on my part.  I'm talking about deleting mail in
the mailbox file MHonArc draws from.  I'm going to try Gunnar's suggestion
this weekend and see how that goes for me.

John