Duplicates of attachments.

1998-07-16 16:56:59

This could be a newbie question..

In a test-setup, I have MHonArc (2.2.0) scan a sendmail mailbox,
from which the sendmail message....

  "From MAILER-DAEMON Thu Jul 16 18:07:33 1998
  Date: Thu, 16 Jul 1998 18:07:33 +0200 (MDT)
  From: Mail System Internal Data 
  X-IMAP: 885920405 5251
  Status: RO

  This text is part of the internal format of your mail folder, and is not
  a real message.  It is created automatically by the mail system software.
  If deleted, important folder data will be lost, and it will be re-created
  with the data reset to initial values."

                   ...has been removed.

Every time I run it, my messages get rewritten and
attachments are copied with a new ID. (So it grows rather fast.)
( 2 binhex files, 1 JPG file)

I know the manual says....

 " Why do some messages get re-added
 each time MHonArc processes a mail folder?

 This condition may occur when you have MHonArc
 examine the same folder periodically to
 add any new message. If there are messages
 in the folder without message-ids, then those
 messages will be re-added each time MHonArc runs.

 Why? Well, MHonArc uses message-ids for
 determining if a message has been archived,
 or not. Therefore, if a message-id is
 missing for a message, then
 MHonArc believes it is new.

 In general, mail has message-ids.
 They get assigned by MTAs. However,
 if messages are generated by a CGI program,
 or other non-mail specific software, then the
 program in question should create a message-id.
 Else, you will need to move already-processed messages
 into a different area so MHonArc does not read them again."

But all messages have unique ID's.... I know I can prevent the duplication of
attachments by disabling some mime-stuff, but has anyone got an idea what
I'm doing wrong ?
I don't want to see every message being rewritten  / attachments copied
every session. :(

Also in the manual.....

 "Do I have to respecify the resource file each time I update an archive?

 No. The archive database stores all resource settings.
 The only time you need to respecify the resource file is if
 changes are required in the layout of the archive.:

 NOTE When utilizing the OTHERINDEXES resource,
 the resource filenames listed in the main resource file
 are stored in the database, but the
 resources for each additional index are NOT.
 Hence, the resource files defining the additional
 indexes must be accesible. "

... so this means that only tell MHonArc -rcfile blahblah the first time I
run it ?



<Prev in Thread] Current Thread [Next in Thread>