imaputil

Published 18:56, July 2, 2002 tagged project (rasmus, ), imap (rasmus, ), email (rasmus, ), perl (rasmus, ).

Some simple command-line utilities for mail management over imap.

Update 07:50, December 18, 2007: A new release: imaputil 0.6 is on the ftp server. ...

Since imap is a nice protocol to handle email messages independent of MUA, some functionality is wanted MUA-independently. imaputil is a few simple perl programs to run in a command line context.

These utilities depend on an external program to connect to the server and take care of the Kerberos and/or SSL stuff. I use imtest from the cyrus-imap package, but it should be easily replaceable.

Programs

imap-from

Lists unread messages in a specified set of folders. Each unread message is displayed on a line with the from address (optionally real-name only) and the subject.

Mime-escaped strings are decoded (at least for quoted printable).

imap-du

Calculates the size of folders, like the classic du Unix command. Whether it displays the size of just each folder or each folder with sub folders, is optional.

imap-msgchk

List your folders, with total and unread number of messages in each.

imap-quota

Report your usage and quota of mail storage, as reported by the IMAP QUOTA extension (RFC 2087).

imap-append

Appends one or more files (messages) to a folder on the imap server, creating the folder if necessary.

Availability

Imaputil is copyright by KTH, Rasmus Kaj and Max Zomborszki, but availiable by a BSD-style licence.

Source distributions can be downloaded from ftp://ftp.stacken.kth.se/pub/projects/imaputil/.

Page history

07:50, December 18, 2007

A new release: imaputil 0.6 is on the ftp server.

The imap-append command is addedd.

Manual page corrections.

17:50, October 16, 2006

A new release: imaputil 0.5 is on the ftp server.

The imap-quota command is rewritten to actually use the imap protocol with the IMAP QUOTA extension (RFC 2087).

All the commands now use $MAILHOST from the environment as the default imap server.

July 29, 2004

imaputil 0.4 is released. This release builds on imaputil 0.3, which is a merge by Mattias Amnefelt of my code and a similar project by Max Zomborszki.

Relase 0.4 tells the imap server which users mailbox to access, and adds a -u user flag to change it. The imap-du program now got a -x flag to make output suitable for xdu.

In release 0.3, program names was changed from e.g. imdu to more verbose names like imap-du, and imap-quota and imap-listfolders from Max's project was added.

July 9, 2002

imaputil 0.2 is now released. This release introduces the imdu program, some new options, and a man page for each program.

18:56, July 2, 2002

I have released imaputil 0.1. This is the initial release of imaputil.

Rasmus Kaj <kaj@kth.se>

Kommentarer

Skriv en kommentar?
Rasmus Kaj
Curriculum Vitæ
Tag cloud
External
krats.se
Stacken
Wikipedia
Gold pirate
På nyligen.se

Validering:Any browser, W3C HTML 4.01, W3C CSS.