Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Communications > Email

    newmail-md 1.0

    Download button

    Downloads: 451  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Robert Lillack | More programs
    BSD License / FREE
    November 22nd, 2006, 16:00 GMT
    ROOT / Communications / Email

     Read user reviews (0)  Refer to a friend  Subscribe

    newmail-md description

    newmail is a command line utility to check for new/unread mail in a recursive Maildir folder structure.

    newmail is a command line utility to check for new/unread mail in a recursive Maildir folder structure.

    Examples

    These are some “usage scenarios” of newmail. For the complete documentation refer to the man page or see below.

    To get a quick overview about which folders contain unread mail, it's sufficient to call newmail without any commandline arguments:

    $ newmail
    2 [ INBOX ]
    11 /lists/bugtraq
    2 /lists/netbsd-current
    4 /lists/pkgsrc-cvs

    Ah, right. But there's a total of... how many mails?

    $ newmail -at
    56170

    And what are the top ten folders, excluding spam & trash, please?

    $ newmail -a | grep -vi 'spam|trash' | sort -nr | head
    11260 /lists/info
    4287 /lists/bugtraq
    1557 [ INBOX ]
    1062 /lists/pkgsrc-cvs
    955 /bank
    719 /burningsoda/svn
    569 /lists/bsd
    388 /studium
    312 /lists/communities
    306 /lists/info_kbx

    The following three lines in your .muttrc make mutt's browser switch between showing all folders and only folders containing unread mail by pressing keys ‘a’ and ‘n’ respectively:

    mailboxes `newmail`
    macro browser a ":unmailboxes *< enter >:mailboxes `newmail -am`< enter >< check-new >"
    "show all mailboxes"
    macro browser n ":mailboxes *< enter >:mailboxes `newmail -m`< enter >< check-new >"
    "show only mailboxes containing new mail"

    OPTIONS

    -a, --all

    Count the total number of mails for every folder in DIRECTORY.

    -m, --mutt

    Output folder names in a mutt friendly way. Using this option the output of newmail can be used by the mailboxes command in mutt (see below).

    This options has no effect, if --total is specified.

    -n, --no-unseen

    Do not treat unseen mails as new. This may be used to speed up newmail, especially on slow file systems. Only use this option if you are sure that no other process watches the structure and moves mails out of the new/ to the cur/ directory of the mail folders. IMAP servers typically do this, once they told clients about those mails.

    This options has no effect, if --all is specified.

    -t, --total

    Sum up the total number of mails (according to the other options, of course) and display nothing but this number.

    Product's homepage

      


    TAGS:

    check mail | recursive Maildir folder | Maildir structure | newmail-md | check | mail

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM