Re: Archiving and Expiring Mail

2000-05-31 Thread Nate Duehr
Jay, 

Have any idea how to do this if you want to keep anything that's been
read but not anything that hasn't been read?  (i.e. you have saved some
messages older than 30 days...)

Interesting trick using "push" like that.  I like it.

On Mon, Apr 24, 2000 at 11:07:33AM -0400, Jay Barbee wrote:
> 
> I just got done looking up this one myself, as I did not want to keep any 
> debian-user mail older than 30 days old.  Add this to your .muttrc
> 
> folder-hook debian-user "push 'D~d >30d\n'"
> 
> where "debian-user" is the name of the mail file where your mail is stored.
> 
> I will not take credit for this, I found it on a deja post:
> http://x41.deja.com/[ST_rn=ps]/getdoc.xp?AN=529909910&search=thread&CONTEXT=956587245.1650458628&HIT_CONTEXT=956585501.1607860225&hitnum=4
> 
> Good luck,
> --Jay Barbee
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
Nate Duehr <[EMAIL PROTECTED]>

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.


pgpxY9ZixwnGj.pgp
Description: PGP signature


Re: Archiving and Expiring Mail

2000-04-25 Thread Richard Klinda
Hoi Erik!

  Erik> I use Procmail and Mutt for processing +200 mail messages
  Erik> every day (large share from this list ;-)) I would like to
  Erik> have a tool which is able to archive and/or expire mail
  Erik> messages on a per mailbox bases.

I think that procmail can do that job. Here's an example:

## debian user (digest)
:0
* X-Loop: [EMAIL PROTECTED]
{
:0 c
|formail +1 -ds cat >>Archives/deb-user

:0
|formail +1 -ds cat >>spool/deb-user.spool
}

(So the messages are stored in two files: deb-user and
deb-user.spool.)

Ps: have you noticed the crippled X-Loop header line? :-(

-- 
ignotus
  Sex and mathematics have one thing in common.
  You can do each while thinking about the other.


Re: Archiving and Expiring Mail

2000-04-24 Thread Jay Barbee
On Mon, Apr 24, 2000 at 04:54:00PM +0200, Erik van der Meulen wrote:
> Hi. I use Procmail and Mutt for processing +200 mail messages every day
> (large share from this list ;-))
> I would like to have a tool which is able to archive and/or expire mail
> messages on a per mailbox bases.
> Did not find anything matching in the Mail-packages list on
> www.debian.org.
> Any suggestions?

I just got done looking up this one myself, as I did not want to keep any 
debian-user mail older than 30 days old.  Add this to your .muttrc

folder-hook debian-user "push 'D~d >30d\n'"

where "debian-user" is the name of the mail file where your mail is stored.

I will not take credit for this, I found it on a deja post:
http://x41.deja.com/[ST_rn=ps]/getdoc.xp?AN=529909910&search=thread&CONTEXT=956587245.1650458628&HIT_CONTEXT=956585501.1607860225&hitnum=4

Good luck,
--Jay Barbee


Archiving and Expiring Mail

2000-04-24 Thread Erik van der Meulen
Hi. I use Procmail and Mutt for processing +200 mail messages every day
(large share from this list ;-))
I would like to have a tool which is able to archive and/or expire mail
messages on a per mailbox bases.
Did not find anything matching in the Mail-packages list on
www.debian.org.
Any suggestions?

--
  Erik van der Meulen <[EMAIL PROTECTED]>