maildir commandline tools
am 07.06.2005 18:32:58 von Robbie
Hi,
I like to perform the following tasks via a cron job in my maildir
tree:
* marking new messages in a folder as read
* moving messages matching criterias like 'from:', 'to:' or 'older than
x days' from one maildir to another
* deleting messages in some folders matching criterieas
does anyone know about a toolkit available, that performs the above
tasks from commandline?
regards
robbie
Re: maildir commandline tools
am 07.06.2005 18:58:03 von Sam
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
--=_mimegpg-commodore.email-scan.com-10660-1118163487-0006
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Robbie writes:
> Hi,
>
> I like to perform the following tasks via a cron job in my maildir
> tree:
>
> * marking new messages in a folder as read
> * moving messages matching criterias like 'from:', 'to:' or 'older than
> x days' from one maildir to another
> * deleting messages in some folders matching criterieas
>
> does anyone know about a toolkit available, that performs the above
> tasks from commandline?
Yes. It's called "find", "grep" and "mv".
Unless what you need involves more than just a simple pattern match -- like
MIME decoding for example -- since the messages are individually stored in
garden-variety plain files, the same garden-variety tools that work for
other kinds of files will work here too.
--=_mimegpg-commodore.email-scan.com-10660-1118163487-0006
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBCpdIfx9p3GYHlUOIRAsicAJ9fG+Uotx9GApFnxC93h0NgpuCrkgCa AhvK
n//tVfi4fl609aII4Dl9doM=
=dGOt
-----END PGP SIGNATURE-----
--=_mimegpg-commodore.email-scan.com-10660-1118163487-0006--