EnglishFrenchSpanish

OnWorks favicon

mailcheck - Online in the Cloud

Run mailcheck in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mailcheck that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mailcheck - Check multiple mailboxes and/or Maildirs for new mail

SYNOPSIS


mailcheck [-lbcsh] [-f rcfile]

DESCRIPTION


mailcheck is a simple, configurable tool that allows multiple mailboxes to be checked for
the existence of mail. For local mail, it supports both the traditional mbox format and
the newer Maildir format. Mail can also be checked for on remote servers using either the
POP3 or IMAP protocol.

Typically, one would invoke mailcheck in /etc/profile or a user-specific login script. E-
mail junkies may also find it useful to invoke mailcheck occasionally to check for new
mail in alternate mailboxes.

The author uses mailcheck to keep track of messages arriving in mailboxes corresponding to
several mailing lists he subscribes to.

OPTIONS


-l Runs mailcheck in login mode. If a ~/.hushlogin file exists, mailcheck will exit
silently. This option is intended to be used on systems that invoke mailcheck from
a global login script such as /etc/profile.

-b Brief mode. Produces less verbose output. If mailbox or Maildir is inside user's
home direcory, only relative path is printed to output.

-c Use more advanced counting method. While counting mails, mailcheck looks inside
mboxes and Maildirs and count new and unread messages separately. If mbox/maildir
does not contain any new or unread mail, it's excluded from report. Produced
output contains more valuable information, but this method is more time-consuming.

-s Print "no mail" summary. If no new mail message is found, print at least "no mail
message" at the end. Only makes sense in combination with -c.

-f Specify alternative rc file location. If provided, default locations (see FILES)
are not checked.

-h Print short usage information.

CONFIGURATION


Configuring mailcheck is simple. Upon startup, mailcheck looks for a file called
.mailcheckrc in the user's home directory. If that file does not exist, the default
configuration file /etc/mailcheckrc is used instead.

Lines beginning with a hash sign (#) are treated as comments and will not be processed.
Lines beginning with pop3: or imap: are parsed like URLs and used to connect to network
mail servers. All other lines are treated as pathnames to mailbox files or Maildir
directories.

Environment variables in the format $(NAME) will be expanded inline. For example:

/var/spool/mail/$(USER)
Will check the user's mailbox in /var/spool/mail.

$(HOME)/Mailbox
Will check the default mailbox used by qmail installations.

When connecting to POP3 or IMAP servers, the account password is not stored in the
mailcheckrc file. Instead, the .netrc file in the user's home directory is used. This
file, originally intended for use with ftp(1) and later used by fetchmail(1), should be
readable only by the user owning it. It stores server/user/password combinations in the
form:

machine servername login username password password

Use mailcheck online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

Ad