• Re: Email archival

    From Adam Sampson@21:1/5 to Samuel Christie on Fri Oct 7 20:42:19 2022
    Samuel Christie <shcv@sdf.org> writes:

    E.g., scan a maildir for emails older than a certain date, and move
    them to a different maildir?

    Since the messages in a Maildir are just individual files, you can do it
    with "find -mtime" -- just move any files older than a certain date to
    the equivalent paths in the archive Maildir. Here's a wrapper script I
    wrote to do it for some of my Maildirs many years ago:

    http://offog.org/git/misccode/archive-maildir

    (These days I'd probably see if I could use -execdir...)

    --
    Adam Sampson <ats@offog.org> <http://offog.org/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Christie@21:1/5 to All on Fri Oct 7 15:25:18 2022
    Can anyone recommend a program for archiving email?

    E.g., scan a maildir for emails older than a certain date, and move them
    to a different maildir?

    Seems like it should be a common thing, but my searches have been
    unsuccessful. I was hoping there would be a standard utility included in package managers, but if not I guess I can write one myself...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vladimir =?utf-8?Q?Vu=C4=8Di=C4=87e@21:1/5 to All on Sun Oct 9 10:45:09 2022
    ... I am Locutus of Borg, Samuel Christie, resistance is futile ...
    Can anyone recommend a program for archiving email?

    E.g., scan a maildir for emails older than a certain date, and move them
    to a different maildir?

    Seems like it should be a common thing, but my searches have been unsuccessful. I was hoping there would be a standard utility included in package managers, but if not I guess I can write one myself...

    You should try Mailstore and see if it suits your needs.

    https://www.mailstore.com/en/products/mailstore-home/

    --
    ... Vladimir Vučićević aka. Bachi
    ~~~ http://www.bachi.in.rs/ <<<<>>>> vladimir@vucicevic.in.rs
    It's nice to be important, but it's more important to be nice...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Javier@21:1/5 to Samuel Christie on Wed Oct 12 01:57:08 2022
    Samuel Christie <shcv@sdf.org> wrote:
    Can anyone recommend a program for archiving email?

    E.g., scan a maildir for emails older than a certain date, and move them
    to a different maildir?

    Seems like it should be a common thing, but my searches have been unsuccessful. I was hoping there would be a standard utility included in package managers, but if not I guess I can write one myself...

    You have fdm. AFAIK the most powerful tool for dealing with mail.
    In addition to getting mail from an POP/IMAP server, it can also get
    mails from a maildir. It should also be capable of dealing with a
    news spool.

    http://ports.su/mail/fdm

    fdm-1.9p0 – fetch, filter and deliver mail
    Description

    fdm is a simple, lightweight replacement for mail fetch, filter and
    delivery programs such as fetchmail and procmail. It can fetch using
    POP3 or IMAP (with SSL) or from stdin, and deliver to a pipe, file,
    maildir, mbox or SMTP server, based on regexps.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)