CHKIMAP(1)

NAME
chkimap - list the number of mails in your IMAP folders

SYNOPSIS
chkimap [-chin] [-# padding] [-p port] [username] hostname

DESCRIPTION
This manual page documents the chkimap utility.

This program lists the number of read and unread emails in the folders in your IMAP directory. You need to give the IMAP server name on the commandline. The program assumes that your username on the server is the same as local. If this is not correct, you should specify another name on the commandline.

Empty mailfolders and folder names that don't start with a digit or lower case character will be ignored. The incoming folder is always shown last. This program does not change your mailfolders: inspecting them will not cause messages to be marked as 'old'.

OPTIONS
-c  Also display folders when the name starts with a capital (the default is to ignore these folders).
-h  Hide folders which contain only old mail (any folder with mail marked as new will be displayed). Only parse the standard incoming mail folder.
-n  Only show new folders, i.e. folders that actually received new mail since the last time you opened them.
-p port
    Use the given portname instead of the default (usually 143).
-# number
    Pad the last output field (total messages) to number spaces. The default is 4.

ARGUMENTS
A single optional argument is accepted: this should be the name of the server you want to connect to. Alternatively it can be an email-style ‘user@server’ notation, when you want to use another username.

BUGS
Subdirectories will be ignored as mailfolders.

This program does not make any distinction between new (recent) and unread messages. This is a feature, not a bug.

chkimap has less options and is less flexible than chk4mail(1).

In the unlikely event that the program doesn't behave the way it is supposed to, you can always contact the author. Feel free to ask me for new features or enhancements. Just send an email to Johan van Selst <johans@stack.nl>

SEE ALSO
chk4mail(1)