GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MSCAN(1) FreeBSD General Commands Manual MSCAN(1)

mscan
generate one-line message summaries

mscan [-I] [-n] [-v] [-f format] msgs ...

mscan prints a one line summary for each message. (See mmsg(7) for the message argument syntax.)

If no msgs are specified, mscan reads filenames from the standard input, or scans the mails in the current sequence if used interactively.

By default, mscan will spawn a pager on its output when used interactively. See ENVIRONMENT for details on how to control this behaviour.

The default format is

%c%u%r %-3n %10d %17f %t %2i%s

that is, for each message, mscan prints relevant flags, the sequence number (if applicable), the date, the originator, and the subject of the message (possibly indented). A default mscan format may be specified in the user's mblaze-profile(5).

The options are as follows:

Force ISO date output, even for ‘%d’.
Only print message numbers (or filenames, if the message is not in the current sequence).
Print how many messages were scanned to standard error.
format
Format according to the string format, inspired by printf(3).

The following formatting codes may be used (wd overrides the default width):

Newline.
Tab.
A plain ‘%’.
[wd]b
Human-readable size of the message (in kilobytes).
A ‘>’ on the current message, otherwise a blank.
[wd]d
Adaptive date of the message. When wd is greater or equal to 19, the timestamp is shown in dottime format (https://dotti.me/).
[wd]D
ISO date of the message (year, month, day). When wd is greater or equal to 16, the hour-minute timestamp will also be shown. When wd is greater or equal to 19, seconds will also be shown.
[wd]f
The ‘From:’ (or ‘To:’, if the message is from us).
[wd]F
The maildir folder the message resides in.
[wd]i
wd (default: 1) spaces per indentation depth in the thread tree.
[wd]I
The ‘Message-ID:’ of the message.
The raw maildir flags of the message.
[wd]n
The number of the message in the current sequence.
A ‘-’ on a replied-to message, or a ‘:’ on a forwarded message, or a blank.
[wd]R
The filename of the message.
[wd]s
The subject of the message (defaults to remaining width).
[wd]S
The subject of the message (defaults to remaining width), with leading ‘Re:’, ‘Fwd:’ etc. stripped.
A ‘>’ if you are in ‘To:’, a ‘+’ if you are in ‘Cc:’, a ‘:’ if you are in ‘Resent-To:’, or a blank.
An ‘*’ on a flagged message, a ‘.’ on an unseen message, an ‘x’ on a trashed message, or a blank.

The current message
An unseen message
A trashed message
A flagged message
A replied-to message

You are in ‘To:
You are in ‘Cc:
You are in ‘Resent-To:

Any non-empty value of the environment variable MBLAZE_PAGER is used instead of the standard pagination program, specified in PAGER. When empty, or set to ‘cat’, no pager is spawned.

The mscan utility exits 0 on success, and >0 if an error occurs.

mblaze-profile(5), mmsg(7)

Leah Neukirchen <leah@vuxu.org>

mscan is in the public domain.

To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.

http://creativecommons.org/publicdomain/zero/1.0/

January 2, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.