Re: Archiving and Expiring Mail
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: debian-user-digest-digest@lists.debian.org
{
: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.
Reply to: