All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Goirand <thomas@goirand.fr>
To: mlmmj@mlmmj.org
Subject: Re: Support for X-No-Archive planned?
Date: Thu, 05 Jul 2007 20:26:17 +0000	[thread overview]
Message-ID: <468D53E9.1020302@goirand.fr> (raw)
In-Reply-To: <20070705144515.GC21671@ptaff.ca>

Jakob Hirsch wrote:
> Quoting Patrice Levesque:
> 
>> I know I can delete the file in spool/ml/archive/, but is there anything
>> else that can be done?  Is something like “X-No-Archive: yes” supported
>> or planned?

How do you send this kind of header when sending a mail to the list
using thunderbird/icedove for example?

> Is this necessary inside the mlmmj itself? You could just grep over
> recent files with find and grep.

Humf... Before there's something better around, then! :)

> This would be no real-time solution, of
> course, but more like Google's "remove after X days" feature (which I'd
> say is a good thing).

I don't really like that solution. I run mhonarc using the MLMMJ folder,
and unless I force it to reprocess all the full archive each time, the
archived message WOULD be processed in my web archive.

> Anyway, a simple approach to do it synchronously could be to use the
> "noarchive" control flag, i.e. setting it to "2" would honour the
> X-No-Archive header. But it would be probably better (more generic and
> flexible) to create a new flag "archivewith", which would define an
> external program to do the archiving (or not, depending on whatever
> somebody wants, and also _where_ one wants, like an RDBMS or such, e.g.).

It would be VERY nice to be able to launch a web archive program to
update the web archive in real time whenever a message arrives (mhonarc
in my case), so it doesn't have to wait for the next cron job to be
executed (and even removing the need of any cron job).

Thomas


  parent reply	other threads:[~2007-07-05 20:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05 14:45 Support for X-No-Archive planned? Patrice Levesque
2007-07-05 15:52 ` Mads Martin Joergensen
2007-07-05 17:47 ` Jakob Hirsch
2007-07-05 20:26 ` Thomas Goirand [this message]
2007-07-05 21:39 ` Mads Martin Joergensen
2007-07-06  2:17 ` Jakob Hirsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=468D53E9.1020302@goirand.fr \
    --to=thomas@goirand.fr \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.